0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-30 01:33:01 +00:00
Commit graph

323 commits

Author SHA1 Message Date
Andrew Alderwick
d053d0c97f Bugfix to asma. 2021-11-19 00:22:35 +00:00
Andrew Alderwick
c3ac41c41d Change "include" word into ~ rune for includes. 2021-11-17 22:06:00 +00:00
Andrew Alderwick
312429bcd8 Remove obsolete comment 2021-11-17 21:38:12 +00:00
Devine Lu Linvega
7500317e4e (calc.tal) Added decimal printing 2021-11-17 15:54:47 -05:00
Devine Lu Linvega
4ae6a9f870 (calc.tal) Minor cleanup 2021-11-17 15:07:14 -05:00
Devine Lu Linvega
8bdf4419b9 (calc.tal) Mouse release macro 2021-11-17 14:44:48 -05:00
Devine Lu Linvega
e2a64438cd (calc.tal) Minor cleanup 2021-11-17 14:35:59 -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
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
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
Devine Lu Linvega
e371fddd7a Selection works in the launcher 2021-11-07 16:23:33 -05:00
Devine Lu Linvega
9cc303dd86 Added selection to launcher 2021-11-07 15:55:26 -05: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
Andrew Alderwick
054361cb70 Replace load/save with read/write 2021-11-07 19:10:38 +00:00
Devine Lu Linvega
8f75ec3801 Resuming work on the launcher 2021-11-06 12:21:14 -04:00
Andrew Alderwick
a92dd9fd73 Rearranged File ports for backwards compatibility. 2021-11-06 00:51:43 +00:00
Andrew Alderwick
dc3170db98 Implement File/append flag. 2021-11-05 22:48:04 +00:00
Andrew Alderwick
c970e2c5ef File device: drop offset shorts, add stat and delete. 2021-11-05 21:32:45 +00:00
Andrew Alderwick
4b5183cf0d Remove unfinished repl.tal 2021-10-31 21:25:50 +00:00
neauoire
b792169909 Improved UX for calc.tal 2021-10-20 11:52:51 -07:00
Andrew Alderwick
317d71654e Pass output file argument to asma too 2021-10-13 22:58:27 +01:00
Andrew Alderwick
b78d9e1446 Reimplemented software/asma with reading input filename from Console. 2021-10-07 22:00:54 +01:00
Andrew Alderwick
4d6fc06778 Splitted asma into library and piano demo. 2021-10-07 21:11:47 +01:00
Andrew Alderwick
532c1959dc Made asma line numbers start at zero, not one 2021-10-07 18:17:11 +01:00
Andrew Alderwick
10a723f5d6 Fixed line numbers in asma error reports 2021-10-06 06:58:30 +01:00
Andrew Alderwick
0c6b607f91 Extracted string library from asma 2021-10-06 06:54:03 +01:00
Andrew Alderwick
be2e01e9b3 Extracted heap library from asma 2021-10-06 06:42:19 +01:00
Andrew Alderwick
7058122d25 Extracted binary tree library from asma 2021-10-06 06:41:23 +01:00
Andrew Alderwick
755ccf5665 Implemented includes in asma 2021-10-06 06:14:18 +01:00
Andrew Alderwick
e8f58aa579 Use file-read-chunks library in asma. 2021-10-04 22:28:13 +01:00
neauoire
08f7ef10e5 Moved neralie to software 2021-09-28 20:54:03 -07:00
neauoire
cf5af02e0f Improved calculator 2021-09-26 15:21:16 -07:00
neauoire
17d1830d5a Added bitpad to calc.tal 2021-09-22 17:48:04 -07:00
neauoire
7c9cf2d17c Started implemented bit input to calc.tal 2021-09-22 17:05:18 -07:00
Andrew Alderwick
7fe99617b2 Clear screen when ROM is loaded. 2021-09-22 16:41:25 +01:00
Andrew Alderwick
5e03a765de Added prototype load-rom library to launcher.tal 2021-09-22 08:53:36 +01:00
neauoire
5e7b8a9292 Added theme support for the calculator 2021-09-21 16:37:19 -07:00
neauoire
65678a7a36 Added audio to calc 2021-09-21 12:31:48 -07:00
neauoire
73d577a7c0 Added error placeholder for launcher.tal 2021-09-21 11:53:04 -07:00
neauoire
68a8310830 Muted warnings 2021-09-21 10:45:56 -07:00
neauoire
caa6b018fa Experimenting with rom launching mode 2021-09-21 10:04:52 -07:00
neauoire
e79004a075 Added basic launcher 2021-09-21 09:44:10 -07:00
neauoire
6821bea9c0 The calc pushes values on opcode 2021-09-20 15:51:54 -07:00
neauoire
ba76eae6a8 Removed unused routines in calc.tal 2021-09-20 15:44:05 -07:00
neauoire
0c8a7feec5 Working copy of the calc.tal 2021-09-20 15:36:13 -07:00
neauoire
73497a1065 Starting keyboard input to calc.tal 2021-09-20 13:42:23 -07:00
neauoire
781344268f Limited push/pop in calc.tal 2021-09-19 08:25:23 -07:00
neauoire
84513d738d The calculator can now add 2021-09-18 21:25:50 -07:00
neauoire
6cc0fdec26 Starting stack manipulation for calc 2021-09-18 20:24:39 -07:00
neauoire
bca5562eec The screen width/height ports can be written to 2021-09-18 16:51:20 -07:00
neauoire
3d8cf7c257 Added input to the calculator 2021-09-18 12:27:19 -07:00
neauoire
39a93bda40 Started calculator project 2021-09-18 12:01:34 -07:00
Andrew Alderwick
a92fd8fb22 Expanded File/offset to 32-bit /offset-hs and /offset-ls 2021-08-28 00:37:27 +01:00
Andrew Alderwick
93a4802782 Lots of INC optimisations 2021-08-26 23:31:46 +01:00
Andrew Alderwick
169c4b1402 Updated asma with new opcode use 2021-08-18 07:33:53 +01:00
Andrew Alderwick
5d4020ad31 Replaced easy multiplications and modulos 2021-08-17 20:55:10 +01:00
Andrew Alderwick
5d094603b0 Fixed asma-test.sh 2021-08-17 20:33:53 +01:00
Andrew Alderwick
ad07c29935 Replaced trivial multiplications with shifts and additions 2021-08-17 20:16:46 +01:00
Andrew Alderwick
107a59affa Rearranged POP, DUP, NIP opcodes 2021-08-15 21:34:33 +01:00
Andrew Alderwick
93dae917fb Added NIP optimisations 2021-08-15 21:25:58 +01:00
Andrew Alderwick
be360ffc1e Replaced NOP with NIP 2021-08-15 21:22:01 +01:00
Andrew Alderwick
19b0aa2083 Migrated Screen/color to Screen/pixel and/or Screen/sprite 2021-07-31 21:58:33 +01:00
Andrew Alderwick
ced41f6d70 Progress on REPL 2021-07-11 21:32:32 +01:00
Andrew Alderwick
78cd998177 Added repl project skeleton 2021-07-10 21:50:13 +01:00
Andrew Alderwick
d3aaf705f3 Ported asma to new simplified Console device 2021-07-07 21:04:53 +01:00
neauoire
74fc816810 Flagged functions as static 2021-06-28 14:42:36 -07:00
neauoire
274edad29d Simplified console 2021-06-28 09:40:29 -07:00
Andrew Alderwick
6bf7e7f7a1 Fixed path to piano.tal in asma.tal 2021-06-08 22:29:54 +01:00
Andrew Alderwick
b6239ad549 Fixed uncontrolled expansion of recursive macros in asma 2021-06-04 08:25:31 +01:00
neauoire
fbc0b762c9 Renamed USM to TAL files 2021-05-31 14:50:36 -07:00
neauoire
d163c43201 Improved uxncli and moved all demos into examples 2021-05-26 10:02:13 -07:00
neauoire
15ffab9d84 Removed left/orca from the repo 2021-05-24 20:53:08 -07:00
Andrew Alderwick
7f158c9d66 Optimised MUL2 by powers of 2 to SFT2 2021-05-24 22:52:11 +01:00
Andrew Alderwick
00df90c47e Optimised DIV2 by powers of 2 to SFT2 2021-05-24 22:36:15 +01:00
Andrew Alderwick
ea69dff8a8 Updated SFT2 to take byte for shift amount 2021-05-23 16:27:15 +01:00
neauoire
fbe907a2eb Moved noodle to its own repo 2021-05-20 15:17:40 -07:00
Andrew Alderwick
f88df1a08d Fixed error in handling invalid source 2021-05-16 10:58:24 +01:00
Andrew Alderwick
28d5284695 Added test suite for asma 2021-05-16 10:20:42 +01:00
Andrew Alderwick
c6a776cbe5 Enlarged load and save buffers 2021-05-16 10:20:42 +01:00
Andrew Alderwick
ac646d1c3d Added printout of heap usage 2021-05-16 10:20:42 +01:00
Andrew Alderwick
fa91704ef9 Prevented infinite loop when asma's output is empty 2021-05-16 10:20:42 +01:00
Andrew Alderwick
0d20b4309a Added documentation and automatic execution of assembled source 2021-05-15 21:50:59 +01:00
Andrew Alderwick
63081b64cd Implemented writing to output file 2021-05-15 21:02:33 +01:00
Andrew Alderwick
1f80b2907b Added public interface to asma 2021-05-15 19:58:50 +01:00
Andrew Alderwick
e27bde2879 Stopped using relative offsets in sublabels 2021-05-15 19:06:15 +01:00
Andrew Alderwick
300f3dfa75 Don't preseed devices in label tree. 2021-05-15 18:25:06 +01:00
Andrew Alderwick
8bf9aa78da Progress on asma 2021-05-15 18:08:08 +01:00
Andrew Alderwick
72dd7d5a87 Optimized some MOD operations 2021-05-15 09:44:20 +01:00
Andrew Alderwick
e442342664 Dealt with source files that don't end with whitespace 2021-05-14 23:02:41 +01:00
Andrew Alderwick
ac91aea27b Implemented address changes and rewind detection 2021-05-14 21:22:55 +01:00
Andrew Alderwick
0367110b80 Added message types for logging or supression 2021-05-14 21:21:46 +01:00
Andrew Alderwick
b2b5932a5a Added dump of asma's labels after run 2021-05-14 08:25:11 +01:00