Commit Graph

1718 Commits

Author SHA1 Message Date
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
418509f2c1 don't leak 2014-04-28 11:44:45 -07:00
Aaron Culliney
5b46978233 Allow "complete" reboots to occur when debug-stepping
* This allows reboot to work if RAMRD switch is set to auxmem (as it is in a few VM tests)
2014-04-28 11:40:51 -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
ab5be45000 Macroize redundant code, remove cruft 2014-04-19 19:19:26 -07:00
asc
4839cc512a missing AUDIO_ENABLED 2014-04-10 23:25:04 -07:00
Aaron Culliney
a1e4ba5cc2 Sanity-check .dsk and .nib image raw byte sizes 2014-04-06 21:49:02 -07:00
Aaron Culliney
535abd2c6c Disconcertingly, flush() after each fwrite() appears to make it work. Something is wrotten somewhere... 2014-04-06 21:15:06 -07:00
Aaron Culliney
b5f018f408 refactor text/lores drawing routines to C 2014-04-06 14:07:44 -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
29609230bc Refactor text plotting routines to C
* Moves plot character routines to C from i386 assembly
2014-04-05 16:12:00 -07:00
Aaron Culliney
a43d31a22e Remove non-//e code paths 2014-04-05 12:22:12 -07:00
Aaron Culliney
9a5a5ce476 Use BANK2 offset instead of magic constant 2014-04-05 10:24:29 -07:00
Aaron Culliney
558ec8f1d5 Remove non-"640x400" display mode 2014-04-04 22:16:29 -07:00
Aaron Culliney
fe68032b0d vidsup.c -> display.c 2014-04-04 22:08:13 -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
3005fcaa6e differentiate between typing/loading as variant of going 2014-03-30 13:58:34 -07:00
Aaron Culliney
afcc95c2f4 Allow Caps Lock state from X11 to override default 2014-03-30 13:20:56 -07:00
Aaron Culliney
1d95df15c6 work around compiler warnings in flex-generated debug.c 2014-03-30 13:19:59 -07:00
Aaron Culliney
aa43e7c0db Fixes for bsave/bload
* Warn/abort for overflows
2014-03-30 13:17:47 -07:00
Aaron Culliney
aefd1053d6 Allow programmatic setting of memory watchpoints 2014-03-30 12:35:09 -07:00
Aaron Culliney
ec76ee5b77 New debugger commands and changes
* TYPE : send debugger console through to the machine
    * LOAD : send textfile through to the same mechanism
    * FBSHA1 : get a SHA1 value of the current machine framebuffer
    * better CPU stepping functionality
2014-03-30 12:33:42 -07:00
Aaron Culliney
baf9315d01 better pthread signaling between ui and cpu threads 2014-03-30 11:17:12 -07:00
Aaron Culliney
209eb86051 More common video code
* Provide new function to get current common framebuffer
    * Migrates non-X11 video_setpage routine
2014-03-30 11:11:02 -07:00
Aaron Culliney
52b087f805 sanity-check for cpu thread 2014-03-30 11:10:24 -07:00
Aaron Culliney
5d552b445c a debugger init function
* in addition this change persists breakpoints/watchpoints across reboots
2014-03-30 10:53:57 -07:00