Commit Graph

1370 Commits

Author SHA1 Message Date
neauoire 5582816943 Removed unecessary error 2021-10-24 09:09:58 -07:00
Andrew Alderwick 5807e22fef Fixed corruption in ff00-ffff, improved checks for | and $, thanks karolbelina! 2021-10-23 23:15:07 +01:00
neauoire 6799b5f78e Warn for out of bounds 2021-10-23 08:48:11 -07:00
neauoire 540fd70b9b Removed unused include 2021-10-22 16:41:23 -07:00
neauoire 991a18212a Colorize strings in Subl 2021-10-21 12:27:44 -07:00
neauoire b792169909 Improved UX for calc.tal 2021-10-20 11:52:51 -07: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
neauoire 04e4edf05f Fixed an issue with the ref counter in uxnasm 2021-10-17 19:10:29 -07:00
neauoire 99e38d560c Fixed JNZ comment for uxn.c 2021-10-17 13:16:58 -07:00
neauoire df6f123c54 Added primes.tal exercise 2021-10-16 20:16:54 -07:00
Andrew Alderwick f1c4f74e0a Fixed git introspection 2021-10-15 00:20:57 +01:00
Andrew Alderwick 90a17cd6a1 Only upload binaries when main branch is built. 2021-10-15 00:17:43 +01:00
Andrew Alderwick 01bdd950aa Added --no-run switch for automated builds
This saves having to run sed to edit the build script, and stops
piano.rom (and piano.log) from being bundled with the binary outputs.
2021-10-14 23:38:38 +01:00
Andrew Alderwick 317d71654e Pass output file argument to asma too 2021-10-13 22:58:27 +01:00
Andrew Alderwick e82acc875b Feed extra command line arguments to Console/vector
Each argument is followed by a newline character.
2021-10-13 22:58:27 +01:00
neauoire 557584819f Added fizzbuzz example 2021-10-12 18:38:45 -07:00
neauoire d6ef361383 Corrected raw short length 2021-10-11 13:35:01 -07:00
neauoire 037ab10b6a Fixed issue with raw bytes in macros 2021-10-11 13:27:20 -07:00
Andrew Alderwick e70041017d Added experimental macOS automatic build 2021-10-10 21:35:34 +01:00
Andrew Alderwick 55590cec7b Fixed "while loop has empty body" warning with macOS compiler 2021-10-10 20:09:20 +01:00
Andrew Alderwick 9aed17b977 Bundled SDL2 on macOS builds 2021-10-10 20:07:40 +01:00
Andrew Alderwick b53d5c428b Re-added setting border pixels to black 2021-10-09 00:03:34 +01:00
neauoire d6519a46d2 Assemble piano with asma 2021-10-07 18:28:06 -07:00
Andrew Alderwick abf95337a1 Added test for infinite recursion of includes. 2021-10-07 23:31:40 +01:00
Andrew Alderwick 9606f74b19 Corrected bad macro name. 2021-10-07 23:27:19 +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 dacad9df55 Tiny fix. 2021-10-07 22:39:53 +01:00
Andrew Alderwick 80102ff212 Simplified asma-test.sh. 2021-10-07 22:38:25 +01:00
Andrew Alderwick 2006b2a6ad Print uxnasm message to stderr 2021-10-07 22:38:25 +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 532c1959dc Made asma line numbers start at zero, not one 2021-10-07 18:17:11 +01:00
neauoire d363aad7b5 Improved size report for uxnasm 2021-10-06 09:21:27 -07:00
Andrew Alderwick 10a723f5d6 Fixed line numbers in asma error reports 2021-10-06 06:58:30 +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 755ccf5665 Implemented includes in asma 2021-10-06 06:14:18 +01:00
Andrew Alderwick d73d25f2c1 Run asma tests in repo root directory 2021-10-06 06:12:27 +01:00
Andrew Alderwick e8f58aa579 Use file-read-chunks library in asma. 2021-10-04 22:28:13 +01:00
Andrew Alderwick 4525d47699 Fixed year usage in prng.tal, thanks makeworld! 2021-10-03 01:05:54 +01:00