0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-12-02 02:27:25 +00:00
Commit graph

469 commits

Author SHA1 Message Date
neauoire
30cef63b91 (wireworld.tal) Added wireworld implementation 2022-01-21 15:02:46 -08:00
Andrew Alderwick
7ffaa25475 Renamed devices/datetime.tal to demos/clock.tal. 2022-01-16 01:50:06 +00:00
neauoire
b48db8278f (monospace.tal) Added a 8x8 label drawing example 2022-01-13 10:25:31 -08:00
neauoire
38d2c7cbd7 (boot.rom) Renamed to launcher.rom 2022-01-10 20:35:34 -08:00
neauoire
91560c6d24 (picture.tal) Added example of drawing a picture 2022-01-09 18:13:18 -08:00
neauoire
4657fe2490 (gui/label.tal) Use UF2 properly 2022-01-09 17:04:54 -08:00
neauoire
a8c384daec (animation.tal) Minor optimizations 2022-01-09 13:07:48 -08:00
neauoire
38334a633b Pass fn keys directly to the supervisor 2022-01-07 10:55:09 -08:00
Andrew Alderwick
9024963de1 Add basic in-Uxn debugger and usage example. 2022-01-05 17:27:50 +00:00
Andrew Alderwick
4cbb661f48 Implement System/vector for debugging. 2022-01-05 17:27:24 +00:00
neauoire
c4746c2601 (polycat) Rewrote 2022-01-03 10:19:08 -08:00
neauoire
4ac632f227 Remove debugger from console.tal 2022-01-01 15:24:18 -08:00
neauoire
cca1253376 Use calloc for memory array 2022-01-01 15:20:48 -08:00
neauoire
2a9fc00441 Renamed mouse mod to mouse scroll 2021-12-28 11:21:56 -08:00
neauoire
69f72485c7 Invert y scroll 2021-12-28 10:56:53 -08:00
neauoire
a1dc75a2bc Implemented scroll x/y 2021-12-28 10:45:34 -08:00
neauoire
5af50c7ca0 (terminal.tal) Created a basic terminal example 2021-12-20 11:16:09 -08:00
neauoire
ca1d830055 (font.tal) Migrated to AUTO-Y-ADDR 2021-12-16 10:46:27 -08:00
neauoire
74ab9c85ab (blank.tal) Fixed non-compilation error 2021-12-11 14:31:14 -08:00
neauoire
63c589490c (blank.tal) Cleaned up 2021-12-11 14:28:10 -08:00
neauoire
6e810a080d (subleq.tal) Added new exercise 2021-12-11 10:47:14 -08:00
Andrew Alderwick
9970b65094 Renamed and signed 100r demo. 2021-12-11 16:32:12 +00:00
Andrew Alderwick
19095def48 Add 100r animated logo demo. 2021-12-11 16:28:23 +00:00
neauoire
f1437c993a Removed picture.tal 2021-12-09 14:10:24 -08:00
neauoire
1b362b4fcd (dungeon.tal) Starting a little dungeon exploration demo 2021-12-07 18:07:09 -08:00
neauoire
bae2d37fc2 (uxnasm) Only catch hex labels with slen of 2 or 4 2021-12-06 09:01:48 -08:00
neauoire
b7ea0b7868 Added Rule-110 2021-12-04 11:02:14 -08:00
Andrew Alderwick
58eacef7d4 (life.tal) Remove debugging output. 2021-11-28 19:10:08 +00:00
Andrew Alderwick
24e1820d12 Add RLE text import to life.tal 2021-11-28 00:04:34 +00:00
Andrew Alderwick
6996f1b4f5 Remove invalid comment syntax in darena. 2021-11-28 00:04:34 +00:00
Devine Lu Linvega
baeed39e04 (logic.tal) Cleanup 2021-11-20 17:37:48 -05:00
Devine Lu Linvega
a0ba0e4e79 (logic.tal) Displaying basic gates 2021-11-20 16:17:26 -05:00
Devine Lu Linvega
65d7de8176 (logic.tal) Input can be toggled 2021-11-20 16:06:45 -05:00
Devine Lu Linvega
6262078a04 (logic.tal) Starting logic gates playground 2021-11-20 15:38:01 -05:00
Devine Lu Linvega
7dfce364a5 (clock.tal) Moved watchface drawing outside of RESET 2021-11-20 13:16:24 -05:00
Devine Lu Linvega
31d1503548 (clock.tal) Fixed routine comments 2021-11-20 13:12:12 -05:00
Devine Lu Linvega
5f010b485c (clock.tal) Added minute offset to hour needle 2021-11-20 12:50:41 -05:00
Devine Lu Linvega
6c8600d6b3 (clock.tal) Draw markers in watchface 2021-11-20 12:37:59 -05:00
Devine Lu Linvega
2f648e1e8e (clock.tal) Single rotation routine 2021-11-20 12:18:45 -05:00
Devine Lu Linvega
14b057cd53 (clock.tal) Moved buffers to zero-page 2021-11-20 11:12:25 -05:00
Devine Lu Linvega
f0ba07acde (clock.tal) Print date 2021-11-19 17:31:15 -05:00
Devine Lu Linvega
e8480dc669 (clock.tal) Optimizations 2021-11-19 12:03:27 -05:00
Devine Lu Linvega
0dc6515e08 (clock.tal) Optimizations 2021-11-19 11:46:28 -05:00
Devine Lu Linvega
7f4698d9e2 (clock.tal) Optimizations 2021-11-19 11:37:27 -05:00
Devine Lu Linvega
5dafa039f1 (clock.tal) Added day of the week 2021-11-18 12:47:05 -05:00
Andrew Alderwick
c3ac41c41d Change "include" word into ~ rune for includes. 2021-11-17 22:06:00 +00:00
Devine Lu Linvega
64ec555146 (piano.tal) Added controller controls 2021-11-17 12:24:57 -05:00
Devine Lu Linvega
26040d19cb (clock.tal) Higher font for digits 2021-11-16 14:35:08 -05:00
Devine Lu Linvega
dd6adb3f73 (clock.tal) Fixed issue with hour needle 2021-11-16 13:00:51 -05:00
Devine Lu Linvega
c7759f6212 (clock.tal) Minor optimizations 2021-11-16 12:10:48 -05:00
Devine Lu Linvega
0114af1a10 Added nametable demo 2021-11-16 10:35:11 -05:00
Devine Lu Linvega
10aec891e7 (brainfuck.tal) Removed extra labels 2021-11-13 11:08:21 -05:00
Devine Lu Linvega
92b5624e2f (brainfuck.tal) Minor cleanup 2021-11-13 10:57:54 -05:00
Devine Lu Linvega
7d74fa95f0 (brainfuck.tal) Replaced byte program with characters 2021-11-13 10:50:21 -05:00
Devine Lu Linvega
cd427e5e56 Added brainfuck.tal 2021-11-12 21:51:39 -05:00
Devine Lu Linvega
c63a8fa882 (snake.rom) Minor optimizations 2021-11-11 09:22:07 -05:00
Devine Lu Linvega
912afb678f (snake.rom) Minor optimizations 2021-11-11 09:10:45 -05:00
Andrew Alderwick
054361cb70 Replace load/save with read/write 2021-11-07 19:10:38 +00: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
8926bbab2a Fix new apple hidden underneath snake body 2021-11-02 23:40:42 +00:00
Andrew Alderwick
3747574cf9 Fix apple or snake hidden underneath score 2021-11-02 23:40:19 +00:00
Devine Lu Linvega
a2f826121d Added game reset 2021-11-02 14:04:26 -07:00
Devine Lu Linvega
1bf6eaeec0 Basic snake.tal 2021-11-02 13:13:59 -07:00
neauoire
df6f123c54 Added primes.tal exercise 2021-10-16 20:16:54 -07:00
neauoire
557584819f Added fizzbuzz example 2021-10-12 18:38:45 -07:00
Andrew Alderwick
b78d9e1446 Reimplemented software/asma with reading input filename from Console. 2021-10-07 22:00:54 +01:00
Andrew Alderwick
ac2d30cdb9 Redirected asma messages to stderr. 2021-10-07 21:57:54 +01:00
Andrew Alderwick
4d6fc06778 Splitted asma into library and piano demo. 2021-10-07 21:11:47 +01:00
Andrew Alderwick
4525d47699 Fixed year usage in prng.tal, thanks makeworld! 2021-10-03 01:05:54 +01:00
neauoire
08fb3e7f0a Close uxnemu on System/halt 2021-10-02 12:06:50 -07:00
neauoire
08f7ef10e5 Moved neralie to software 2021-09-28 20:54:03 -07:00
neauoire
c105916fb8 Store center position in datetime.tal 2021-09-26 14:06:18 -07:00
neauoire
ed8de8df7a Added date to datetime example 2021-09-26 13:33:39 -07:00
neauoire
a5201767d7 Clear on resize 2021-09-18 17:18:20 -07:00
neauoire
bca5562eec The screen width/height ports can be written to 2021-09-18 16:51:20 -07:00
neauoire
4406c2856c Sublabels add refs to root labels in uxnasm 2021-09-16 09:11:53 -07:00
neauoire
9835ec4f20 Fixed address issue with screen auto 2021-09-10 09:07:08 -07:00
neauoire
266152e260 Ported devw/devr changes to uxn.c 2021-09-08 17:51:23 -07:00
neauoire
3da1af90a0 Improved shapes example 2021-08-30 14:53:01 -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
a1d18f62f3 More loop optimisations 2021-08-27 00:11:33 +01:00
Andrew Alderwick
0e236eeb91 More INC optimisation in loops 2021-08-26 23:50:27 +01:00
Andrew Alderwick
93a4802782 Lots of INC optimisations 2021-08-26 23:31:46 +01:00
neauoire
7598f40f30 Improved README 2021-08-25 15:53:37 -07:00
Andrew Alderwick
61b8750bae Allowed long tokens within comments (typically URLs) 2021-08-25 22:56:24 +01:00
Andrew Alderwick
5b4ec0be6b Added a second PRNG with longer period 2021-08-25 21:59:30 +01:00
Andrew Alderwick
f4e9e2e915 Added credit for PRNG 2021-08-25 21:08:30 +01:00
Andrew Alderwick
4b5c26c6ca Added PRNG demo example 2021-08-25 21:04:25 +01:00
neauoire
6ec92bf748 Improved audio demo 2021-08-23 10:10:17 -07:00
neauoire
80f8998032 Combined musictracker with audio 2021-08-23 10:08:19 -07:00
neauoire
fb72dd5b98 Reverted fix in Bifurcan 2021-08-22 19:57:25 -07:00
neauoire
12009e88c8 Minor optimizations 2021-08-22 19:56:03 -07:00
Andrew Alderwick
f00ee8c80e Updated neralie for 1bpp ports 2021-08-21 21:58:01 +01:00
neauoire
786fd90a63 Added Ctrl to Bifurcan 2021-08-21 12:35:28 -07:00
Andrew Alderwick
324e72a7fc Added Console output on musictracker.tal to demonstrate Audio*/vector 2021-08-20 22:46:25 +01:00
neauoire
3e747e9220 Optimized shapes 2021-08-18 11:40:51 -07:00
neauoire
e3f181579b Optimized gui examples 2021-08-18 11:14:29 -07:00
neauoire
da229d5a82 Examples cleanup 2021-08-17 19:40:07 -07:00
neauoire
5167a103ec Fixed issue with null vectors 2021-08-17 19:30:34 -07:00
neauoire
ddac370775 Improvement of examples 2021-08-17 19:17:47 -07:00
neauoire
511b2366ee Optimized life 2021-08-17 15:24:37 -07:00
Andrew Alderwick
5d4020ad31 Replaced easy multiplications and modulos 2021-08-17 20:55:10 +01:00
Andrew Alderwick
ad07c29935 Replaced trivial multiplications with shifts and additions 2021-08-17 20:16:46 +01:00
neauoire
acf6dcee48 Removed unused macro in console example 2021-08-16 18:45:27 -07:00
neauoire
19322f1d23 Use NEQk NIP pattern for polycat 2021-08-15 18:09:21 -07:00
neauoire
f59537d993 Use NEQk NIP pattern for piano 2021-08-15 18:03:34 -07:00
neauoire
2ea0425c47 Added NIP to piano 2021-08-15 13:59:56 -07:00
Andrew Alderwick
93dae917fb Added NIP optimisations 2021-08-15 21:25:58 +01:00
Andrew Alderwick
e2190d84d8 Reverted "Removed OVR opcode and replaced with NIP" and uxn-fast.c update.
This reverts commits 1afe39fba4 and 3d3569bab7.
2021-08-15 21:07:32 +01:00
neauoire
1afe39fba4 Removed OVR opcode and replaced with NIP 2021-08-15 12:01:22 -07:00
Andrew Alderwick
ca93072e06 Added tiny optimisation to piano.tal 2021-08-10 19:37:40 +01:00
Andrew Alderwick
cb649172bd Made console.tal compatible with asma 2021-08-10 19:36:07 +01:00
neauoire
9b4aa10f07 Optimized Piano 2021-08-09 11:12:11 -07:00
neauoire
c66260982f Added frame vector to screen.tal 2021-08-08 10:21:58 -07:00
neauoire
897950dcd4 Optimized life.tal 2021-08-07 20:03:13 -07:00
neauoire
4da5e16501 Removed controller.keys 2021-08-04 10:05:01 -07:00
neauoire
b6c40129e4 Cleanup on controller.tal 2021-08-02 11:19:36 -07:00
neauoire
d1755a5e5b Wrote a better controller example 2021-08-02 11:15:21 -07:00
neauoire
55d0ca4a1e Optimized screen.tal 2021-08-02 08:59:16 -07:00
neauoire
c3be359163 Reverted changes to screen.tal 2021-08-01 11:28:37 -07:00
Andrew Alderwick
90acf9ceec Animated screen.tal to demonstrate transparent sprites 2021-08-01 19:21:33 +01:00
neauoire
b826d78a56 Pushed new blending modes 2021-08-01 11:00:07 -07:00
Andrew Alderwick
19b0aa2083 Migrated Screen/color to Screen/pixel and/or Screen/sprite 2021-07-31 21:58:33 +01:00
neauoire
8bf99e6d76 Changed the screen.tal colors to fit the Varvara docs 2021-07-30 20:10:26 -07:00
neauoire
d2c3d0e524 Started implementing the sprite port for the screen device 2021-07-30 19:23:02 -07:00
Andrew Alderwick
616b9445d4 Lined up blank.tal columns 2021-07-29 23:31:09 +01:00
Andrew Alderwick
dc4588f2eb Updated blank.tal devices to match uxnemu 2021-07-29 23:30:21 +01:00
neauoire
b46d317b4f Added system device to uxncli 2021-07-28 15:41:07 -07:00
neauoire
7b7f4fd0f7 System now carries the debug flag, System/0xf is now stopping eval 2021-07-28 10:29:09 -07:00
Andrew Alderwick
91fedff46d Extended Console to write to FD 2-8 (most useful for 2, stderr) 2021-07-11 17:54:30 +01:00
Andrew Alderwick
2598899e89 Renamed fonts to always include their size 2021-07-10 21:25:40 +01:00
Andrew Alderwick
95789d5a7e Corrected load sizes for uf[1-3] fonts 2021-07-10 20:23:27 +01:00
neauoire
dcdf618087 Improved piano example 2021-07-09 11:38:45 -07:00
Andrew Alderwick
358a902c16 Ported remaining examples to new simplified Console device 2021-07-07 21:20:14 +01:00
neauoire
596f1a43b1 Clamp octave in piano example 2021-07-05 09:26:00 -07:00
neauoire
eadfdbe898 Use uf1/uf2/uf3 in font example 2021-07-04 19:19:08 -07:00
neauoire
a7e608adf1 Fixed broken uf1 fonts 2021-07-04 19:17:56 -07:00
neauoire
d7c1dd826d Removed debug from font 2021-07-04 11:44:19 -07:00
neauoire
edb7c1e0ca Fixed small issues with coloring in font 2021-07-04 11:38:51 -07:00
neauoire
fe1e3cebc3 Cleanup of the fonts folder 2021-07-04 11:14:27 -07:00
neauoire
eeb85bdcb1 Modified assembler errors 2021-07-03 20:24:36 -07:00
neauoire
a7060c15ca Optimized the font routines 2021-07-03 12:13:48 -07:00
neauoire
7e4cb5fd1e Minor optimization to font.tal 2021-07-03 10:38:20 -07:00
neauoire
2a95c710b9 Improving the font example 2021-07-03 10:24:23 -07:00
neauoire
ab4a731300 Minor optimizations to the font example 2021-07-03 09:51:03 -07:00
neauoire
b8d06b7e6e Cleaned up font example 2021-07-03 09:11:29 -07:00
neauoire
1bf35de7ad Optimized venice14 2021-07-02 12:33:12 -07:00
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