Aaron Culliney
0f25f6d9d1
srandom/random for PRNG should be "good enough"
2014-11-29 14:23:27 -08:00
Aaron Culliney
4f0814ce42
Remove unstable __FILE__ output from vmtrace logging
2014-11-29 13:28:34 -08:00
Aaron Culliney
ad39463519
update vmtrace test
2014-11-29 10:04:21 -08:00
Aaron Culliney
6c1215dbb2
Tests build/run on Mac
...
- Fixes statistics printing
- Some VM tests currently fail on Mac
2014-11-27 10:52:12 -08:00
Aaron Culliney
2aa2648d30
Fix for other VM/display tests
2014-11-25 22:01:46 -08:00
Aaron Culliney
050d1de389
HIRES PAGE2 test: shows moire on page2
2014-11-25 21:56:44 -08:00
Aaron Culliney
0ad98602fe
Improved VM_TRACING syntax
2014-11-23 17:13:05 -08:00
Aaron Culliney
88b7db0387
unwedge test_PHP
2014-11-23 17:12:20 -08:00
Aaron Culliney
101e507add
Adds a VM tracing facility and functionality test
2014-11-23 14:03:18 -08:00
Aaron Culliney
89fc5f6599
Display test improvements
...
* Removes hackish code in testdisplay.c in preparation for a bugfix
* Adds function to output state of softswitches ... useful from GDB
2014-11-23 12:53:59 -08:00
Aaron Culliney
c075460b76
Gets OpenGL output working with testing VM and display
...
* Refactors test routine to its own thread to not interfere with OpenGL on main thread
* Misc TESTING/HEADLESS switch tweaks
2014-11-22 14:24:43 -08:00
Aaron Culliney
8416dd4d49
adds PRNG tests
2014-11-22 14:03:57 -08:00
Aaron Culliney
7ed5250392
new SHA1 to fix cputrace test
2014-11-21 22:27:10 -08:00
Aaron Culliney
9f1c54e555
Expose c_read_random()
2014-11-19 19:59:39 -08:00
Aaron Culliney
9bbe906f43
CPU_TRACING bugfix and more readable
...
- GetImm mode was not reporting correct arg
- Converts it to a format easier to compare against similar CPU trace output from AppleWin
- Sanity-check arg counts
2014-11-18 22:16:44 -08:00
Aaron Culliney
9b9ca39344
Improve disk tracing
...
- Disk trace is now ASCII output
- Output track sector and file position data
- Debugger command added
- New preprocessor define
2014-11-17 20:52:29 -08:00
Aaron Culliney
2c12aa6112
Improve CPU_TRACING output
2014-11-09 13:06:25 -08:00
Aaron Culliney
9144b48885
Enable abusive CPU_TRACING test
2014-11-02 12:09:30 -08:00
Aaron Culliney
b3c1af9786
disk INITHELLO tests ...
2014-11-01 19:26:40 -07:00
Aaron Culliney
31b87f67e4
Refactor test_setup_boot_disk
2014-11-01 18:44:54 -07:00
Aaron Culliney
737c780929
Fix test break
2014-10-25 08:26:53 -07:00
Aaron Culliney
442e4c99b2
Display tests on Mac and Mac tests cleanup
2014-10-12 12:42:29 -07:00
Aaron Culliney
7f395edc11
comment unstable test
2014-10-11 19:59:44 -07:00
Aaron Culliney
c4609e0c68
Improved PLP and PHP tests
2014-10-11 19:33:13 -07:00
Aaron Culliney
acc3deb264
Tweaks to disk boot trace test
2014-10-11 18:31:19 -07:00
Aaron Culliney
4c9c1fb62a
First cut at a facility to do CPU tracing
...
* Also includes a test that traces booting the test disk
2014-10-11 18:28:48 -07:00
Aaron Culliney
15927d1554
test raw disk stream
2014-10-11 10:44:20 -07:00
Aaron Culliney
d6b8057c57
Beginning of VM Tests on Mac
2014-10-10 20:05:46 -07:00
Aaron Culliney
a929ef854c
Refactor video_sync() and friends
...
- main thread render loop goes into X11 video driver
- removes video_sync()
2014-09-16 20:38:14 -07:00
Aaron Culliney
e0dbcf4afc
Work around an apparent clang bug
...
* tests were previously reported to fail with -O2 optimization
2014-08-16 11:25:07 -07:00
Aaron Culliney
10e03e9bc5
Get tests working again
...
* Refactor naming of saved CPU state variables
* Allows convenient addressing from assembly
2014-06-22 11:17:44 -07:00
Aaron Culliney
3a3219234f
Get tests building on OS X
2014-06-21 15:43:24 -07:00
Aaron Culliney
6d63592ada
Misc BASIC test scripts
2014-05-31 10:45:30 -07:00
Aaron Culliney
28ba68d8f1
move greatest.h into test directory
2014-05-31 10:42:10 -07:00
Aaron Culliney
00d36d3f5e
slightly improved display tests
2014-05-28 22:16:11 -07:00
Aaron Culliney
a206fc06b8
refactor ALTZP switch to C
2014-05-10 21:25:54 -07:00
Aaron Culliney
1c3fc78838
refactor game controller switches to C
2014-05-10 13:08:44 -07:00
Aaron Culliney
7827c6bcb3
C3ROM/CXROM softswitch tests
2014-05-04 17:19:48 -07:00
Aaron Culliney
a327e43ddc
checking TEXT/MIXED/PAGE2/HIRES/BANK2/LCRAM softswitches
2014-05-04 16:33:24 -07:00
Aaron Culliney
48856786d1
test setting/checking DHIRES
2014-05-04 15:19:57 -07:00
Aaron Culliney
f69279eb66
test setting/checking IOUDIS
2014-05-04 14:59:27 -07:00
Aaron Culliney
f8b9ce3f00
test setting/checking ALTCHAR
2014-05-04 14:45:19 -07:00
Aaron Culliney
aea7b33873
test setting/checking 80COL
2014-05-04 14:44:07 -07:00
Aaron Culliney
1a83d08fb6
test setting/checking ALTZP
2014-05-04 14:29:43 -07:00
Aaron Culliney
5d8fccefa9
robustify test of softswitch checking routines
2014-05-04 14:26:17 -07:00
Aaron Culliney
0bc83068f1
test setting/checking RAMWRT
2014-05-04 12:50:02 -07:00
Aaron Culliney
97806a258b
test setting/checking RAMRD
2014-05-03 15:31:56 -07:00
Aaron Culliney
466bd752f1
test setting/checking 80STORE
2014-05-03 14:46:03 -07:00
Aaron Culliney
a094742df6
A few more checks for test that toggles ramrd/ramwrt
2014-05-03 14:44:54 -07:00
Aaron Culliney
e7221ce170
Additional checks alongside pseudo-softswitch SS_SCREEN
2014-05-03 13:28:44 -07:00
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