Commit Graph

1455 Commits

Author SHA1 Message Date
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
Aaron Culliney
2369481924 Use sane defaults 2014-03-30 10:41:28 -07:00
Aaron Culliney
98cd975328 ifndef MIN() & MAX() macros 2014-03-30 10:39:45 -07:00
Aaron Culliney
37df0d52bb Check for OpenSSL headers/libraries 2014-03-30 10:37:34 -07:00
Aaron Culliney
c2c1236cbe Run flex/lex in case-insensitive mode 2014-03-26 00:21:49 -07:00
Aaron Culliney
78a3b39f6d Interface menu changes
* Added an option to set caps lock (basing it off X11's value is not working well)
    * Added a reboot emulator option (because Ctrl-Alt-End is potentially mapped by the X11 WM. ahem, Xfce...
2014-03-25 23:42:05 -07:00
Aaron Culliney
e54ce95389 Move disk compression routines to disk module
* Makes these routines useable from alternate interfaces, (including tests)
2014-03-25 22:11:01 -07:00
Aaron Culliney
df668f0d6a testrunner.c merged into testcpu.c 2014-03-23 14:46:29 -07:00
Aaron Culliney
1dd72ec999 Codepaths for VIDEO_X11 macro conditional 2014-03-23 14:43:19 -07:00
Aaron Culliney
e57f332ff6 moar ifdefs for various macro conditional codepaths
* INTERFACE_CLASSIC : specifies the "classic" (current) menuing system
    * AUDIO_ENABLED : specifies whether audio code is enabled
2014-03-23 14:25:28 -07:00
Aaron Culliney
a1e952984f Build system flexibility to allow moar modular tests 2014-03-23 14:21:31 -07:00
Aaron Culliney
a95354d87c cycles_adjust is too small to be worth calculating 2014-03-22 16:39:07 -07:00
Aaron Culliney
f34eff338b 65c02 Debugger fixen
* Threading fixes to allow CPU thread to iterate while under control of interface/video thread
2014-03-22 13:57:51 -07:00
Aaron Culliney
c300e3e016 Fix cycle count on op_STZ_abs_x 2014-03-22 11:16:40 -07:00