1
0
mirror of https://github.com/pevans/erc-c.git synced 2026-01-22 16:16:12 +00:00

Commit Graph

  • a5c777b3e9 Remove --size flag for now Peter Evans 2018-03-13 15:22:47 -05:00
  • 2c676e144a Rename test to open_file Peter Evans 2018-03-13 15:19:26 -05:00
  • d0b085fd7a Add test for hexdump Peter Evans 2018-03-13 15:18:54 -05:00
  • 851bc85860 We should print the final line if from is still >= to Peter Evans 2018-03-13 15:17:33 -05:00
  • ed32f73e98 Use another pointer to retain the original address to free Peter Evans 2018-03-13 11:00:44 -05:00
  • a243ed3d35 Add docblock comments Peter Evans 2018-03-13 00:53:46 -05:00
  • 7d9879f843 Add file for lores tests Peter Evans 2018-03-13 00:50:10 -05:00
  • f33f9cd493 Remove unnecessary check if tok == NULL Peter Evans 2018-03-13 00:33:32 -05:00
  • 090307f4fe Removed unnecessary code Peter Evans 2018-03-13 00:28:24 -05:00
  • 7d043abc9f Force removal of test program Peter Evans 2018-03-13 00:27:10 -05:00
  • dc8a431f87 Always notify the screen of a refresh required Peter Evans 2018-03-13 00:13:59 -05:00
  • 19d006e9a3 Update tests to include register info Peter Evans 2018-03-13 00:12:52 -05:00
  • 5dcc25f5eb Reject -1 rows and columns Peter Evans 2018-03-12 00:33:22 -05:00
  • 543e3d0b73 Use uint32_t for all fields Peter Evans 2018-03-12 00:33:08 -05:00
  • 97865e9589 Subtract 0x400 for the correct offset Peter Evans 2018-03-12 00:32:42 -05:00
  • e868718f31 (No, really, use the color blue) Peter Evans 2018-03-11 23:48:40 -05:00
  • df960220ef First crack at lo-res graphics Peter Evans 2018-03-11 23:28:28 -05:00
  • 5a43ca9a7a Return random data in read contexts Peter Evans 2018-03-10 22:36:31 -06:00
  • ce6f3c5835 Return bit 7 high if we set a flag on Peter Evans 2018-03-10 22:21:03 -06:00
  • 550eab742e Move hdump into correctly sorted slot Peter Evans 2018-03-09 16:51:12 -06:00
  • 74e8a30a4c Disassemble flag now works as intended Peter Evans 2018-03-09 16:46:04 -06:00
  • ab6e6b03db Use option_open_file() Peter Evans 2018-03-09 16:45:39 -06:00
  • 87c7aa9249 Add hexdump function for vm_segment Peter Evans 2018-03-09 16:45:20 -06:00
  • 1ff5d17f19 Add hexdump command Peter Evans 2018-03-09 16:44:53 -06:00
  • 267171ea4a Change to option_open_file(), allow any file mode Peter Evans 2018-03-09 16:44:20 -06:00
  • 1235197418 Only fprintf if we know stream is not NULL Peter Evans 2018-03-07 21:24:29 -06:00
  • dda7ae6288 When paused for the debugger, output should go to stdout Peter Evans 2018-03-07 21:24:15 -06:00
  • d791ebbe2f Remove some unnecessary comments Peter Evans 2018-03-07 21:07:39 -06:00
  • 4d2f4ffd5f Set width/height as soon as we parse Peter Evans 2018-03-07 20:55:04 -06:00
  • 14123882c2 Use vm_di_get for file streams to close them Peter Evans 2018-03-07 20:54:46 -06:00
  • f555196080 Test for !OK with system data addresses Peter Evans 2018-03-07 20:42:27 -06:00
  • 4d4fbdf79a Switch to vm_di for option variable storage Peter Evans 2018-03-07 20:25:39 -06:00
  • 58190f0c9b Move notify_refresh into the proper file Peter Evans 2018-03-07 17:08:16 -06:00
  • 0edfcaf370 Add test for notify_refresh, skip for draw Peter Evans 2018-03-07 17:06:50 -06:00
  • c3b86031bd Add tests for primary, alternate functions Peter Evans 2018-03-07 17:00:11 -06:00
  • 9cbfcac783 Add missing docblock comments Peter Evans 2018-03-07 16:28:11 -06:00
  • 9f09be93a9 Implement (true? better?) framerate cycle Peter Evans 2018-03-07 16:20:29 -06:00
  • f1c0716313 Include draw.h header Peter Evans 2018-03-07 15:33:09 -06:00
  • b00442a1c4 Change width/height to 3x apple window size Peter Evans 2018-03-07 15:23:00 -06:00
  • d5450bf743 Refresh once every 30th of a second Peter Evans 2018-03-07 00:20:27 -06:00
  • 91291be889 Draw the full screen at boot time to emulate initial look Peter Evans 2018-03-07 00:19:51 -06:00
  • b2df144850 Remove blank-space render to speed up render time Peter Evans 2018-03-07 00:15:25 -06:00
  • 7edf0c5dbd Display @ symbols on startup Peter Evans 2018-03-06 22:12:41 -06:00
  • 1a6d8b6ced Actually do render control characters Peter Evans 2018-03-06 12:46:33 -06:00
  • 136d019f7a Show non-inversed text for Apple //e Peter Evans 2018-03-06 12:41:30 -06:00
  • 5fa696005d Slash character should be a forward slash Peter Evans 2018-03-06 00:28:52 -06:00
  • 9562dd19ce Rewrite dd to use phases and half-track steps Peter Evans 2018-03-03 21:29:19 -06:00
  • f59f5e2d55 Remove colors Peter Evans 2018-03-02 16:43:22 -06:00
  • 9d585d6ef3 Remove colors Peter Evans 2018-03-02 16:43:00 -06:00
  • 998a139c00 Use state machine for stepper motor changes Peter Evans 2018-03-02 16:42:22 -06:00
  • cbf693b186 Stop showing colors from criterion Peter Evans 2018-03-02 16:41:44 -06:00
  • c5d1542937 Show correct PC counter in scan Peter Evans 2018-03-01 21:37:10 -06:00
  • b239cac239 Add dblock command to disassemble blocks of code Peter Evans 2018-03-01 19:31:56 -06:00
  • 0315eb33bf Better testing for ROL/ROR Peter Evans 2018-03-01 18:31:03 -06:00
  • 0949661b18 Do a better job testing overflow Peter Evans 2018-03-01 17:24:51 -06:00
  • f8bda4ebd3 Remove modify_status() function Peter Evans 2018-02-28 21:40:52 -06:00
  • 8d0cf264d7 Add missing NZ checks in INC and DEC Peter Evans 2018-02-28 21:34:58 -06:00
  • 49199eac84 Rewrite status checks with macros Peter Evans 2018-02-28 21:16:39 -06:00
  • 4baec33e24 We should check status for PLX/PLY Peter Evans 2018-02-28 19:53:26 -06:00
  • edd175c1f9 Add disasm command (toggle disassembly) Peter Evans 2018-02-26 20:52:13 -06:00
  • 4558e62adc Use the correct name for the quit command function Peter Evans 2018-02-26 20:46:19 -06:00
  • 26e2abe745 Test that ASL sets carry Peter Evans 2018-02-26 20:33:52 -06:00
  • 724dbb1577 Add test to ensure decimal mode is respected for SBC Peter Evans 2018-02-26 20:33:33 -06:00
  • 0333e308e7 Test decimal mode with ADC Peter Evans 2018-02-26 20:02:58 -06:00
  • 30c07df9cb When carry is set, subtract one fewer, not one more Peter Evans 2018-02-26 18:58:35 -06:00
  • 4b4e58089b Add missing function decls Peter Evans 2018-02-26 18:53:59 -06:00
  • d1a6441c5a Add missing tests for vm_debug.c Peter Evans 2018-02-26 14:25:02 -06:00
  • fec8ef0743 Allow $XX hex notation Peter Evans 2018-02-26 14:21:20 -06:00
  • 5bb76164dc Add missing docblocks for vm_debug.c Peter Evans 2018-02-26 14:10:16 -06:00
  • 1cec80cead Don't immediately pause Peter Evans 2018-02-26 13:54:32 -06:00
  • f376f00688 Fix scan test not to rely on buggy operand output debugger Peter Evans 2018-02-25 16:16:14 -06:00
  • 7b3b30a0f2 Use addr2 for ws tests Peter Evans 2018-02-25 16:14:05 -06:00
  • 7ad0ad8024 Unbreak current PC in resume; use addr2 in writestate Peter Evans 2018-02-25 16:12:15 -06:00
  • aa53fdd77e Erase strings before we print anything else Peter Evans 2018-02-25 16:06:27 -06:00
  • 67c7790a1a Show current opcode Peter Evans 2018-02-25 15:52:37 -06:00
  • e50fda62be Add step command Peter Evans 2018-02-25 15:41:37 -06:00
  • 01f230dc85 Add unbreak command, unbreak_all() function for testing Peter Evans 2018-02-25 14:38:24 -06:00
  • c17616c383 Execute will no longer run if PC is at a breakpoint Peter Evans 2018-02-25 14:27:47 -06:00
  • 588362abee Add prompt; quit command; breakpoints Peter Evans 2018-02-25 14:25:02 -06:00
  • d4891a3fbf No, really, add the writeaddr command Peter Evans 2018-02-24 19:38:55 -06:00
  • 09f7152e07 Add writeaddr command Peter Evans 2018-02-24 19:38:04 -06:00
  • 06bf63ecb2 Add jump debug command Peter Evans 2018-02-24 19:36:02 -06:00
  • 1be1abc0af Add printaddr, printstate Peter Evans 2018-02-24 18:57:00 -06:00
  • ec253905ad Add resume command, finder function, arg parser, execute Peter Evans 2018-02-24 16:30:46 -06:00
  • a614c1e5df Add new file, vm_debug.c, and help command for it Peter Evans 2018-02-23 21:58:30 -06:00
  • ac5d532a7f Fix length bug with s_bytes (one too short) Peter Evans 2018-02-23 21:35:53 -06:00
  • 395ac4a841 Disassembler now outputs more idiomatic code Peter Evans 2018-02-23 20:46:24 -06:00
  • 0d1e22a348 Add support for decimal mode ADC/SBC. Peter Evans 2018-02-23 00:46:07 -06:00
  • 2669460c6d Resolve potential bad dereference on sectab Peter Evans 2018-02-22 14:11:54 -06:00
  • bee2a0e86a Add missing docblocks for NP2 and NP3 65c02 Peter Evans 2018-02-22 14:10:19 -06:00
  • 978ad1faaf Formerly "BAD" instructions are now forms of NOPs Peter Evans 2018-02-22 14:07:05 -06:00
  • 691387894a ASL, LSR, ROL, ROR in ABX now consume only 6 cycles Peter Evans 2018-02-22 13:45:36 -06:00
  • e35ff91fa7 Clear the decimal bit in BRK; also improve test logic for BRK Peter Evans 2018-02-22 13:44:13 -06:00
  • 90892c32e4 Add TSB (Test and Set Bits) instruction Peter Evans 2018-02-22 13:39:48 -06:00
  • a4c3d1c4ef Implement the TRB (Test and Reset Bits) instruction Peter Evans 2018-02-22 00:39:33 -06:00
  • 807362e871 Add STZ instruction (to store zero) Peter Evans 2018-02-22 00:02:57 -06:00
  • 7363547608 Add PHX/Y and PLX/Y to the opcode, addr mode, cycle tables Peter Evans 2018-02-21 23:35:36 -06:00
  • 8e1ab0e950 Add support for PHX, PHY, PLX, PLY Peter Evans 2018-02-21 23:32:57 -06:00
  • f9a277e7bc Add new Branch Always instruction Peter Evans 2018-02-21 21:57:21 -06:00
  • 58a1e31f58 Allow JMP to work with ABX address mode Peter Evans 2018-02-21 21:46:41 -06:00