0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-12-18 06:20:18 +00:00
Commit graph

309 commits

Author SHA1 Message Date
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
Andrew Alderwick
3109ca3bdd Added keep mode parsing to asma 2021-05-13 08:02:15 +01:00
Andrew Alderwick
be9ae6ea1b Imported new opcode names to asma 2021-05-13 08:02:15 +01:00
neauoire
77b9f54738 Removed nasu from project 2021-05-11 20:30:03 -07:00
neauoire
a206ed0b10 Renamed PEK/POK to LDZ/STZ 2021-05-11 11:14:52 -07:00
neauoire
8630028e97 JNZ is now JCN 2021-05-11 11:12:07 -07:00
neauoire
5dbfb6603e Progress on nasu redesign 2021-05-10 20:52:57 -07:00
neauoire
1925897c51 Progress on nasu revamp 2021-05-09 20:43:33 -07:00
neauoire
cd70ab1f18 Progress on preview in nasu 2021-05-09 14:10:07 -07:00
neauoire
0b5b6d077a Progress on Nasu 2021-05-09 11:22:21 -07:00
Andrew Alderwick
16f51cb876 Rewritten asma 2021-05-04 07:59:00 +01:00
neauoire
f5fb9714e4 * 2021-05-03 09:57:39 -07:00
neauoire
8492153b17 Progress on drumrack 2021-05-02 10:40:24 -07:00
neauoire
993719818a Removed LTS/GTS opcodes 2021-05-01 09:59:57 -07:00
Andrew Alderwick
d343865471 Added position readout to audio devices 2021-04-27 21:03:38 +01:00
neauoire
67dfbc1a63 Ported audio examples to 4 channels 2021-04-26 20:55:51 -07:00
Andrew Alderwick
833f0acc20 Made room for multiple audio devices 2021-04-26 20:16:41 +01:00
neauoire
38a9be86c2 Fixed color swatch in nasu 2021-04-24 21:18:15 -07:00
neauoire
19157a9ae1 Removed templating macros in assembler 2021-04-24 17:12:25 -07:00
neauoire
72b0458745 Removed refresh port in datetime 2021-04-24 10:26:09 -07:00
Andrew Alderwick
5833a99260 Ported asma to new assembler syntax 2021-04-24 10:52:07 +01:00
Andrew Alderwick
6057869af5 Moved asma into place before porting to new syntax 2021-04-24 10:43:08 +01:00
Andrew Alderwick
3c758b734b Ported projects to new assembler syntax
All these programs tested working, except for left, which compiles but
doesn't run properly.
2021-04-23 15:34:03 +01:00
Andrew Alderwick
e065b8015a Renamed files about to be ported to new assembler 2021-04-23 15:14:34 +01:00
Andrew Alderwick
80ccce5a5c Removed debugging code from Neralie 2021-04-23 10:00:54 +01:00
Andrew Alderwick
37e7c0f88b Added simple macros to Neralie 2021-04-23 09:59:08 +01:00
Andrew Alderwick
4edb709c90 Auto-ported Neralie to new assembler 2021-04-23 09:59:08 +01:00
Andrew Alderwick
1335c21192 Moved old assembly files into attic directory 2021-04-21 21:07:58 +01:00
Andrew Alderwick
5ccd4ae8b9 More progress in assembler. 2021-04-18 12:49:26 +01:00
neauoire
bcf95cbadb Merge branch 'master' of git.sr.ht:~rabbits/uxn 2021-04-17 17:27:31 -07:00
neauoire
a4d4b26424 Optimized nasu 2021-04-17 17:27:24 -07:00
Andrew Alderwick
51bd0a919c Renamed File.result to File.success 2021-04-17 21:50:55 +01:00
Andrew Alderwick
257f740ce8 Updated device variables to latest versions 2021-04-17 21:37:09 +01:00
neauoire
db64f3d85a Progress on 2-bit mode for nasu 2021-04-17 13:32:07 -07:00
neauoire
03e70c9b5c Added color tables to nasu 2021-04-16 22:42:00 -07:00
neauoire
9c3e32b8ae Progress on 2-bit mode for nasu 2021-04-16 11:34:08 -07:00
neauoire
d1fc6c1860 Added blending mode to nasu 2021-04-15 10:19:59 -07:00
neauoire
dfb6657b2f Inverted zerotwo picture 2021-04-14 22:24:09 -07:00
neauoire
2e496e8d55 Started implementing 2-bit mode in nasu 2021-04-14 22:06:22 -07:00
Andrew Alderwick
59f362f441 Further progress on assembler 2021-04-14 22:00:10 +01:00
neauoire
133f1a4855 Ported the picture example to the new file handler 2021-04-14 13:08:32 -07:00
neauoire
6a6e9acc50 Trying to optimize drawing routines 2021-04-13 22:50:01 -07:00
neauoire
f3e58adc03 Implemented file vectors in nasu/noodle 2021-04-13 12:29:36 -07:00
neauoire
56a3a993f4 Added graphical example to file device 2021-04-13 11:38:22 -07:00
neauoire
ff81d21b08 Progress on orca 2021-04-12 21:16:31 -07:00
Andrew Alderwick
0e36e4da69 Fixed File device members 2021-04-12 21:02:47 +01:00
Andrew Alderwick
25f988812c More progress on assembler 2021-04-12 21:01:36 +01:00
Andrew Alderwick
dd73644f29 More progress in assembler 2021-04-12 12:20:49 +01:00
Andrew Alderwick
7fe8b27774 Progress on in-Uxn assembler 2021-04-11 09:47:20 +01:00
neauoire
3cd7be7eb5 Removed duplicate function in ppu 2021-04-10 22:00:49 -07:00
neauoire
86a52e1091 Fixed issue with controller.key 2021-04-10 20:55:31 -07:00
neauoire
ad19620b82 Merged ctrl with text 2021-04-10 19:39:32 -07:00
neauoire
f14f8a64f4 Progress on orca 2021-04-09 20:06:45 -07:00
neauoire
ffded2f642 Merged sprite in screen device 2021-04-09 10:01:53 -07:00
neauoire
5334e5cfa0 Progress on orca 2021-04-08 22:00:06 -07:00
neauoire
9dda5bdf1b Removed unused function call in emu 2021-04-08 16:47:38 -07:00
Andrew Alderwick
3dec3e1264 Name things consistent with documentation 2021-04-07 22:12:10 +01:00
neauoire
f629564269 Progress on orca 2021-04-07 12:52:16 -07:00
neauoire
d6e707fd11 Progress on Orca 2021-04-07 10:35:39 -07:00
neauoire
09571b1084 Starting Orca 2021-04-06 21:34:11 -07:00
neauoire
c2fcede6cc Optimized nasu 2021-04-06 10:51:13 -07:00
neauoire
5dc0245c9e Optimization on noodle 2021-04-06 10:45:53 -07:00
neauoire
6bd58375f7 Ported nasu to new vectors 2021-04-05 13:30:26 -07:00
neauoire
2e3cfff210 Porter more examples to the new vectors 2021-04-05 13:27:43 -07:00
neauoire
4c370d96d1 Started porting examples to new vectors 2021-04-05 11:58:26 -07:00
neauoire
3d8ddc143a Each device now has its own vector 2021-04-05 11:39:08 -07:00
neauoire
a3ce59fa93 Improved clock 2021-04-01 21:44:23 -07:00
neauoire
7275dbd131 Added visuals to the datetime device example 2021-04-01 11:46:41 -07:00
Andrew Alderwick
6b24c002a7 Add beginnings of assembler project. 2021-03-31 23:55:02 +01:00
neauoire
40e5f2b539 Optimized various drawing routines in left 2021-03-31 11:20:32 -07:00
neauoire
23521c5a4f Rewrote ctrl parser for left 2021-03-31 10:00:32 -07:00
neauoire
409ba7ef1a Improved left 2021-03-30 20:36:41 -07:00
neauoire
d5ae0cf76c Improved presentation mode 2021-03-30 19:35:34 -07:00
neauoire
d4783214a4 Fixed issue with emulator colors 2021-03-30 12:21:00 -07:00
neauoire
0b1d8efb86 Added blank file 2021-03-30 09:28:11 -07:00
neauoire
59cf8edeca Various optimization to noodle 2021-03-28 20:50:32 -07:00
neauoire
c7644f90c1 Clamp name erase 2021-03-28 16:52:34 -07:00
neauoire
d5a18c6cd1 Implemented save/load to noodle 2021-03-28 16:43:32 -07:00
neauoire
47866bbe87 Ported the software to the new disk location 2021-03-28 11:12:00 -07:00
neauoire
a2370ed4e3 Disks are now loaded at 0x0200 2021-03-28 11:06:36 -07:00
neauoire
2783e2945f Write the color on RESET 2021-03-28 11:02:11 -07:00
Andrew Alderwick
dad540651e Hard-code vectors. 2021-03-28 18:19:06 +01:00
Andrew Alderwick
abc5670a43 Finished first draft of neralie. 2021-03-28 11:51:45 +01:00
Andrew Alderwick
8b4301ce42 Switched to plain ASCII for decorating arguments. 2021-03-28 11:51:45 +01:00
Andrew Alderwick
8ebf499715 Added corners to rectangle. 2021-03-28 11:51:45 +01:00
neauoire
03f3d05c82 Implemented new-file 2021-03-27 21:22:51 -07:00
neauoire
6656b20d80 Added resize buttons to noodle 2021-03-27 16:58:25 -07:00
Andrew Alderwick
da54bf506c More progress on neralie. 2021-03-27 22:32:15 +00:00
neauoire
06e0835c94 Fixed interface bug in Noodle 2021-03-27 12:18:03 -07:00
neauoire
f740ec3feb Minor cleanup 2021-03-27 11:04:05 -07:00
Andrew Alderwick
0d86ff78d7 Renamed time device to datetime. 2021-03-27 11:33:56 +00:00
Andrew Alderwick
ff57a463d2 Corrected mentions of NEQU2. 2021-03-27 11:30:23 +00:00
Andrew Alderwick
ca0dcd8b11 Added beginnings of neralie. 2021-03-27 11:27:33 +00:00
neauoire
a5ec692b0a Removed CLN 2021-03-26 20:16:48 -07:00
neauoire
fcd4fa6da2 Optimized Left 2021-03-26 19:55:18 -07:00
neauoire
13fe5135c5 Optimized noodle 2021-03-26 19:41:19 -07:00
neauoire
72f045cc63 Optimized Nasu 2021-03-26 18:18:16 -07:00
neauoire
8e2a8df848 JNZ now uses the flag last 2021-03-26 11:19:19 -07:00
neauoire
a0f54f118b Removed special case in JNZ 2021-03-26 09:53:17 -07:00
neauoire
4d478833d3 Removed conditional mode 2021-03-26 08:35:45 -07:00
neauoire
7e5779cfc3 Fixed mouse pickin g for noodle 2021-03-25 09:24:26 -07:00
neauoire
11a299778a Minor optimizations to noodle 2021-03-24 20:00:34 -07:00
neauoire
b345ec7b84 Noodle: Patternize fill-rect routine 2021-03-24 17:22:03 -07:00
neauoire
bdaca53a7c Improving noodle 2021-03-24 16:30:52 -07:00
neauoire
217b5f88f3 Started audio device 2021-03-24 11:14:41 -07:00
neauoire
1f9155400d Added zoom toggle controls to emulator 2021-03-24 09:39:19 -07:00
neauoire
2e90428b0c Added color picker for screen example 2021-03-23 11:44:36 -07:00
neauoire
6df5a1a767 Starting Theme app 2021-03-22 20:04:04 -07:00
neauoire
f884031c2d Repaired dev.keys example 2021-03-22 12:33:15 -07:00
neauoire
15435a7302 Fixed picking issue in Noodle 2021-03-22 09:56:33 -07:00
neauoire
5eedfea8e6 Optimized noodle 2021-03-21 16:33:34 -07:00
neauoire
d7f355b0be Fix issue in stack balance 2021-03-21 14:37:39 -07:00