0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-08 23:35:05 +00:00
Commit graph

320 commits

Author SHA1 Message Date
neauoire
8cc7d5c2bb Added a few large fonts 2021-07-02 12:12:51 -07:00
neauoire
3ecf16b504 Font example 2021-07-02 10:57:50 -07:00
neauoire
cf0790a89d Improved the key example 2021-07-01 17:33:55 -07:00
neauoire
c9f10cd45a Implemented console i/o to drum-rack 2021-06-29 20:54:11 -07:00
neauoire
95aa3dba35 Simplified hello world 2021-06-28 09:42:55 -07:00
neauoire
274edad29d Simplified console 2021-06-28 09:40:29 -07:00
neauoire
2aaf936573 Minor optimization to piano 2021-06-27 16:48:38 -07:00
neauoire
f8f2f66756 The console read byte is its own location 2021-06-27 16:42:47 -07:00
Andrew Alderwick
802aa51d54 Added Console/vector implementation with example 2021-06-27 21:45:50 +01:00
neauoire
4e8375d8df Removed the Midi device 2021-06-26 13:17:41 -07:00
neauoire
04582724d5 Improved the keys example top reflect mods 2021-06-25 08:36:33 -07:00
Andrew Alderwick
824444351a Replaced Mouse/chord with Mouse/wheel 2021-05-31 23:08:34 +01:00
neauoire
716e36aa5f Re-added the label example 2021-05-31 14:52:25 -07:00
neauoire
fbc0b762c9 Renamed USM to TAL files 2021-05-31 14:50:36 -07:00
neauoire
0183c05d37 Added piano samples in project 2021-05-28 12:37:59 -07:00
neauoire
d163c43201 Improved uxncli and moved all demos into examples 2021-05-26 10:02:13 -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
693742a7a4 Fixed label alignment 2021-05-24 22:27:45 +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
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
neauoire
3b9519d945 Created within-rect routine 2021-05-15 21:35:01 -07:00
neauoire
e289b359d8 Ported automata 2021-05-15 13:09:11 -07:00
Andrew Alderwick
72dd7d5a87 Optimized some MOD operations 2021-05-15 09:44:20 +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
neauoire
a4c8066043 Cleaned example files 2021-05-12 18:28:45 -07:00
neauoire
0c188ef3fa Minor optimizations to the examples 2021-05-12 12:08:51 -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
b99cc32ba6 Added Game Of Life 2021-05-05 20:16:27 -07:00
neauoire
f5fb9714e4 * 2021-05-03 09:57:39 -07:00
neauoire
993719818a Removed LTS/GTS opcodes 2021-05-01 09:59:57 -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
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
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
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
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
268ccd0519 Moved printing routines from tests/opcodes to console example 2021-04-24 09:37:43 +01: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
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
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
2e496e8d55 Started implementing 2-bit mode in nasu 2021-04-14 22:06:22 -07: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
Andrew Alderwick
43cde08b68 Audio.pitch MSB must be 1 to use current synth 2021-04-13 21:52:54 +01: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
Andrew Alderwick
0e36e4da69 Fixed File device members 2021-04-12 21:02:47 +01:00
neauoire
359c373d68 Removed overdrawing in PPU 2021-04-11 20:38:21 -07:00
neauoire
ad19620b82 Merged ctrl with text 2021-04-10 19:39:32 -07:00
neauoire
c1c0f8f2bc Improved picture example 2021-04-10 12:19:38 -07:00
neauoire
131157cd53 Fixed issue with mouse button not being released 2021-04-10 11:24:38 -07:00
neauoire
a6cea37ef4 Silent audio example 2021-04-09 13:38:47 -07:00
neauoire
d6036dec6b Revamped the screen example 2021-04-09 12:15:38 -07:00
neauoire
ffded2f642 Merged sprite in screen device 2021-04-09 10:01:53 -07:00
neauoire
c9ddd01696 Added keyboard controls to dev.audio 2021-04-07 21:01:36 -07:00
Andrew Alderwick
3dec3e1264 Name things consistent with documentation 2021-04-07 22:12:10 +01:00
Andrew Alderwick
f3bf1a74db Added Uxn-based synth 2021-04-07 21:57:17 +01:00
neauoire
5dc0245c9e Optimization on noodle 2021-04-06 10:45:53 -07:00
neauoire
2e3cfff210 Porter more examples to the new vectors 2021-04-05 13:27:43 -07:00
neauoire
364ba49da8 Ported screen example to new vectors 2021-04-05 13:14:37 -07:00
neauoire
3f98a2a832 Ported keys example to new vectors 2021-04-05 13:00:55 -07:00
neauoire
4c370d96d1 Started porting examples to new vectors 2021-04-05 11:58:26 -07:00
Andrew Alderwick
c7c237895a Corrected audio example pitch constants. 2021-04-05 11:16:43 +01:00
neauoire
818ade6db1 Fixed emulator frame bug 2021-04-04 20:58:47 -07:00
neauoire
edd7abdca5 Ported examples to new audio api 2021-04-03 20:58:42 -07:00
neauoire
dcfb6fb5bf Do not trigger on asdr change 2021-04-03 20:29:00 -07:00
neauoire
739b13c1e3 Flipped the ch vol/pitch ports 2021-04-03 17:17:40 -07:00
neauoire
fe6514e2ef Rotate knobs counter-clockwise 2021-04-03 12:05:13 -07:00
neauoire
ab0bdba76e Minor cleanup 2021-04-03 11:44:22 -07:00
neauoire
d5f726e0e7 Removed unused assets 2021-04-03 11:40:26 -07:00
neauoire
2c415babd9 Implemented adsr knobs 2021-04-03 11:24:23 -07:00
neauoire
da338aade1 Added channel selection to dev.audio 2021-04-03 09:52:56 -07:00
neauoire
77e2f0eea9 Started channel selector 2021-04-02 20:40:53 -07:00
neauoire
fc88ab0421 Playing works in the daw 2021-04-02 19:50:20 -07:00
neauoire
eb3026cde0 Adding notes to audio track is working 2021-04-02 19:19:31 -07:00
Andrew Alderwick
e7be81d678 Implemented stereo sound. 2021-04-02 20:43:03 +01:00
neauoire
6be1ab909d Implemented ADSR envelopes. 2021-04-02 12:31:06 -07:00
neauoire
d0db60ae39 Starting work on audio example 2021-04-02 11:50:37 -07:00
Andrew Alderwick
e39ed74796 Implemented ADSR envelopes. 2021-04-02 19:26:50 +01:00
Andrew Alderwick
8a8960debe Added per-second dings to time example. 2021-04-02 16:05:29 +01:00
neauoire
1216b58cc1 Cleanup 2021-04-01 21:53:41 -07:00
neauoire
a3ce59fa93 Improved clock 2021-04-01 21:44:23 -07:00
neauoire
656484b4e1 Fixed redraw and 12 hours format with clock 2021-04-01 17:21:13 -07:00
neauoire
7275dbd131 Added visuals to the datetime device example 2021-04-01 11:46:41 -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
296d4c5070 Removed offset from assembly export size 2021-03-28 12:20:54 -07:00
neauoire
c91bf304e6 Ported all examples 2021-03-28 11:20:36 -07:00
neauoire
ebdb079cae Fixed issue with assembler segfault 2021-03-28 10:20:24 -07:00
neauoire
f740ec3feb Minor cleanup 2021-03-27 11:04:05 -07:00
Andrew Alderwick
0442d7e625 Added time device and example. 2021-03-27 11:24:02 +00:00
neauoire
f3e920c54d Optimized examples to use relative jumping whenever available 2021-03-26 11:45:10 -07:00
neauoire
8e2a8df848 JNZ now uses the flag last 2021-03-26 11:19:19 -07:00
neauoire
47a57952e8 Ported the examples 2021-03-26 10:35:00 -07:00
neauoire
1f9155400d Added zoom toggle controls to emulator 2021-03-24 09:39:19 -07:00
Andrew Alderwick
fe5aa44816 Add example for enhanced file device. 2021-03-23 20:10:35 +00:00
neauoire
2e90428b0c Added color picker for screen example 2021-03-23 11:44:36 -07:00
neauoire
f884031c2d Repaired dev.keys example 2021-03-22 12:33:15 -07:00
neauoire
c191c7ea3d Added circle to shapes 2021-03-22 09:42:48 -07:00
neauoire
5eedfea8e6 Optimized noodle 2021-03-21 16:33:34 -07:00
neauoire
6cea4d8c4a Ported examples to new devices addr 2021-03-21 14:16:19 -07:00
neauoire
ac76a7ca8b Added bresenham to noodle 2021-03-21 09:18:52 -07:00
neauoire
195a54c6d6 Experimenting with signed cmp 2021-03-20 21:46:52 -07:00
neauoire
d4a5d9e9cb Progress on merging shifts 2021-03-19 21:00:41 -07:00
neauoire
9f7e0edb84 Renamed SHR for SFT 2021-03-19 20:41:45 -07:00
neauoire
39c47c9571 Fixed broken example 2021-03-19 20:38:20 -07:00
neauoire
f792684b44 Fixed balancing flags 2021-03-17 10:18:43 -07:00
neauoire
b52417b66c Implemented more macros in left/nasu 2021-03-16 11:25:26 -07:00
neauoire
71c0b357ce Renamed ROL for SHL 2021-03-16 09:33:44 -07:00
neauoire
aefa988430 Removed RTN 2021-03-15 21:29:44 -07:00
neauoire
d848cc1f54 Removing signed mode 2021-03-15 18:08:41 -07:00
neauoire
82d1c276f9 Automated pop on cond? 2021-03-15 15:27:43 -07:00
neauoire
c92b2009a3 Flag unused macros properly 2021-03-14 17:41:52 -07:00
neauoire
c549a6c710 Rewrote the snake example 2021-03-14 17:32:40 -07:00
neauoire
481a318732 Optimized some example files 2021-03-14 15:17:00 -07:00
neauoire
9cd5bf7d0a Renamed RTS to RTN 2021-03-14 14:26:17 -07:00
neauoire
a1b2a00adb Ported left to new asm syntax 2021-03-13 20:51:43 -08:00
neauoire
b4e766fd52 Improved some of the examples 2021-03-13 18:25:58 -08:00
neauoire
57d29b1b10 Redesigned assembler 2021-03-13 17:34:08 -08:00
neauoire
b42cec41ef Implemented local templated labels 2021-03-11 15:47:28 -08:00
neauoire
59e6ced7b9 Migrated loops to relative format 2021-03-11 14:00:32 -08:00
neauoire
9bb4b84e2f Jump experiments 2021-03-11 12:19:59 -08:00
neauoire
e3e2b792a6 Started migrating to relative jumps 2021-03-10 19:41:46 -08:00
neauoire
d8cbd22574 Added operations to shift tiles 2021-03-06 11:44:18 -08:00