1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-04 19:50:19 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
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
Radosław Kujawa
1b936f087e Rename... to something more elaborate sounding.
This test case is probably way too complex.
2017-02-02 21:47:20 +01:00
Radosław Kujawa
a72a2c0872 Add test cases for 16-bit ADC and SBC. 2017-02-02 21:16:31 +01:00
Radosław Kujawa
624b73159f Include assembling tests in Kuya test suite. 2017-02-02 16:22:27 +01:00
Radosław Kujawa
f2efb116b4 Add minimal SBC test. 2017-02-02 16:22:16 +01:00
Radosław Kujawa
77ce27e4fc Try to support assembling multi byte instructions. 2017-02-02 15:41:29 +01:00
Radosław Kujawa
09a92740e9 Add test case for assembling functions. 2017-02-02 14:46:10 +01:00
Radosław Kujawa
a153b4e77f Also test overflow for SBC. 2017-02-02 00:03:27 +01:00
Radosław Kujawa
faa824e306 Implement emulation of ADC, plug the overflow test.
While here fix numerous test cases, lol.
2017-01-31 23:08:23 +01:00
Radosław Kujawa
2f076f4a16 Stop cleanly even if test is not working properly. 2017-01-31 23:07:17 +01:00
Radosław Kujawa
14830b7950 Add test case checking operation of overflow flag. 2017-01-31 23:06:05 +01:00
Radosław Kujawa
bf01ceb4cf Add test cases for branches. 2017-01-29 21:18:01 +01:00
Radosław Kujawa
bb3f77ec7f Add JSR and RTS emulation and tests. 2017-01-29 11:47:34 +01:00
Radosław Kujawa
4a8fbfbaeb Add CPX and CPY emulation and test cases. 2017-01-28 14:04:20 +01:00
Radosław Kujawa
3640a162a3 Add CMP emulation and test cases. 2017-01-28 13:26:51 +01:00
Radosław Kujawa
f3205e7272 Add CLI and SEI emulation and test case. 2017-01-28 11:19:34 +01:00
Radosław Kujawa
ee66f9c78c Add emulation and test for CLV instruction. 2017-01-28 11:12:25 +01:00
Radosław Kujawa
f66e986cef Test indirect modes of JMP. 2017-01-28 00:11:16 +01:00
Radosław Kujawa
8d2d694158 Implement (partial) JMP emulation and basic test for it. 2017-01-27 22:28:33 +01:00
Radosław Kujawa
9122615df4 Split function determining full path to ROM.
Adjust bus tests to this change.
2017-01-27 12:32:12 +01:00
Radosław Kujawa
ca291b0336 IRQ disable flag is present by default after CPU boot. 2017-01-27 12:31:20 +01:00
Radosław Kujawa
c1a63b011f Use srcdir config variable to obtain location of ROM files.
This fixes "kyua test".
2017-01-27 12:12:00 +01:00
Radosław Kujawa
1f3b61bec8 Implement test cases for DEC instruction. 2017-01-27 11:43:15 +01:00
Radosław Kujawa
db75a9becc Add test cases for INC instruction. 2017-01-27 11:29:17 +01:00
Radosław Kujawa
699d791023 Fix wrong object name. 2017-01-26 23:28:04 +01:00
Radosław Kujawa
ea95e3d02c Fix pointer mess. 2017-01-26 23:27:54 +01:00
Radosław Kujawa
8ede93fb0e Merge branch 'master' of github.com:rkujawa/rk65c02 2017-01-26 23:22:56 +01:00
Radosław Kujawa
bfb042cd1a Add test for stepping mode. 2017-01-26 23:22:40 +01:00
Radosław Kujawa
0e784db076 Don't forget to link with utils. 2017-01-26 21:37:54 +01:00
Radosław Kujawa
2ec6cb67ae Split ROM starting function into separate file.
It will also be used for other test programs than test_emulation.
2017-01-26 13:11:37 +01:00