Commit Graph

220 Commits

Author SHA1 Message Date
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
Andrew Alderwick 696958a413 Added keep mode optimizations to asma 2021-05-13 22:51:36 +01:00
Andrew Alderwick bceed46348 Optimised #0000 NEQ2 when used with JCN 2021-05-13 07:36:24 +01:00
Andrew Alderwick f407f1b426 Optimized out #00 NEQ when used with JCN 2021-05-13 09:02:32 +01:00