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
Aaron Culliney
20121f38b5
Allow CPU interruption at beginning of stepping
2014-03-22 10:37:04 -07:00
Aaron Culliney
a4221e90da
comment opcodes
2014-03-19 20:07:36 -07:00
Aaron Culliney
6df967462e
Fix STx commands
...
* Remove deadc0de op_STA_imm
* Fix cycle counts
* Bugfix op_STZ_zpage_x
2014-03-16 14:48:22 -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