Commit Graph

831 Commits

Author SHA1 Message Date
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
Andrew Alderwick 169c4b1402 Updated asma with new opcode use 2021-08-18 07:33:53 +01: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 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
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 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 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
neauoire c5b8595fb5 Reduced PAD, display usage:, and added 2 fonts 2021-07-24 10:27:27 -07:00
Andrew Alderwick ced41f6d70 Progress on REPL 2021-07-11 21:32:32 +01: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 78cd998177 Added repl project skeleton 2021-07-10 21:50:13 +01:00
Andrew Alderwick 2598899e89 Renamed fonts to always include their size 2021-07-10 21:25:40 +01:00
Andrew Alderwick 30a2e2356c Converted specter8, left and orca fonts to uf1 2021-07-10 21:18:12 +01:00
Andrew Alderwick 95789d5a7e Corrected load sizes for uf[1-3] fonts 2021-07-10 20:23:27 +01:00
neauoire c751b77ca8 Added Sans Font 2021-07-10 11:03:08 -07: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
Andrew Alderwick d3aaf705f3 Ported asma to new simplified Console device 2021-07-07 21:04:53 +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 f86a5447c4 Removed unused font 2021-07-01 15:32:23 -07:00
neauoire d81eb4a2d0 Cleanup fonts 2021-07-01 15:31:46 -07:00
neauoire c9f10cd45a Implemented console i/o to drum-rack 2021-06-29 20:54:11 -07:00
neauoire 74fc816810 Flagged functions as static 2021-06-28 14:42:36 -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 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
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
neauoire 15ffab9d84 Removed left/orca from the repo 2021-05-24 20:53:08 -07:00
neauoire e71817759b Added more details to the README 2021-05-24 20:39:40 -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 e5f2c2bbd2 Slowed down life demo 2021-05-24 22:35:32 +01:00
Andrew Alderwick 776b291b3d Fixed macro names in musictracker 2021-05-24 22:30:01 +01:00
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
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
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
neauoire 359c373d68 Removed overdrawing in PPU 2021-04-11 20:38:21 -07: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 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 f14f8a64f4 Progress on orca 2021-04-09 20:06:45 -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 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
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 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 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
neauoire 3d8ddc143a Each device now has its own vector 2021-04-05 11:39:08 -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
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 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 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
neauoire b522da962e Merge branch 'master' of git.sr.ht:~rabbits/uxn 2021-03-28 10:20:34 -07:00
neauoire ebdb079cae Fixed issue with assembler segfault 2021-03-28 10:20:24 -07:00
Andrew Alderwick dad540651e Hard-code vectors. 2021-03-28 18:19:06 +01:00
Andrew Alderwick 823e0e8cda Written manual tests for LITr and LIT2r. 2021-03-28 12:09:41 +01:00
Andrew Alderwick cc89595aeb Fixed test suite. 2021-03-28 12:09:21 +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
Andrew Alderwick 0442d7e625 Added time device and example. 2021-03-27 11:24:02 +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 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 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 a646d34cf4 Merge branch 'master' of git.sr.ht:~rabbits/uxn 2021-03-24 16:32:32 -07:00
neauoire bdaca53a7c Improving noodle 2021-03-24 16:30:52 -07:00
Andrew Alderwick 008ccf4e76 Get test suite running in SDL Uxn. 2021-03-24 23:15:42 +00: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
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 6df5a1a767 Starting Theme app 2021-03-22 20:04:04 -07:00
neauoire 82674a1484 Created a debugger 2021-03-22 19:04:31 -07:00
neauoire 1db61376a2 Starting cleanup 2021-03-22 16:51:12 -07:00
Andrew Alderwick 118afe5fb4 Add debug device.
Writing to Debug.stack prints a stack dump; writing to Debug.snapshot
makes a snapshot of the running VM and compares it to a previous one if
it exists; writing to Debug.exit terminates the VM; and writing to
Debug.test_mode activates features handy for automated testing.
test_mode is certainly subject to change.
2021-03-22 23:22:47 +00:00
Andrew Alderwick ecc50fd9f2 Add test suite skeleton. 2021-03-22 20:36:38 +00: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 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 d7f355b0be Fix issue in stack balance 2021-03-21 14:37:39 -07:00
neauoire 6cea4d8c4a Ported examples to new devices addr 2021-03-21 14:16:19 -07:00
neauoire 3d59eafa3b Moved devices to second page 2021-03-21 13:58:32 -07:00
neauoire c60dbfe872 Started implementing peek/poke 2021-03-21 11:28:59 -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 ea8fa6e1ed Improved nasu mouse controls 2021-03-20 12:25:26 -07:00
neauoire 0d6f81570b Added extra keyboard controls to Noodle 2021-03-20 11:37:01 -07:00
neauoire d9aa276b13 Better op order for SFT 2021-03-19 21:22:51 -07:00
neauoire 0c18938e9f Removed SHL for SFT 2021-03-19 21:13:09 -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 71371f86c8 Added clear canvas routine 2021-03-19 17:40:15 -07:00
neauoire d7ffde1413 Improved noodle theme 2021-03-19 14:13:19 -07:00
neauoire 38c9d742f9 Added new graphic 2021-03-19 14:07:17 -07:00
neauoire 3b38421b35 Fixed stack balance issue 2021-03-19 13:41:59 -07:00
neauoire 83932d8847 Improved zoom 2021-03-19 12:43:29 -07:00
neauoire 8f1e5732e0 Optimized redraws 2021-03-19 12:09:55 -07:00
neauoire 910ef5dc47 Minor cleanup 2021-03-19 11:49:57 -07:00
neauoire 7006d8fc75 Added zoom 2021-03-19 11:29:46 -07:00
neauoire 8ce9a998a2 Minor cleanup 2021-03-19 09:41:23 -07:00
neauoire 781eb5866c Display brush size 2021-03-18 20:53:47 -07:00
neauoire 1b942f63f5 Implemented patterns to Noodle 2021-03-18 19:01:33 -07:00
neauoire e15b1ac5d8 Progress on noodle 2021-03-18 16:05:10 -07:00
neauoire 261364f20e Noodle drawing from brush size 2021-03-18 10:54:54 -07:00
neauoire 4633fcf920 Starting noodle 2021-03-18 10:13:55 -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 f997c5f564 Added missing stack balances 2021-03-16 10:54:07 -07:00
neauoire 71c0b357ce Renamed ROL for SHL 2021-03-16 09:33:44 -07:00
neauoire 06be09eee4 Moved opcodes around 2021-03-16 09:27:51 -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 3280c2031b Started implementing macros 2021-03-14 13:30:17 -07:00
neauoire 0450ed7fe7 Moved things around a bit 2021-03-14 10:40:13 -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 fd883dc4c8 Implementing better macros 2021-03-13 10:31:29 -08:00
neauoire e865be5d88 Optimized drawing 2021-03-12 20:22:28 -08:00
neauoire 89a558bde7 Added mouse status icons 2021-03-12 12:04:44 -08:00
neauoire 4431d59b17 Added chorded controls to left 2021-03-12 11:37:45 -08:00
neauoire 9f264959a3 Minor cleanup 2021-03-11 20:41:35 -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 607f1b567f Completed shift left/right 2021-03-10 11:00:21 -08:00
neauoire 9661defe53 Added alt-click selection 2021-03-10 10:00:43 -08:00
neauoire 35278329d4 Mouse selection 2021-03-10 09:29:08 -08:00
neauoire f46d4a54a4 Improved movements further 2021-03-09 20:26:33 -08:00
neauoire 3cfd2d8828 Improved jump controls 2021-03-09 17:29:56 -08:00
neauoire 7d2a48a0a0 Progress on movements 2021-03-09 11:33:31 -08:00
neauoire c21c2d95aa Fixed redraw issue 2021-03-08 20:05:18 -08:00
neauoire 144624f89e Improved selection 2021-03-08 19:50:12 -08:00
neauoire ffcf73c189 Improved inject 2021-03-08 16:41:31 -08:00
neauoire 2afeee9ed5 Added erase 2021-03-08 12:35:30 -08:00
neauoire 2ce3f60cdc Fixed overflow issue with linebreaks 2021-03-08 11:31:55 -08:00
neauoire dcc2015eb4 Very naive insert 2021-03-08 10:55:57 -08:00
neauoire 0cbe996f45 Progress on Left 2021-03-08 10:30:13 -08:00
neauoire a4ed41e0fd Progress on Left 2021-03-07 21:09:15 -08:00
neauoire f55f2eeada Progress on Left 2021-03-07 18:51:29 -08:00
neauoire 39c157e65a Progress on left 2021-03-07 12:32:19 -08:00
neauoire 3ca7ed4fef Progress on left 2021-03-06 21:30:16 -08:00
neauoire d8cbd22574 Added operations to shift tiles 2021-03-06 11:44:18 -08:00