Commit Graph

1549 Commits

Author SHA1 Message Date
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
neauoire f6e23cddb0 Use new paths for essentials 2022-03-22 14:45:25 -07:00
neauoire b2891da133 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2022-03-18 11:03:07 -07:00
neauoire 25fc9ca5fd (label.tal) Rewrote with the screen/auto support 2022-03-18 11:02:27 -07:00
Andrew Alderwick 7ce8cc1d24 Add file reading with .File/read DEI(2). 2022-03-17 19:09:34 +00:00
Andrew Alderwick 205cc89bcb Keep a local copy of File/name; don't try to read it beyond end of RAM. 2022-03-17 18:41:55 +00:00
Andrew Alderwick 27089a77e4 Prepare for more than one File device. 2022-03-17 18:35:49 +00:00
Andrew Alderwick bca73244f0 Minor fix to audio.c. 2022-03-17 18:29:44 +00:00
Andrew Alderwick a3b87e021f Rename file_deo variables. 2022-03-17 17:08:03 +00:00
Andrew Alderwick 5dcf0a2b35 Make the UxnAudio struct private to audio.c. 2022-03-17 16:59:36 +00:00
neauoire 084a0f5ab4 (hexdump.tal) Rewrote 2022-03-15 11:42:17 -07:00
neauoire 24474b6b32 (calc.tal) Merged a few unnecessary SFT 2022-03-15 11:13:35 -07:00
neauoire a63322e207 (calc.tal) Optimized to use screen/auto 2022-03-15 11:03:09 -07:00
neauoire 5057dd160a (screen.tal) Centered 2022-03-15 09:57:33 -07:00
neauoire 8ec8c7c1f4 (screen.tal) Optimized to fit GBA screen 2022-03-14 14:02:43 -07:00
neauoire 3293a1b639 (piano.tal) Implemented new auto byte 2022-03-14 11:04:49 -07:00
neauoire 21f3a2d870 Moved some demos to /old 2022-03-14 10:21:36 -07:00
neauoire 4019add040 Cleaned up a few demos 2022-03-14 09:55:31 -07:00
neauoire 6ffedca0b4 (polycat.tal) Cleanup 2022-03-13 20:39:03 -07:00
neauoire 9e9313d064 (move.tal)Cleaned up demo 2022-03-13 20:32:32 -07:00
neauoire 162400cb54 (fizzbuzz.tal) Removed macros from fizzbuzz 2022-03-10 10:05:00 -08:00
neauoire cfedb19dca (primes.tal) Removed macros 2022-03-10 09:37:11 -08:00
Andrew Alderwick 1ecbd571e0 Add asma.rom to uploads. 2022-03-08 19:04:33 +00:00
neauoire bdb451cd28 (picture.tal) Added fast drawing routine 2022-03-06 15:04:03 -08:00
Andrew Alderwick 1d694c43ea Fix sprite address check. 2022-03-06 20:39:27 +00:00
neauoire 3b3386b544 (screen.tal) Optimizations 2022-03-06 11:00:02 -08:00
neauoire 708d418833 (screen.tal) Ported to the new auto-byte 2022-03-06 10:25:27 -08:00
Andrew Alderwick fef8806493 Fix comment at end of uxn.h. 2022-03-06 18:02:34 +00:00
Andrew Alderwick 314dd5a431 screen/auto: Replace draft looping with block width control. 2022-03-06 18:02:34 +00:00
neauoire 941ac55f1f (screen.tal) Starting new auto-byte high nibble implementation 2022-03-06 09:56:50 -08:00
Andrew Alderwick 1b04e0814b (draft) Add looping functionality to Screen/auto. 2022-03-06 13:42:59 +00:00
Bad Diode 11c9ec8b49 Add header guard to uxn.h 2022-03-05 13:58:03 -08:00
neauoire b482b5f93e Added missing image size to pictures/bit 2022-03-04 12:06:47 -08:00
neauoire 56432c1fcd (fib.tal) Little optimization 2022-02-23 15:37:29 -08:00
neauoire 1993eb9b5f (fib.tal) Added fib example 2022-02-23 15:23:38 -08:00
neauoire f87c15c8b5 Optimized line-rect routine 2022-02-21 10:30:55 -08:00
Andrew Alderwick 0c819b9f59 clang-format 2022-02-19 01:02:47 +00:00
Andrew Alderwick 550aceee23 (uxnasm) Allow writing the 0xffff byte of RAM. 2022-02-19 00:29:40 +00:00
Andrew Alderwick 8b84813c6e (uxnasm) Raise error when memory is overwritten. 2022-02-19 00:27:28 +00:00