Commit Graph

403 Commits

Author SHA1 Message Date
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 52eb7f11af Pass Uxn *u to poke routines instead of Uint8 *m. 2021-03-22 21:22:06 +00:00
Andrew Alderwick ecc50fd9f2 Add test suite skeleton. 2021-03-22 20:36:38 +00:00
Andrew Alderwick e860fc8932 Add emulator without SDL window. 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
Andrew Alderwick 8fd39ecf7e Update opr[][4] for new opcodes. 2021-03-21 21:09:54 +00: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 5661eb2a2b Cleanup 2021-03-21 11:04:20 -07:00
neauoire 1fa0c5b686 Added alderwicks fix 2021-03-21 10:42:50 -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 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 3eb3ea81a7 Fixes from Sigrid for plan9 2021-03-16 09:01:47 -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