Commit Graph

287 Commits

Author SHA1 Message Date
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
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
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 b752f5f2bc Added drawing to the mouse example 2021-04-22 11:08:06 -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 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 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
neauoire a293c1daa8 Ported the hello-world example 2021-04-20 11:32:26 -07:00
neauoire 82f7103a55 Started migrating to new assembler 2021-04-19 17:23:30 -07:00
neauoire 2e496e8d55 Started implementing 2-bit mode in nasu 2021-04-14 22:06:22 -07: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
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 359c373d68 Removed overdrawing in PPU 2021-04-11 20:38:21 -07:00
neauoire 01dbf400db Removed warning 2021-04-11 09:58:47 -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 98c32fd95c Improved blending for chr parsing 2021-04-10 12:25:37 -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 9dda5bdf1b Removed unused function call in emu 2021-04-08 16:47:38 -07:00
neauoire 169e659ab8 Minor cleanup 2021-04-08 16:30:44 -07:00
Andrew Alderwick f76f8cf6ef Added apu.h to clang-format 2021-04-08 21:21:46 +01:00
neauoire 69f770f56f Removed some globals 2021-04-08 09:59:45 -07:00
neauoire 63fa4242c3 Minor cleanup 2021-04-07 20:30:10 -07:00
neauoire 31a9e3d64c Started moving PPU into its own file 2021-04-07 17:32:18 -07: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 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
neauoire 818ade6db1 Fixed emulator frame bug 2021-04-04 20:58:47 -07:00
neauoire 3dafa868cb Minor cleanup 2021-04-04 20:35:52 -07:00
neauoire 7529e119cd Removed status byte in CPU 2021-04-04 20:24:11 -07:00
neauoire 3ca4fb6b42 Clamp at 60fps 2021-04-04 11:47:13 -07:00
neauoire 98da3cbe31 Tiny optimization 2021-04-04 10:03:20 -07:00
neauoire edd7abdca5 Ported examples to new audio api 2021-04-03 20:58:42 -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 eb3026cde0 Adding notes to audio track is working 2021-04-02 19:19:31 -07:00
neauoire 7275dbd131 Added visuals to the datetime device example 2021-04-01 11:46:41 -07:00
neauoire 409ba7ef1a Improved left 2021-03-30 20:36:41 -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 ebdb079cae Fixed issue with assembler segfault 2021-03-28 10:20:24 -07: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
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 bdaca53a7c Improving noodle 2021-03-24 16:30:52 -07:00
neauoire 16f9b92d4a Progress toward migrating to proper peek/load 2021-03-24 10:50:55 -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 2c8ce4970e Print stack in debugger 2021-03-22 19:24:05 -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 e860fc8932 Add emulator without SDL window. 2021-03-22 20:36:38 +00: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 465b85d579 About to move the device page 2021-03-21 13:52:38 -07:00
neauoire c60dbfe872 Started implementing peek/poke 2021-03-21 11:28:59 -07:00
neauoire f4423ad629 Fixed issue with label length in pass2 2021-03-21 10:38:46 -07:00
neauoire 5610b9eb77 Cleanup 2021-03-21 10:30:43 -07:00
neauoire c9a64edf7b Reorganizing operators, again 2021-03-21 10:24:44 -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 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 261364f20e Noodle drawing from brush size 2021-03-18 10:54:54 -07:00
neauoire f792684b44 Fixed balancing flags 2021-03-17 10:18:43 -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 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 c549a6c710 Rewrote the snake example 2021-03-14 17:32:40 -07:00
neauoire 9cd5bf7d0a Renamed RTS to RTN 2021-03-14 14:26:17 -07:00
neauoire 677515924a Minor cleanup 2021-03-14 13:47:09 -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 0d9df02190 Minor cleanup 2021-03-13 14:55:29 -08:00
neauoire fd883dc4c8 Implementing better macros 2021-03-13 10:31:29 -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 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 39c157e65a Progress on left 2021-03-07 12:32:19 -08:00
neauoire d8cbd22574 Added operations to shift tiles 2021-03-06 11:44:18 -08:00
neauoire 61581c7956 Progress on nasuUXN 2021-03-03 11:49:26 -08:00
neauoire d8fdf3840b Started sprite editor 2021-03-02 10:14:55 -08:00
neauoire f42a307f1f Started repairing the key example 2021-03-01 17:05:04 -08:00
neauoire e162b4f083 Cleanup 2021-03-01 09:16:40 -08:00
neauoire 0027296839 Improved hover example 2021-03-01 08:55:16 -08:00
neauoire 77a00f7a7e Starting hex editor in usm 2021-02-28 20:52:41 -08:00
neauoire ff3d5e340e Rewrote gui.hover 2021-02-28 19:49:53 -08:00
neauoire 2ea562948d Started implementing dev/system 2021-02-28 11:17:32 -08:00
neauoire c79118bd90 Fixed issue with dev/ctrl 2021-02-28 09:40:19 -08:00
neauoire c10ec5915e Ported the shapes example 2021-02-27 11:39:12 -08:00
neauoire bb5fa6a70c Rewrote picture routine 2021-02-27 09:39:06 -08:00
neauoire b014a73bcd Started migrating examples to new devices setup 2021-02-26 16:38:20 -08:00
neauoire 3c04e1ece1 Started porting the screen device to memory 2021-02-26 14:36:48 -08:00
neauoire 54da651c97 Added hover example 2021-02-25 21:02:24 -08:00
neauoire 8e17ae059b Minor opt to emulator 2021-02-25 16:03:45 -08:00
neauoire e05290f235 Rewrote the image routine 2021-02-24 20:28:20 -08:00
neauoire fd3833c564 Added mouse test 2021-02-24 11:11:19 -08:00
neauoire 552d718b24 Improved polycat example 2021-02-23 17:57:57 -08:00
neauoire 0f84c646f6 Added window example 2021-02-22 12:07:36 -08:00
neauoire 46f02bf4d4 Starting pattern example 2021-02-21 20:02:38 -08:00
neauoire a1bc5f3593 Added blending modes to color 2021-02-21 16:52:51 -08:00
neauoire b01987b175 Rewrote rect routines 2021-02-21 13:23:36 -08:00
neauoire e1a5cc6195 Fixed shapes example 2021-02-20 17:14:36 -08:00
neauoire e4b6717981 Rewrote the devscreen example 2021-02-20 15:00:34 -08:00
neauoire 6a095e8a22 Added polycat 2021-02-20 14:07:20 -08:00
neauoire aa96d7f6dd New ctrl example 2021-02-20 10:34:10 -08:00
neauoire 463fe1f7bc Rewrote the drag example 2021-02-19 20:21:37 -08:00
neauoire ac08f08a4d Starting paint example 2021-02-18 18:16:39 -08:00
neauoire 408a73835f Redesign of screen 2021-02-18 15:11:02 -08:00