Commit Graph

1285 Commits

Author SHA1 Message Date
Sigrid Solveig Haflínudóttir 28aaf40e6d
ppu_write: put new byte value only if it's different 2021-11-02 18:18:30 +01:00
Sigrid Solveig Haflínudóttir ca5675419e
ppu_write: remove duplicate condition we already checked for 2021-11-02 18:15:11 +01:00
Andrew Alderwick 4b5183cf0d Remove unfinished repl.tal 2021-10-31 21:25:50 +00:00
Andrew Alderwick 1bf7fb11b2 Update uxn-fast.c with new LIT opcode meanings 2021-10-30 08:55:23 +01: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
Devine Lu Linvega 6f872feff5 Use Keep modes for byte and short literals 2021-10-29 16:02:07 -07:00
Devine Lu Linvega 8132a09e21 Test for valid destination in uxnasm 2021-10-29 09:29:23 -07:00
Andrew Alderwick 035e0d8a3a Fixed error message when zero-page label is not found 2021-10-28 23:12:49 +01:00
neauoire a635fea52f Use rom name for window title 2021-10-28 09:27:39 -07:00
Claude Heiland-Allen 33e77e261c uxnasm errors-out if too many macros 2021-10-26 09:55:57 -07:00
Claude Heiland-Allen a373939544 uxnasm errors-out if too many labels 2021-10-26 09:54:29 -07:00
Sigrid Solveig Haflínudóttir a3ee7ab982
emu: close audio device if used 2021-10-24 22:14:27 +02:00
Sigrid Solveig Haflínudóttir 2afded6e05
check SDL_UpdateTexture return code as well 2021-10-24 21:48:56 +02:00
Sigrid Solveig Haflínudóttir 297046ec14
check SDL_GetCurrentDisplayMode return code, keep zoom at 1 if it failed 2021-10-24 21:31:25 +02:00
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