Commit Graph

1303 Commits

Author SHA1 Message Date
Sigrid Solveig Haflínudóttir 19c16081c6
load: don't leak file handles; don't ignore read errors 2021-11-17 14:21:27 +01:00
Sigrid Solveig Haflínudóttir 6c1720e328
datetime: don't crash if localtime failed 2021-11-17 14:14:38 +01:00
Sigrid Solveig Haflínudóttir 60698c787a
build: allow custom CFLAGS to be set 2021-11-17 14:12:48 +01:00
Devine Lu Linvega 26040d19cb (clock.tal) Higher font for digits 2021-11-16 14:35:08 -05:00
Devine Lu Linvega dd6adb3f73 (clock.tal) Fixed issue with hour needle 2021-11-16 13:00:51 -05:00
Devine Lu Linvega c7759f6212 (clock.tal) Minor optimizations 2021-11-16 12:10:48 -05:00
Devine Lu Linvega 0114af1a10 Added nametable demo 2021-11-16 10:35:11 -05:00
Devine Lu Linvega 10aec891e7 (brainfuck.tal) Removed extra labels 2021-11-13 11:08:21 -05:00
Devine Lu Linvega 92b5624e2f (brainfuck.tal) Minor cleanup 2021-11-13 10:57:54 -05:00
Devine Lu Linvega 7d74fa95f0 (brainfuck.tal) Replaced byte program with characters 2021-11-13 10:50:21 -05:00
Devine Lu Linvega cd427e5e56 Added brainfuck.tal 2021-11-12 21:51:39 -05:00
Devine Lu Linvega 2d53e60fff (calc.rom) Add keyboard controls 2021-11-12 15:45:06 -05:00
Devine Lu Linvega 7a49c5527f (calc.rom) Added bitwise operators 2021-11-12 15:26:45 -05:00
Devine Lu Linvega 3b6701ba39 (boot.rom)Fixed leak 2021-11-12 13:55:51 -05:00
Devine Lu Linvega c63a8fa882 (snake.rom) Minor optimizations 2021-11-11 09:22:07 -05:00
Devine Lu Linvega 912afb678f (snake.rom) Minor optimizations 2021-11-11 09:10:45 -05:00
Andrew Alderwick 6e28039b37 Build script maintenance 2021-11-10 07:10:42 +00:00
Andrew Alderwick 8990ad84ad Add link to macOS binary build. 2021-11-09 16:09:10 +00:00
Devine Lu Linvega 170aa0f64c Try to start boot.rom if no rom is provided 2021-11-09 10:34:10 -05:00
Andrew Alderwick d00baaec6a Move clamps to select-file. 2021-11-09 07:14:43 +00:00
Andrew Alderwick 9b061bb9ef Split directory entries into strings on load. 2021-11-09 07:06:19 +00:00
Devine Lu Linvega 198c28b106 (boot.rom) Selection with enter key 2021-11-08 14:02:29 -05:00
Devine Lu Linvega c923e1ddc9 (boot.rom) Added mouse selection 2021-11-08 13:54:21 -05:00
Andrew Alderwick 7f0119599e Check ROM is valid before loading. 2021-11-08 18:31:33 +00:00
Sigrid Solveig Haflínudóttir 4988b2214e
uxnasm: reset scope to avoid pointing at garbage 2021-11-08 18:51:28 +01:00
Sigrid Solveig Haflínudóttir 428a1da50e
build.sh: use $CC (default value is still "cc") 2021-11-08 18:31:08 +01:00
Devine Lu Linvega e9f0585e0b Start emulator from bin 2021-11-08 12:19:45 -05:00
Devine Lu Linvega ef13809e08 Made reboot static 2021-11-08 12:13:43 -05:00
Devine Lu Linvega 2f8cc83aa4 Renamed reboot for restart 2021-11-08 12:12:17 -05:00
Devine Lu Linvega 737a87ac3f Building boot on start 2021-11-08 11:21:23 -05:00
Devine Lu Linvega 85322b92ce Progress toward boot.rom setup 2021-11-08 10:51:09 -05:00
Andrew Alderwick 7d714d5224 Fixed load-rom with new File device. 2021-11-07 21:51:44 +00:00
Devine Lu Linvega e371fddd7a Selection works in the launcher 2021-11-07 16:23:33 -05:00
Devine Lu Linvega f03a50b556 Merge branch 'main' of git.sr.ht:~rabbits/uxn 2021-11-07 15:55:32 -05:00
Devine Lu Linvega 9cc303dd86 Added selection to launcher 2021-11-07 15:55:26 -05:00
Andrew Alderwick d2c6d5e12d Remove unused limits.h 2021-11-07 19:34:41 +00:00
Devine Lu Linvega 142d046b9b Merge branch 'main' of git.sr.ht:~rabbits/uxn 2021-11-07 14:31:37 -05:00
Devine Lu Linvega 9851e7f621 Displaying files in launcher 2021-11-07 14:30:36 -05:00
Sigrid Solveig Haflínudóttir fd7cf5e221
file: write: return error if fflush failed 2021-11-07 20:21:15 +01:00
Andrew Alderwick 054361cb70 Replace load/save with read/write 2021-11-07 19:10:38 +00:00
Sigrid Solveig Haflínudóttir 3606081184
file: reduce casts 2021-11-07 20:06:15 +01:00
Sigrid Solveig Haflínudóttir 677b02f0a3
file: replace strncpy+strncat with a single snprintf call 2021-11-07 20:00:56 +01:00
Sigrid Solveig Haflínudóttir 90225ad773
file: replace PATH_MAX with 4096 to have the same limit everywhere (Windows has the macro set to < 300) 2021-11-07 19:32:48 +01:00
Devine Lu Linvega 42d0f65d12 Rewrote get_entry 2021-11-07 12:26:37 -05:00
Devine Lu Linvega dee04ff44a Renamed prepare for init 2021-11-07 10:30:56 -05:00
Andrew Alderwick db0efaeff1 Drop redundant dirfd 2021-11-07 00:51:42 +00:00
Andrew Alderwick 5b3b08e526 Exclude projects/assets in asma-test.sh 2021-11-07 00:48:14 +00:00
Andrew Alderwick ea42a0bdd7 Use basename for File/stat output 2021-11-07 00:46:18 +00:00
Andrew Alderwick 3acaaa2874 Drop fstatat for building on MSYS2 2021-11-07 00:45:55 +00:00
Sigrid Solveig Haflínudóttir 0465b68ab5
add file device build dep to mkfile; fix file_delete prototype 2021-11-07 00:12:11 +01:00