Commit Graph

53 Commits

Author SHA1 Message Date
Andrew Alderwick dd21ae5de8 (asma) Remove deprecated rawchr support. 2022-10-19 12:24:44 +01:00
Devine Lu Linvega 85ae1f6ebe Fixed CI 2022-08-15 09:28:02 -07:00
Devine Lu Linvega f348d24606 Removing rawchr run 2022-08-14 12:06:23 -07:00
Andrew Alderwick cabccd61fc (asma) only ignore [ or ] if it is a whole token 2022-06-09 21:42:30 +01:00
Andrew Alderwick 0b134ff6b8 (asma) Minor optimisations 2022-06-08 00:53:14 +01:00
Andrew Alderwick 02696fa437 (asma) Optimise advancing asma/addr 2022-06-08 00:38:55 +01:00
Andrew Alderwick 9ae2c0b788 (asma) Add tail call optimisation, bringing it up-to-date with uxnasm 2022-06-08 00:10:24 +01:00
Andrew Alderwick d5253086b5 Move stack opcodes. 2022-04-18 09:45:33 +01:00
Andrew Alderwick b1bbfb3976 (asma) Fix sublabel references when no labels are defined.
An example of code that failed with asma is in brainfuck.tal.
2022-02-18 09:27:58 +00:00
neauoire 51c422c9cb (math32.tal) Removed globals 2022-02-07 19:35:07 -08:00
neauoire 1a34fcefa9 Added libraries for math32 2022-02-07 15:52:22 -08:00
Andrew Alderwick deace3b79a Remove old debugging support. 2022-01-23 19:35:18 +00:00
Andrew Alderwick 41de322a75 Add support for interrupting Uxn during execution. 2022-01-12 11:33:49 +00:00
Andrew Alderwick 9024963de1 Add basic in-Uxn debugger and usage example. 2022-01-05 17:27:50 +00:00
Andrew Alderwick 23a514b3ba Support nested comments in asma too. 2021-12-29 11:59:37 +00:00
Andrew Alderwick 86674da93e Bring etc/asma.moon up to date. 2021-12-29 11:59:37 +00:00
Andrew Alderwick 113220b10d Deprecate file-read-chunks by incorporating it inside asma. 2021-12-01 22:01:36 +00:00
Andrew Alderwick 6ba2af5c62 Avoid combining literals across | or $ pads. 2021-11-28 18:07:22 +00:00
Andrew Alderwick 9415c4e04a (asma) Correct relative offsets 2021-11-28 18:07:22 +00:00
Andrew Alderwick 1f5086a260 (asma) Combine byte literals 2021-11-28 01:30:26 +00:00
Andrew Alderwick cb30ac7c11 Remove flag constants in asma. 2021-11-22 07:05:07 +00:00
Andrew Alderwick c3ac41c41d Change "include" word into ~ rune for includes. 2021-11-17 22:06:00 +00:00
Andrew Alderwick 7f0119599e Check ROM is valid before loading. 2021-11-08 18:31:33 +00:00
Andrew Alderwick 7d714d5224 Fixed load-rom with new File device. 2021-11-07 21:51:44 +00:00
Andrew Alderwick 054361cb70 Replace load/save with read/write 2021-11-07 19:10:38 +00:00
Andrew Alderwick dc3170db98 Implement File/append flag. 2021-11-05 22:48:04 +00:00
Andrew Alderwick c970e2c5ef File device: drop offset shorts, add stat and delete. 2021-11-05 21:32:45 +00:00
Andrew Alderwick fe22b6288e asma fix: disallow 1 and 3 chars in hex literals and raw hex 2021-11-03 19:38:18 +00:00
Andrew Alderwick d5f3bc376e Raise errors on hex literals with zero length 2021-10-30 07:48:41 +01:00
Andrew Alderwick 80b4e4f88d Use Keep mode for all LIT opcodes 2021-10-30 00:28:33 +01:00
Andrew Alderwick 035e0d8a3a Fixed error message when zero-page label is not found 2021-10-28 23:12:49 +01:00
Andrew Alderwick a09c4fb841 Added error message when label is redefined 2021-10-20 17:36:08 +01:00
Andrew Alderwick 511aa3c5a9 Improved error message for unrecognised token 2021-10-20 17:35:41 +01:00
Andrew Alderwick 0476a5c167 Fixed routine comment. 2021-10-20 17:35:06 +01:00
Andrew Alderwick 4f12079cf4 Stopped incorrectly recognising hex strings longer than four chars 2021-10-20 17:32:32 +01:00
Andrew Alderwick 26b90ac69c Added detection of recursive include errors. 2021-10-07 23:26:39 +01:00
Andrew Alderwick 3967d27173 Added file name to asma error printout. 2021-10-07 22:58:50 +01:00
Andrew Alderwick 5aca7e5070 Removed unused variable. 2021-10-07 22:44:36 +01:00
Andrew Alderwick b78d9e1446 Reimplemented software/asma with reading input filename from Console. 2021-10-07 22:00:54 +01:00
Andrew Alderwick d34ec6584c Added option to write ROM to stdout (when dest-filename is null). 2021-10-07 21:59:49 +01:00
Andrew Alderwick 8a74c3455d Keep track of total lines assembled. 2021-10-07 21:58:54 +01:00
Andrew Alderwick ac2d30cdb9 Redirected asma messages to stderr. 2021-10-07 21:57:54 +01:00
Andrew Alderwick 0f9b03e0cb Skipped reporting of device label values. 2021-10-07 21:18:25 +01:00
Andrew Alderwick 4d6fc06778 Splitted asma into library and piano demo. 2021-10-07 21:11:47 +01:00
Andrew Alderwick 0c6b607f91 Extracted string library from asma 2021-10-06 06:54:03 +01:00
Andrew Alderwick be2e01e9b3 Extracted heap library from asma 2021-10-06 06:42:19 +01:00
Andrew Alderwick 7058122d25 Extracted binary tree library from asma 2021-10-06 06:41:23 +01:00
Andrew Alderwick 51c6e90754 Erase 00f0-00f3 with first zero-page-loader loop 2021-09-24 00:06:03 +01:00
Andrew Alderwick 5f636b96c2 Saved a few bytes in load-rom by using STZ, thanks Delta! 2021-09-23 13:41:57 +01:00
Andrew Alderwick 0e96afa8a9 Minor bugfix 2021-09-23 13:41:57 +01:00