0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-17 19:45:11 +00:00
Commit graph

437 commits

Author SHA1 Message Date
Andrew Alderwick
693742a7a4 Fixed label alignment 2021-05-24 22:27:45 +01:00
Andrew Alderwick
ebfc496ca2 Fixed background disappearing after theme change 2021-05-24 22:25:02 +01:00
Andrew Alderwick
ea69dff8a8 Updated SFT2 to take byte for shift amount 2021-05-23 16:27:15 +01:00
Andrew Alderwick
9abcca773b Made simple load/save examples composable 2021-05-21 14:34:22 +01:00
Andrew Alderwick
85a33c6b03 Added simple File/load example 2021-05-21 14:30:06 +01:00
Andrew Alderwick
8766eb1a11 Added simple File/save example 2021-05-21 14:10:57 +01:00
neauoire
fbe907a2eb Moved noodle to its own repo 2021-05-20 15:17:40 -07:00
neauoire
386b477611 Link to 9front from README 2021-05-17 15:13:46 -07:00
Andrew Alderwick
3baad0adc1 Added proportional font example 2021-05-17 07:44:50 +01: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
neauoire
3b9519d945 Created within-rect routine 2021-05-15 21:35:01 -07:00
Andrew Alderwick
0d20b4309a Added documentation and automatic execution of assembled source 2021-05-15 21:50:59 +01:00
neauoire
e289b359d8 Ported automata 2021-05-15 13:09:11 -07: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
neauoire
8845a326d8 Fixed hello world 2021-05-13 08:47:18 -07: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
a4c8066043 Cleaned example files 2021-05-12 18:28:45 -07:00
neauoire
9164b7f9fe Reverted patch to sft16 2021-05-12 12:13:28 -07:00
neauoire
0c188ef3fa Minor optimizations to the examples 2021-05-12 12:08:51 -07:00
neauoire
514b2f7f58 Minor optimizations to demos 2021-05-12 11:58:31 -07:00
neauoire
4bac8e9e30 Fixed leak in piano 2021-05-12 11:44:18 -07:00
Andrew Alderwick
fd9612d656 Implemented keep opcode flag 2021-05-12 18:42:24 +01:00
neauoire
77b9f54738 Removed nasu from project 2021-05-11 20:30:03 -07:00
neauoire
7f5c4e25e4 Moved devices in their own folders 2021-05-11 11:42:12 -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
Andrew Alderwick
d360fa43b2 Added darena, contributed by chirrolafupa, thank you! 2021-05-11 08:50:35 +01: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
neauoire
12550c3703 Fixed issue with midi 2021-05-08 07:59:03 -07:00
neauoire
5294b92ebd Added cell count to GOL 2021-05-06 10:38:38 -07:00
neauoire
801396e14d Improved UX for GOL 2021-05-05 20:33:48 -07:00
neauoire
b99cc32ba6 Added Game Of Life 2021-05-05 20:16:27 -07:00
neauoire
67adcd563b Game of life 2021-05-05 18:38:28 -07:00
neauoire
0efb3377ec New samples for the drumrack 2021-05-04 20:26:39 -07:00
neauoire
e0558d5067 Some progress on the drumrack samples 2021-05-04 11:54:01 -07:00
neauoire
73deb679f3 Optimized piano example 2021-05-04 10:57:57 -07:00
neauoire
69dca52737 Removed a few extra globals 2021-05-04 10:24:00 -07:00
neauoire
797c789d6f Minor optimizations 2021-05-04 09:10:54 -07:00
Andrew Alderwick
6829863d6d Changed samples from s8 to u8 format 2021-05-04 08:32:22 +01:00
Andrew Alderwick
16f51cb876 Rewritten asma 2021-05-04 07:59:00 +01:00
neauoire
ce00dc2189 Removed a few unused in drumrack 2021-05-03 16:38:11 -07:00
neauoire
e2cc909d89 Reconnected midi to drumrack 2021-05-03 16:26:41 -07:00
neauoire
6649bec4f7 Setting pitch for pads works 2021-05-03 15:43:57 -07:00
neauoire
5ae48f84b3 Progress on drum rack 2021-05-03 15:13:12 -07: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
neauoire
57d2e11e59 Cleanup polycat 2021-05-01 09:13:14 -07:00
neauoire
5323e5b750 * 2021-05-01 08:58:42 -07:00
neauoire
baa2f2450f Rewriting polycat 2021-04-30 12:08:24 -07:00
neauoire
49182d1335 Added mirroring to the PPU 2021-04-29 10:10:07 -07:00
neauoire
ec3c5a691b Cleaned a few examples 2021-04-28 21:00:39 -07:00
neauoire
51770be781 Improved UV 2021-04-28 12:11:05 -07:00
neauoire
30b12bae2d Added waveforms 2021-04-28 11:54:19 -07:00
neauoire
188463a008 Starting drum rack 2021-04-27 20:53:39 -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
f90a97386c Splitted audio device into four 2021-04-26 20:16:41 +01:00
Andrew Alderwick
53329c8eff Removed unused devices 2021-04-26 20:16:41 +01:00
Andrew Alderwick
833f0acc20 Made room for multiple audio devices 2021-04-26 20:16:41 +01:00
neauoire
e0929d98da Redraw wave on arrow keys 2021-04-26 12:00:39 -07:00
neauoire
9c218db857 Added midi device 2021-04-25 19:50:45 -07:00
neauoire
f7dbfc6561 Mini cleanup 2021-04-25 14:03:17 -07:00
neauoire
d4981f4779 Mini cleanup 2021-04-25 14:00:35 -07:00
Andrew Alderwick
d01eb6cc45 Added currently playing volume readout 2021-04-25 21:52:50 +01:00
neauoire
7034a0cbfb Piano example 2021-04-25 13:47:32 -07:00
Andrew Alderwick
8c958d94a7 Moved from Uint16 to Sint8 audio sample data type 2021-04-25 18:04:59 +01:00
Andrew Alderwick
d892f29ea1 Implemented sample-based synth for APU 2021-04-25 15:12:45 +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
neauoire
2eb18b06a2 Device events can now fire on read 2021-04-24 10:15:47 -07:00
neauoire
5c5b767eaf Working toward bidirectional talk between devices and program 2021-04-24 09:43:30 -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
268ccd0519 Moved printing routines from tests/opcodes to console example 2021-04-24 09:37:43 +01:00
neauoire
ed468d2fbd Added a header to bifurcan 2021-04-23 12:00:34 -07:00
neauoire
3fda1dc086 Cleanup bifurcan 2021-04-23 11:25:19 -07:00
neauoire
9addd15675 Added bifurcan 2021-04-23 11:17:17 -07:00
neauoire
2880f59821 Sorted examples in devices/ and gui/ 2021-04-23 08:58:58 -07: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
neauoire
8ca9e6d4de Afterall, I decided to not use the fancy new macros, I think pek/pok is more readable than glyphs in the end 2021-04-22 20:44:38 -07:00
neauoire
1b4623be1b Templated examples 2021-04-22 19:57:47 -07:00
neauoire
dad55324aa Progress on macros experiments 2021-04-22 15:57:40 -07:00
neauoire
f58ce2882f Templated the mouse example 2021-04-22 15:19:09 -07:00
neauoire
62e3d75883 Added better templating 2021-04-22 14:29:48 -07:00
neauoire
b752f5f2bc Added drawing to the mouse example 2021-04-22 11:08:06 -07:00
Andrew Alderwick
3dbe34ecaa Filled out blank.usm 2021-04-21 21:13:39 +01:00
Andrew Alderwick
1335c21192 Moved old assembly files into attic directory 2021-04-21 21:07:58 +01:00
Andrew Alderwick
e7f234f55b Reinstated check for labels in zero page 2021-04-21 21:01:50 +01:00
neauoire
3474b3a4f1 Minor cleanup 2021-04-21 12:46:40 -07:00
neauoire
b86049925a Ported nihils dev audio example 2021-04-21 12:44:57 -07:00
neauoire
c0b337e933 ported dvd animation 2021-04-21 12:00:31 -07:00
neauoire
928ed1e1c9 Simplified the file example 2021-04-21 11:38:30 -07:00
neauoire
743eaef47a Ported some of the examples to the new accessors 2021-04-21 11:12:42 -07:00
neauoire
276e5086db Implemented PEK/POK/GET/PUT 2021-04-21 10:23:58 -07:00
neauoire
b01b74bad4 Ported mouse example 2021-04-21 09:48:04 -07:00
neauoire
53eacc6039 Ported the keys example 2021-04-21 09:09:18 -07:00
Andrew Alderwick
ef94053723 Allow device memory offsets in assembler 2021-04-21 13:45:17 +01:00
Andrew Alderwick
b43f973adb Port dev.file.usm 2021-04-21 13:37:59 +01:00
neauoire
a4e54062b8 Merged sandwich 2021-04-20 17:11:02 -07:00
Andrew Alderwick
04f48ec02b Added memory to individual devices. 2021-04-20 22:49:10 +01:00
neauoire
a293c1daa8 Ported the hello-world example 2021-04-20 11:32:26 -07:00
neauoire
68a253e67e Experimenting with macros 2021-04-20 10:48:55 -07:00
neauoire
cda9b0bce8 Implemented IOR/IOW 2021-04-20 10:31:50 -07:00
neauoire
716d048906 Working example for dev.control 2021-04-19 21:33:52 -07:00
neauoire
50b11f12ca Removed magic helpers 2021-04-19 21:00:14 -07:00
neauoire
82f7103a55 Started migrating to new assembler 2021-04-19 17:23:30 -07: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
Andrew Alderwick
fc4e2e2876 Dropped File.vector, add File.result short 2021-04-14 20:38:32 +01:00
neauoire
ac9f94dd6d Optimizing drawing routines 2021-04-14 12:11:01 -07:00
neauoire
6a6e9acc50 Trying to optimize drawing routines 2021-04-13 22:50:01 -07:00
Andrew Alderwick
0bd8a3066e Added procedurally generated wallpaper example 2021-04-13 22:47:46 +01:00
Andrew Alderwick
253c2b8906 Made Audio.value unsigned 2021-04-13 21:54:18 +01:00