Commit Graph

137 Commits

Author SHA1 Message Date
Aaron Culliney
22bf206626 Beginning of virtual machine/memory tests 2014-04-20 12:26:25 -07:00
Aaron Culliney
bdec0fbe44 Rename testvm -> testdisplay 2014-04-20 10:45:43 -07:00
Aaron Culliney
e05dda9515 Better/moar display tests
* Tests lores and lores/mixed modes
2014-04-05 23:10:55 -07:00
Aaron Culliney
cb04d39c37 Don't check for the I flag on PLP and RTI
* Apparently the I flag is not set for PLP and RTI, or rather, our implementation of
      mockingboard seems to expect it not to be set for these opcodes...
2014-03-30 15:31:57 -07:00
Aaron Culliney
c1e2e99c26 Beginnings of various virtual machine tests
* Tests run the virtual 65c02 machine through the debugger interface
    * The various display mode tests verify against the SHA1 of the framebuffer
    * Includes some Applesoft BASIC script tests (also loaded on disks/testvm1.dsk.gz)
2014-03-30 14:08:13 -07:00
Aaron Culliney
df668f0d6a testrunner.c merged into testcpu.c 2014-03-23 14:46:29 -07:00
Aaron Culliney
20121f38b5 Allow CPU interruption at beginning of stepping 2014-03-22 10:37:04 -07:00
Aaron Culliney
5709788323 test Txx opcodes 2014-03-16 14:43:05 -07:00
Aaron Culliney
7093d69fd4 test STx instructions 2014-03-16 13:39:31 -07:00
Aaron Culliney
60a740646c test SEC SED SEI 2014-03-16 12:13:33 -07:00
Aaron Culliney
d802595071 RTI & RTS tests 2014-03-16 12:06:20 -07:00
Aaron Culliney
582678d7b2 ROL and ROR tests 2014-03-16 11:37:47 -07:00
Aaron Culliney
e4263a3194 PHx and PLx instructions 2014-03-15 20:55:35 -07:00
Aaron Culliney
fea157cdf6 initialize test RNG and misc tweaks 2014-03-15 20:54:02 -07:00
Aaron Culliney
306d0e7d22 bugfix for op_JMP_ind on page boundaries
* Reference : _Understanding the Apple IIe_ section 4-25
    * Includes testcase
2014-03-15 20:52:15 -07:00
Aaron Culliney
512c06f250 ORA tests 2014-03-15 14:37:15 -07:00
Aaron Culliney
1439dbc773 LSR tests 2014-03-02 17:49:41 -08:00
Aaron Culliney
e959953b03 Improve DEx and INx test logic 2014-03-02 17:24:30 -08:00
Aaron Culliney
3e06870868 Better logic_LDx and LDX LDY tests 2014-03-02 17:06:23 -08:00
Aaron Culliney
3c72a8a5e3 LDA tests 2014-03-02 16:14:16 -08:00
Aaron Culliney
16f061b74a JMP & JSR instructions 2014-03-02 15:14:31 -08:00
Aaron Culliney
4e755ad80f test incrementing instructions 2014-03-02 11:06:02 -08:00
Aaron Culliney
de9a3861ed EOR tests 2014-03-02 10:51:07 -08:00
Aaron Culliney
cc35f5e468 test decrementing instructions 2014-02-23 12:35:01 -08:00
Aaron Culliney
fc33757f97 CPX CPY tests 2014-02-23 11:05:30 -08:00
Aaron Culliney
a1c6b30299 CMP tests 2014-02-23 09:18:09 -08:00
Aaron Culliney
dd2f22df4a IRQ test 2014-02-22 21:08:01 -08:00
Aaron Culliney
9275fb7eba CLx tests 2014-02-22 20:02:58 -08:00
Aaron Culliney
ebb170fb75 BIT tests 2014-02-22 19:44:38 -08:00
Aaron Culliney
442915b9cb Branch tests and misc tweaks 2014-02-22 14:28:01 -08:00
Aaron Culliney
07740bbb66 ASL tests 2014-02-22 12:04:29 -08:00
Aaron Culliney
35d75b6205 SBC tests 2014-02-22 10:30:38 -08:00
Aaron Culliney
2d6843f854 Simplify non-immediate mode tests
* Removes testing decimal flag for these tests
2014-02-22 09:57:56 -08:00
Aaron Culliney
c0a1e3e952 Simplify ADC decimal mode test logic
* Skip testing illegal BCDs
2014-02-22 09:53:55 -08:00
Aaron Culliney
6724e06500 Test fixes
* Test initial carry logic in ADC immediate mode tests
    * Simplify decimal funneling tests in immediate mode
2014-02-20 10:28:18 -08:00
Aaron Culliney
db420d357b Updates to test procedure and test ADC, AND 2014-02-01 12:42:40 -08:00
Aaron Culliney
be2da135cf The beginnings of a testsuite 2014-01-25 22:12:54 -08:00