Commit Graph

253 Commits

Author SHA1 Message Date
Aaron Culliney
99ec9a62f3 test C088, C089, C08A, C08B switches 2014-05-03 12:21:58 -07:00
Aaron Culliney
2f27b82c83 test C082, C083 switches 2014-05-01 21:41:51 -07:00
Aaron Culliney
05e1d88c37 test language card C081 switch 2014-05-01 21:41:31 -07:00
Aaron Culliney
30b80c1722 first language card test 2014-04-28 12:56:40 -07:00
Aaron Culliney
d514fd05a0 refactor to use better flag names, better softswitch result test, ... 2014-04-28 12:54:58 -07:00
Aaron Culliney
4a88b100f5 test HIRES switch 2014-04-28 11:59:41 -07:00
Aaron Culliney
b92c59eac6 6502 assembly test helper defines 2014-04-28 11:58:46 -07:00
Aaron Culliney
80032e17f9 define should be larger and private 2014-04-28 11:56:36 -07:00
Aaron Culliney
304442655c Attempt to load non-gzipped test disks (aborted from previous runs) 2014-04-28 11:55:51 -07:00
Aaron Culliney
615204ebc9 A 6502 assembly script to test AUXMOVE and RAMRD boundary execution 2014-04-28 11:53:59 -07:00
Aaron Culliney
1a7fc8ab10 TEXT and MIXED switch tests 2014-04-26 15:44:13 -07:00
Aaron Culliney
f99f283ff2 Move more common code into testcommon.c 2014-04-26 15:43:40 -07:00
Aaron Culliney
14ca3c788a test_PAGE2_off and improved test_PAGE2_on 2014-04-26 14:38:22 -07:00
Aaron Culliney
2169ecbab6 Refactor tests to use common code 2014-04-26 14:01:26 -07:00
Aaron Culliney
352183cbeb beginning of softswitch tests 2014-04-26 13:59:52 -07:00
Aaron Culliney
8b0325d60d "HEADLESS" CPP define and envvar switches
* Allows running emulator in headless mode (default for some tests)
    * setting HEADLESS=1 envvar from commandline will force headless operation
2014-04-26 13:34:35 -07:00
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