1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-12 10:30:23 +00:00

Commit Graph

  • 6f875e13e7 Make serial device sort of work. One way. Radosław Kujawa 2017-02-22 22:46:10 +0100
  • dcf275939b Make bus read/writes possible to devices mapped anywhere, not only 0. Radosław Kujawa 2017-02-22 22:43:58 +0100
  • 7ab946c5df First attempt at adding serial port emulated via named pipe on host. Radosław Kujawa 2017-02-22 21:58:41 +0100
  • 53f0136cab Add cleanup function for RAM device. Also cosmetics. Radosław Kujawa 2017-02-21 11:11:21 +0100
  • ec235796c0 Merge branch 'master' of github.com:rkujawa/rk65c02 Radosław Kujawa 2017-02-20 21:32:22 +0100
  • 1dcaa4c53f Adjust test to chnages in bus code (due to device subsystem intro). Radosław Kujawa 2017-02-20 21:30:23 +0100
  • 43e38e567d Further adjustments to get device subsystem working. Radosław Kujawa 2017-02-20 21:29:52 +0100
  • 5cec9a9784 More work on devices subsystem. Radosław Kujawa 2017-02-20 12:31:26 +0100
  • 7baefe9277 Attempt to design a semi-flexible device subsystem. Radosław Kujawa 2017-02-19 21:45:15 +0100
  • 2608ab5846 Better comments. Radosław Kujawa 2017-02-17 12:45:22 +0100
  • 0df6387a41 Simple test case for tracing. Radosław Kujawa 2017-02-15 22:12:56 +0100
  • 90ddf4b400 Fix tests for CMP, CPY, CPX. Carry flag test was inverted, duh! Radosław Kujawa 2017-02-15 22:06:04 +0100
  • cc61646ba9 Fix carry flag setting in comparison instructions. Resolve #2. Radosław Kujawa 2017-02-15 21:58:42 +0100
  • de1ab25427 Make runtime disassembly optional. Radosław Kujawa 2017-02-15 21:38:51 +0100
  • 23492e6533 Refactor due to change in rk65c02_dump_regs. Radosław Kujawa 2017-02-15 21:35:27 +0100
  • 0b83a263d7 Introduce trace functionality. Radosław Kujawa 2017-02-15 21:32:12 +0100
  • b32be45d10 That's called "test_debug" not "test_breakpoint". Radosław Kujawa 2017-02-15 19:58:44 +0100
  • 22f9e65714 Add test program for debug related funcs into test suite. Radosław Kujawa 2017-02-15 19:57:45 +0100
  • 0653d7428d Add test case for breakpoint functions. Radosław Kujawa 2017-02-15 19:57:16 +0100
  • 6afb4531d5 The rk65c02_exec should return immediately after hitting breakpoint. Radosław Kujawa 2017-02-15 19:56:22 +0100
  • 3286891ea8 Add missing prototype of debug_breakpoint_remove to include file. Radosław Kujawa 2017-02-15 19:55:48 +0100
  • ea5c09d7c0 Report failure when malloc errors. Radosław Kujawa 2017-02-15 19:55:15 +0100
  • 3363959b87 Add breakpoints. Radosław Kujawa 2017-02-14 11:17:40 +0100
  • 9db9d1307b Add tests for SMBx and RMBx sets of instructions. Radosław Kujawa 2017-02-13 22:04:59 +0100
  • 7db9b2f7c6 RMB1 instruction is 2 byte long (opcode + one operand). Radosław Kujawa 2017-02-13 21:54:10 +0100
  • c23136800a Unbreak BBR and BBS - they access zero page, don't act like immediate. Radosław Kujawa 2017-02-13 18:39:51 +0100
  • 8de5574aab Handle accessing bus in zero page relative mode just as in zero page. Radosław Kujawa 2017-02-13 18:37:14 +0100
  • 0cbbce4eeb Fix operands fetching for zero page relative addressing. Radosław Kujawa 2017-02-13 09:37:11 +0100
  • f0b1294897 Add test case for SBC in decimal mode. Radosław Kujawa 2017-02-12 23:28:06 +0100
  • 7f1c27af75 Fix carry flag handling for SBC. Radosław Kujawa 2017-02-12 23:27:36 +0100
  • 78b6ddc286 More comprehensive decimal ADC test. Radosław Kujawa 2017-02-12 23:11:46 +0100
  • 23105b4861 Hopefully fix decimal mode handling. Hopefully. Radosław Kujawa 2017-02-12 22:56:07 +0100
  • ce5330dfac Also test assemble_single_implied. Radosław Kujawa 2017-02-12 21:54:39 +0100
  • 8f4900a877 Add simplified assemble_single_implied for implied addressing mode. Radosław Kujawa 2017-02-12 21:54:07 +0100
  • 0fc79103f8 Well, once again... Radosław Kujawa 2017-02-12 21:51:20 +0100
  • 1995569ec1 Fix prototypes for assembler functions. Radosław Kujawa 2017-02-12 21:50:16 +0100
  • 0bd7b85dea Implement simpler to use assembly mode, straight to bus. Radosław Kujawa 2017-02-12 16:47:06 +0100
  • 7dd511b7dd Implement much better test case for decimal mode. Radosław Kujawa 2017-02-11 22:36:57 +0100
  • 630daee702 Premilinary support for decimal mode. Radosław Kujawa 2017-02-10 22:23:06 +0100
  • 40af913644 Neat logo. Radosław Kujawa 2017-02-09 22:25:38 +0100
  • 4c7a15f524 Add emulation of WAI instruction. Radosław Kujawa 2017-02-09 21:53:45 +0100
  • 5cca703020 Add RTI emulation and test case. Radosław Kujawa 2017-02-08 15:55:39 +0100
  • d29be055f9 Add BRK interrupt test. Radosław Kujawa 2017-02-07 21:23:31 +0100
  • 299b7ee7d8 Add functions to dump stack. Radosław Kujawa 2017-02-06 23:16:00 +0100
  • 442c8dc3df Add instruction stepping test. Radosław Kujawa 2017-02-06 22:05:16 +0100
  • 15c864a339 BIT does not affect the overflow flag in immediate mode - adjust test. Radosław Kujawa 2017-02-05 21:25:09 +0100
  • 272c4d0b7b BIT instruction does not affect overflow flag in immediate mode. Radosław Kujawa 2017-02-04 22:07:56 +0100
  • ac48e5435f Add preliminary support for interrupts. Radosław Kujawa 2017-02-04 21:44:13 +0100
  • 4ed2016621 Add test case for bus_load_buf(). Radosław Kujawa 2017-02-03 22:37:48 +0100
  • 51b47d707b Set reason for stopping the emulation when stepping. Radosław Kujawa 2017-02-03 22:21:43 +0100
  • 8008d045d3 Add simpler test for ADC/SBC flags. Radosław Kujawa 2017-02-02 22:55:21 +0100
  • a255b093e9 Fix overflow flag for SBC. Radosław Kujawa 2017-02-02 22:54:34 +0100
  • 1b936f087e Rename... to something more elaborate sounding. Radosław Kujawa 2017-02-02 21:47:20 +0100
  • a72a2c0872 Add test cases for 16-bit ADC and SBC. Radosław Kujawa 2017-02-02 21:16:31 +0100
  • 1f8db85688 Fix pointer precedence. Should resolve #1. Radosław Kujawa 2017-02-02 20:58:30 +0100
  • 7f7fdad8dc Enable GDB-specific debug symbols. Radosław Kujawa 2017-02-02 16:22:53 +0100
  • 624b73159f Include assembling tests in Kuya test suite. Radosław Kujawa 2017-02-02 16:22:27 +0100
  • f2efb116b4 Add minimal SBC test. Radosław Kujawa 2017-02-02 16:22:16 +0100
  • 77ce27e4fc Try to support assembling multi byte instructions. Radosław Kujawa 2017-02-02 15:41:29 +0100
  • 09a92740e9 Add test case for assembling functions. Radosław Kujawa 2017-02-02 14:46:10 +0100
  • 9eff6d535b Add functions to assemble mnemonics into machine code (into buffer). Radosław Kujawa 2017-02-02 14:45:06 +0100
  • 941036615e Add some null pointer checking asserts. Radosław Kujawa 2017-02-02 14:43:44 +0100
  • 6711a8fe11 Fix bus space array indexing. Makes bus loading from buffer work. Radosław Kujawa 2017-02-02 14:43:02 +0100
  • 3075ed87fa Add ability to load things onto bus from buffer. Radosław Kujawa 2017-02-02 12:06:41 +0100
  • eb7179f89a Fix emulation function for nop. Radosław Kujawa 2017-02-02 11:51:32 +0100
  • 4e3721ef85 Mark invalid instructions as invalid, not as nops. Radosław Kujawa 2017-02-02 11:23:30 +0100
  • 249509fad0 Clean up unused function. Radosław Kujawa 2017-02-02 11:00:32 +0100
  • a153b4e77f Also test overflow for SBC. Radosław Kujawa 2017-02-02 00:03:27 +0100
  • 8e732f3b94 Make SBC somewhat less broken. Radosław Kujawa 2017-02-01 22:15:16 +0100
  • 436810b79f The overflow flag should be represented by "V". Radosław Kujawa 2017-02-01 22:11:24 +0100
  • 92418b0f1f Add SBC emulation. Radosław Kujawa 2017-02-01 14:35:50 +0100
  • 371856f6c7 Make emul_bbr/bbs/smb/rmb functions static. Radosław Kujawa 2017-01-31 23:30:49 +0100
  • faa824e306 Implement emulation of ADC, plug the overflow test. Radosław Kujawa 2017-01-31 23:08:23 +0100
  • 2f076f4a16 Stop cleanly even if test is not working properly. Radosław Kujawa 2017-01-31 23:07:17 +0100
  • 14830b7950 Add test case checking operation of overflow flag. Radosław Kujawa 2017-01-31 23:06:05 +0100
  • afadfd8b13 Fix pointer usage. Radosław Kujawa 2017-01-31 14:11:21 +0100
  • 44f723b016 Attempt to emulate the BRK instruction. Radosław Kujawa 2017-01-31 00:31:28 +0100
  • b21d884f8b Clear the decimal flag on initialisation. Radosław Kujawa 2017-01-31 00:31:04 +0100
  • bc137b9390 Add emulation of BBR0-7 and BBS0-7 instructions. Radosław Kujawa 2017-01-30 21:25:45 +0100
  • 1c72bd23a8 More meaningful comments. Radosław Kujawa 2017-01-30 21:24:45 +0100
  • 5554de9411 Add TSB and TRB emulation. Radosław Kujawa 2017-01-29 22:54:06 +0100
  • 923a9db649 Add emulation of SMB0-SMB7 instructions. Radosław Kujawa 2017-01-29 21:34:58 +0100
  • bf01ceb4cf Add test cases for branches. Radosław Kujawa 2017-01-29 21:18:01 +0100
  • 3c5162b0b9 Add emulation of branch instructions. Radosław Kujawa 2017-01-29 13:57:51 +0100
  • 79b5a01d10 Add forgotten prototype of program_counter_branch(). Radosław Kujawa 2017-01-29 13:57:20 +0100
  • e0fa334e3e Fix relative address pritning in disassembly. Radosław Kujawa 2017-01-29 13:55:53 +0100
  • f5a4f45127 Add function setting the PC for branches. Radosław Kujawa 2017-01-29 13:29:17 +0100
  • 762f140efd Better operand formatting in disassembly. Radosław Kujawa 2017-01-29 13:08:32 +0100
  • bb3f77ec7f Add JSR and RTS emulation and tests. Radosław Kujawa 2017-01-29 11:47:34 +0100
  • 4a8fbfbaeb Add CPX and CPY emulation and test cases. Radosław Kujawa 2017-01-28 14:04:20 +0100
  • 3640a162a3 Add CMP emulation and test cases. Radosław Kujawa 2017-01-28 13:26:51 +0100
  • f3205e7272 Add CLI and SEI emulation and test case. Radosław Kujawa 2017-01-28 11:19:34 +0100
  • ee66f9c78c Add emulation and test for CLV instruction. Radosław Kujawa 2017-01-28 11:12:25 +0100
  • f66e986cef Test indirect modes of JMP. Radosław Kujawa 2017-01-28 00:11:16 +0100
  • 735c3677ce Correct address calculation for absolute indirect and absolute indirect X modes. Radosław Kujawa 2017-01-28 00:10:22 +0100
  • 8d2d694158 Implement (partial) JMP emulation and basic test for it. Radosław Kujawa 2017-01-27 22:28:33 +0100
  • 05cedfb1f5 Also print program counter when dumping regs. Radosław Kujawa 2017-01-27 22:28:09 +0100
  • 9da9f61f5a There's one more field in that generated header. Adjust. Radosław Kujawa 2017-01-27 22:27:30 +0100
  • 2430cfd722 Branch and jump instrucitons need special PC treatment. Radosław Kujawa 2017-01-27 20:43:08 +0100
  • 9294891a23 Remove unused variable. Radosław Kujawa 2017-01-27 20:43:02 +0100