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

106 Commits

Author SHA1 Message Date
Radosław Kujawa
e3714fe805 Add missing test cases for LDA. 2019-01-08 13:57:10 +01:00
Radosław Kujawa
ed39eff773 Add test cases for STX. 2019-01-07 13:35:14 +01:00
Radosław Kujawa
9bcbeb3ca7 Add tests for STY. 2019-01-07 11:43:23 +01:00
Radosław Kujawa
b39663db42 No need to use workaround - vasm was fixed. 2019-01-06 00:02:03 +01:00
Radosław Kujawa
84f4c530d8 Add missing test cases for STZ. 2019-01-05 23:57:18 +01:00
Radosław Kujawa
69fb59ee41 Add missing test cases for LDA addressing modes. 2019-01-05 12:13:28 +01:00
Radosław Kujawa
184c23b399 Explicitly enable WDC65C02 mode in vasm. 2019-01-05 00:30:18 +01:00
Radosław Kujawa
9f916885b8
Add missing include. 2018-06-25 14:06:38 +02:00
Radosław Kujawa
dfb3bd1fca
Try to make this build on Linux, NetBSD and OS X.
Without actually using autoconf etc.
2018-06-25 13:19:35 +02:00
Radosław Kujawa
1ec075518c Split assembler-related things into separate file. 2018-04-27 14:07:42 +02:00
Radosław Kujawa
216450da52 Enable debug-safe optimizations.
Also ggdb for tests.
2018-04-26 14:16:32 +02:00
Radosław Kujawa
8ca86735df Add tests for BBRx, BBSx. 2018-04-16 12:27:53 +02:00
Radosław Kujawa
7445c275e6 Add test cases for ROR and ROL.
Too old to ROR and to ROL.
2018-04-13 12:26:06 +02:00
Radosław Kujawa
fae3445e58 Add test cases for TRB and TSB. 2018-04-12 15:28:47 +02:00
Radosław Kujawa
e5448f50eb Fix expected PC address. 2018-04-12 15:13:48 +02:00
Radosław Kujawa
578955e4a1 Add test case for invalid opcode handling. 2018-04-12 11:40:33 +02:00
Radosław Kujawa
fe94c747e5 Add test case for signed comparison. 2018-04-09 15:00:02 +02:00
Radosław Kujawa
3c684fbf2c Fix zero page wrap for indexed indirect mode. 2018-03-31 15:03:22 +02:00
Radosław Kujawa
7c4d6cea3f Fix indirect indexed with Y addressing.
Also fix test case for this. Problem wasn't detected, because test case
was broken too.
2018-03-31 12:38:45 +02:00
Radosław Kujawa
4f299a6f36 Also fix zero page wrap for bus reads. 2018-03-28 14:18:50 +02:00
Radosław Kujawa
b35323cb3d Use logging function instead of printf. 2018-03-28 13:52:07 +02:00
Radosław Kujawa
390bbdc14e Add test cases for LSR and zero page wrap. 2018-03-28 13:47:18 +02:00
Radosław Kujawa
0b2be69481 Add test case for ASL. 2018-03-28 13:18:44 +02:00
Radosław Kujawa
ae3e782b74 Use boehm gc to manage memory.
I'm less likely to fuck this up now.
2018-03-26 12:36:47 +02:00
Radosław Kujawa
13a4c73807 Unbreak BRK test case - add RAM for ISR vector. 2018-03-24 23:06:29 +01:00
Radosław Kujawa
63168d6f84 Increase log level for stepping test case. 2018-03-24 23:06:13 +01:00
Radosław Kujawa
5fddf2c5dc More refactoring and improvements to logging! 2018-03-23 13:37:07 +01:00
Radosław Kujawa
5cb6f3488e Further improvements and refactoring to logging. 2018-03-22 15:08:51 +01:00
Radosław Kujawa
065d001135 Add missing header file. 2018-03-20 12:06:40 +01:00
Radosław Kujawa
0735487ed0 Add skeleton for a serial device test.
Not really working yet, so commented out in Kyuafile.
2017-02-26 13:07:39 +01:00
Radosław Kujawa
1dcaa4c53f Adjust test to chnages in bus code (due to device subsystem intro). 2017-02-20 21:30:23 +01:00
Radosław Kujawa
0df6387a41 Simple test case for tracing. 2017-02-15 22:12:56 +01:00
Radosław Kujawa
90ddf4b400 Fix tests for CMP, CPY, CPX. Carry flag test was inverted, duh! 2017-02-15 22:06:04 +01:00
Radosław Kujawa
23492e6533 Refactor due to change in rk65c02_dump_regs. 2017-02-15 21:35:27 +01:00
Radosław Kujawa
b32be45d10 That's called "test_debug" not "test_breakpoint". 2017-02-15 19:58:44 +01:00
Radosław Kujawa
22f9e65714 Add test program for debug related funcs into test suite.
While here, sort.
2017-02-15 19:57:45 +01:00
Radosław Kujawa
0653d7428d Add test case for breakpoint functions. 2017-02-15 19:57:16 +01:00
Radosław Kujawa
9db9d1307b Add tests for SMBx and RMBx sets of instructions. 2017-02-13 22:04:59 +01:00
Radosław Kujawa
f0b1294897 Add test case for SBC in decimal mode. 2017-02-12 23:28:06 +01:00
Radosław Kujawa
78b6ddc286 More comprehensive decimal ADC test. 2017-02-12 23:11:46 +01:00
Radosław Kujawa
ce5330dfac Also test assemble_single_implied. 2017-02-12 21:54:39 +01:00
Radosław Kujawa
0bd7b85dea Implement simpler to use assembly mode, straight to bus.
While here refactor existing assembly functions.
2017-02-12 16:47:06 +01:00
Radosław Kujawa
7dd511b7dd Implement much better test case for decimal mode. 2017-02-11 22:36:57 +01:00
Radosław Kujawa
630daee702 Premilinary support for decimal mode.
While here add SED emulation. Implement BCD support for ADC instruction.
2017-02-10 22:23:06 +01:00
Radosław Kujawa
5cca703020 Add RTI emulation and test case. 2017-02-08 15:55:39 +01:00
Radosław Kujawa
d29be055f9 Add BRK interrupt test. 2017-02-07 21:23:31 +01:00
Radosław Kujawa
442c8dc3df Add instruction stepping test.
That was written some time ago but forgot to plug it into test suite.
2017-02-06 22:05:16 +01:00
Radosław Kujawa
15c864a339 BIT does not affect the overflow flag in immediate mode - adjust test. 2017-02-05 21:25:09 +01:00
Radosław Kujawa
4ed2016621 Add test case for bus_load_buf(). 2017-02-03 22:37:48 +01:00
Radosław Kujawa
8008d045d3 Add simpler test for ADC/SBC flags.
The name is unfortunate though.
2017-02-02 22:55:21 +01:00