Commit Graph

2132 Commits

Author SHA1 Message Date
Andrew Alderwick cbc61578b7 Reuse old artifacts if no solar build computers are reachable.
Non-Linux builds are run on computers powered by solar panels in one
geographical location, so they are not available 100% of the time. When
they are not available, the build script will reuse the previous build
artifacts for Windows and macOS, as well as create an empty file at
https://rabbits.srht.site/uxn/needs-solar-build so that this situation
can be detected. When both build computers are available, the
needs-solar-build file will not be present in the Sourcehut upload, so
that URL will return a 404 status.
2022-09-20 13:17:54 +01:00
Devine Lu Linvega 92027cf278 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2022-09-15 11:13:34 -07:00
Devine Lu Linvega 24285d1d5d Fixed issue with monochromatic 2022-09-15 11:12:57 -07:00
Devine Lu Linvega ac6e4fed10 Toggle monochromatic mode 2022-09-15 09:11:20 -07:00
neauoire 36136ccb0e Merge branch 'main' of git.sr.ht:~rabbits/uxn 2022-09-04 13:08:49 -07:00
neauoire ab108643cf (brainfuck.tal) Converted assci runes 2022-09-04 13:08:38 -07:00
Devine Lu Linvega c8707a8cca (logic.tal) Renamed to bitwise.tal 2022-08-17 00:12:39 -07:00
Devine Lu Linvega 85ae1f6ebe Fixed CI 2022-08-15 09:28:02 -07:00
Devine Lu Linvega 79e085088a Optimized a few examples 2022-08-14 12:17:44 -07:00
Devine Lu Linvega f348d24606 Removing rawchr run 2022-08-14 12:06:23 -07:00
Devine Lu Linvega ef30fb8f8e Removed JSR JMP2r tail-call optimisations for now 2022-08-06 11:05:16 -07:00
Devine Lu Linvega 4d7f35df6f Housekeeping in pictures 2022-08-02 02:20:05 -07:00
Devine Lu Linvega 806b8c0fa9 (hexdump.tal)Removed trailing short 2022-07-31 11:35:45 -07:00
Devine Lu Linvega c6ed7170e7 (thue.tal) Added a Thue esolang interpreter 2022-07-23 12:59:47 -07:00
Devine Lu Linvega b94d0204c2 Housekeeping on some of the example files 2022-07-22 11:57:45 -07:00
Devine Lu Linvega 861c8494a8 (mouse.tal) Something fun! 2022-07-16 11:54:16 -07:00
Devine Lu Linvega 982f0180e4 Housekeeping on a few examples 2022-07-14 14:57:56 -07:00
Devine Lu Linvega c148f4da81 (ergo.bit)Fixed wrong size 2022-07-09 10:31:57 -07:00
Devine Lu Linvega e5639f6378 Renamed a few pictures 2022-07-09 10:24:17 -07:00
Devine Lu Linvega 5a3ca07439 (pc98.chr)Added size to graphic 2022-07-09 09:51:13 -07:00
Dave VanEe a0f5231adc Add tests for most k (keep) variations of UXN instructions, based on the
existing instruction tests.
2022-07-09 11:36:37 +01:00
Devine Lu Linvega abd0be0fba A bit of housekeeping on the example files 2022-07-06 19:25:54 -07:00
Devine Lu Linvega a2053d9654 (tests.tal) Put into projects/ 2022-07-06 14:04:52 -07:00
Devine Lu Linvega aee9411d0b (tests.tal) Added tests 2022-07-06 14:03:14 -07:00
Devine Lu Linvega bba64f4da7 (label.tal) Housekeeping 2022-07-05 11:05:00 -07:00
Devine Lu Linvega 0c908a9379 (calc.tal) Fixes issue with pushing any value comprised of two bytes which add to zero 2022-06-16 15:17:14 -07:00
Andrew Alderwick fb030288f9 Disable execution timeouts for now.
This is a quick hack to disable the execution timeout, while still
making the application able to exit if the window is requested to close.
Execution limits may be reintroduced with more debugging features, but
not enabled by default.
2022-06-13 09:15:20 +01:00
Andrew Alderwick dc65cc0f1d (bunnymark) Conserve bun energy on y-bounce. 2022-06-12 14:02:11 +01:00
Devine Lu Linvega 55d9ba4d71 Added test rom 2022-06-11 11:53:28 -07:00
Andrew Alderwick 04352a8c89 Switch back to single thread for handling redraws.
This reverts commit a283264df2 while
keeping the enhancements made later on (detection of overlong
execution).

This change fixes compatibility for learn-uxn and current npe.
2022-06-10 07:58:29 +01:00
Andrew Alderwick cabccd61fc (asma) only ignore [ or ] if it is a whole token 2022-06-09 21:42:30 +01:00
Devine Lu Linvega f7498cff5c (tables.c) Improved sin table generator 2022-06-09 09:19:15 -07: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 9f97976ac8 Update README 2022-06-07 20:14:27 +01:00
Andrew Alderwick 978713474a (uxnasm) Prevent tail call optimisation when required, fixes asma
Literals do not get squashed across absolute or relative pads and
labels, now the tail call optimisations do not occur under the same
conditions. etc/asma-test.tal was identifying serious errors with
asma.rom, which uses "JSR2 &skip JMP2r" in @asma-macro-body.
2022-06-07 20:03:12 +01:00
Andrew Alderwick 0ff2a3586d Deal with compiler warnings. 2022-06-07 19:39:43 +01:00
Devine Lu Linvega 0fafd652f1 (uxnasm) Better parent label reference counting 2022-06-06 09:42:26 -07:00
Devine Lu Linvega bf81d07113 (uxnasm)Quiet label warnings with sublabels 2022-06-06 07:57:29 -07:00
phoebos a014cd8da9 (uxnasm) only ignore [ or ] if it is a whole token
Currently, tokens beginning with a [ or ] character are completely
ignored, which forbids a macro from beginning with these characters.
Specifically, a macro can be declared eg. as `%[x { ... }` but cannot be
dereferenced as `[x`.
This patch only ignores these tokens if they have a length of 1;
otherwise the switch falls through to the default case.
2022-06-05 16:29:06 -07:00
phoebos 1ac7c45d10 tal.sublime-syntax: comments must be opened by a single ( token
surrounding whitespace isn't optional
2022-06-03 14:48:41 -07:00
Andrew Alderwick eb8c496feb Revert "Fix for hanging on quit", replacing it with improved code 2022-06-03 22:42:54 +01:00
Devine Lu Linvega 17fd40af43 (uxnasm) Minor cleanup 2022-05-31 14:04:54 -07:00
Devine Lu Linvega 18b73f4861 (uxnasm)Optimize tail-call for subroutines too 2022-05-31 13:55:00 -07:00
Devine Lu Linvega 3c06af41c3 Tiny change to uxnasm 2022-05-31 13:38:21 -07:00
Devine Lu Linvega 852e33e6f3 General improvements to example files 2022-05-31 13:25:41 -07:00
Devine Lu Linvega 8176ab93c8 Extended timeout to 20 frames to give RPIs a chance 2022-05-31 12:29:55 -07:00
Devine Lu Linvega 56d08285b7 Fix for hanging on quit 2022-05-31 12:25:25 -07:00
Devine Lu Linvega 79262774fe But we also made sure it appeared in lots of other, less conspicuous places. 2022-05-31 08:44:18 -07:00