Commit Graph

1987 Commits

Author SHA1 Message Date
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
Devine Lu Linvega f9b158e2c2 (wireworld.tal) Updated 2022-05-28 10:00:31 -07:00
Devine Lu Linvega 755efc4fbd Minor changes to a few example projects 2022-05-27 20:12:59 -07:00
Devine Lu Linvega 41f7eaed6c (calc.tal)Fixed warnings from the linter 2022-05-27 20:01:32 -07:00
Devine Lu Linvega 5a0e0c56aa Added tail-call optimization 2022-05-26 20:26:21 -07:00
Andrew Alderwick e00e74b9d0 (uxnasm) Raise an error if the output rom would be empty. 2022-05-09 21:13:28 +01:00
neauoire fec233db2a Use helpers for LIT 2022-04-18 12:33:30 -07:00
Andrew Alderwick d5253086b5 Move stack opcodes. 2022-04-18 09:45:33 +01:00
Andrew Alderwick c2ffe63cc3 (uxnasm) Fix valid macro names being rejected.
Macro names that begin with the name of an opcode were being rejected
incorrectly. “STA” would not be a valid macro name since it is an
opcode, but “STACK” should be fine.
2022-04-14 18:24:48 +01:00
neauoire d49981c4ce Removed runes 2022-04-11 17:27:33 -07:00
neauoire a3c42c23b9 Fixed issue with oprunes 2022-04-11 17:16:05 -07:00
neauoire dcc37fd0d5 Added logic/arithmetic symbols to uxnasm 2022-04-11 16:07:15 -07:00
neauoire 60315ff3dc Raised label limit in uxnasm 2022-04-11 15:34:53 -07:00
Andrew Alderwick 4c59498f14 (Windows) Fix uxnemu freezing on exit. 2022-04-09 12:22:24 +01:00
Andrew Alderwick 219cfee472 (Windows) Fix output not flushing automatically. 2022-04-09 12:21:39 +01:00
Andrew Alderwick 72c7296a47 Revert "Switch to SDL Timer for redraw handler." 2022-04-09 12:19:27 +01:00
Andrew Alderwick 96f4510a03 Switch to SDL Timer for redraw handler. 2022-04-09 11:37:51 +01:00
Andrew Alderwick a35ef6b242 Fix build warning on Windows. 2022-04-09 11:37:06 +01:00
neauoire 1e0edd7461 Improved label.tal 2022-04-08 11:41:07 -07:00
neauoire 9ade9bd524 (pig.tal) Added pig game in exercises 2022-04-06 11:24:43 -07:00
neauoire dd0ba4f191 Minor change to bresenham helpers 2022-04-05 16:41:49 -07:00
neauoire d64600e711 (amiga.tal) Bounce on walls 2022-03-29 10:30:54 -07:00
Sigrid Solveig Haflínudóttir 2a892a23b1 uxnemu: fix a memory leak (ram) in start() and reduce types clutter 2022-03-29 19:24:15 +02:00
neauoire 708148bb1d (amiga.tal) Added bounce 2022-03-29 09:49:30 -07:00
neauoire 3cdabb9d80 (amiga.tal) Started a boing ball demo 2022-03-28 21:30:26 -07:00
Andrew Alderwick 47f65c7b82 (uxncli) Load ROM using the File device functions. 2022-03-28 18:51:29 +01:00
Andrew Alderwick 42dea5b914 Replace file_i_deo and file_i_dei. 2022-03-28 18:16:44 +01:00
Sigrid Solveig Haflínudóttir 0b75afc415 uxnemu: use read() in stdin thread and close(0) at shutdown for the thread to exit 2022-03-28 17:49:54 +02:00
Sigrid Solveig Haflínudóttir f06494477a uxnemu: fix the stuck threads on quit, SOMEWHAT
Create threads in detached mode and check if events failed to be
pushed. Stdin thread is still blocking on fread hence the "SOMEWHAT".
2022-03-28 17:24:35 +02:00
neauoire a325798cb3 (file.tal) Changed poem in file device 2022-03-27 13:42:14 -07:00
neauoire f683e49ad5 (file.tal) Flush file pointer 2022-03-27 13:22:19 -07:00
neauoire 45c31327ec (examples/devices) Revamped a lot of the device examples 2022-03-27 11:53:24 -07:00
neauoire 0c587b9e0e (mouse.tal) Optimized 2022-03-27 09:43:24 -07:00
neauoire c4f7483027 Arranged include order 2022-03-27 09:18:02 -07:00
Andrew Alderwick 2de41fd4c3 Move life-infinite-loop.tal to examples/exercises/. 2022-03-27 14:07:59 +01:00
Andrew Alderwick 91125f33a2 Add a version of life.tal with an infinite loop. 2022-03-27 13:57:52 +01:00
Andrew Alderwick 0e7ebb69e6 (uxnemu) Interrupt infinite loops with an error. 2022-03-27 13:53:25 +01:00
Andrew Alderwick b9ff19d857 (uxnemu) Update indentation with clang-format.
The main loop now uses SDL_WaitEvent instead of SDL_PollEvent, and the
indentation level needs to change. For clarity, the previous commit
contains the code changes, while this one updates the indentation.
2022-03-27 13:18:37 +01:00
Andrew Alderwick a283264df2 (uxnemu) Use a separate thread for triggering redraws.
The main loop now uses SDL_WaitEvent instead of SDL_PollEvent, and the
indentation level needs to change. For clarity, this commit contains the
code changes, while the next one updates the indentation.
2022-03-27 13:16:40 +01:00
neauoire 1f7a15d05b (screen.tal) Improved layout 2022-03-26 18:29:38 -07:00
Andrew Alderwick f2c644f680 Move DateTime to 0xc0, add second File to 0xb0. 2022-03-26 17:54:29 +00:00
neauoire bb2aabee54 (life.tal) General optimizations 2022-03-25 21:36:33 -07:00
neauoire 0b3ac97752 (examples/) Improved a few demos 2022-03-25 12:05:11 -07:00
neauoire 9a59e9d1d9 (exercises/) Cleanup 2022-03-25 10:29:45 -07:00
neauoire 19172bf049 (dvd.tal) Optimized 2022-03-25 09:49:51 -07:00
neauoire 05d8b4479c (clock.tal) Optimizations 2022-03-24 13:15:50 -07:00