Commit Graph

358 Commits

Author SHA1 Message Date
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
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
8f9c2dcbde Bugfix: use correct addressing mode for BIT variant
* How did this ever... ?
2014-02-22 19:19:51 -08:00
Aaron Culliney
442915b9cb Branch tests and misc tweaks 2014-02-22 14:28:01 -08:00
Aaron Culliney
d481d59851 correct branch cycle counting 2014-02-22 14:00:56 -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
31ce1d5cf9 Silence and fixes 2014-02-22 10:00:09 -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
43ada45a36 Enable illegal BCD break/debugging
* Debugging builds will now segfault if an illegal BCD is encountered
    * Presumably current x86 undefined behavior does not 100% correspond to 6502
      undefined behavior ... (this bears further investigation)
2014-02-22 09:45:19 -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
f836a3004d some commenting for clarity 2014-02-01 12:18:48 -08:00
Aaron Culliney
4ce4a37dd3 silence some printouts 2014-02-01 12:18:07 -08:00
Aaron Culliney
5215358800 Flag to allow silence on successes 2014-02-01 12:17:19 -08:00
Aaron Culliney
7e9388dda2 Allow for setting greatest breakpoint function
* Allows for breakpointing/debugging failing tests using a debugger
2014-02-01 12:15:16 -08:00
Aaron Culliney
be2da135cf The beginnings of a testsuite 2014-01-25 22:12:54 -08:00
Aaron Culliney
8976808568 More updates to support testsuite 2014-01-25 22:10:33 -08:00
asc
17440949bf Updates to support testing 2014-01-25 14:13:38 -08:00
asc
6864dbe3fc Remove mode option 2014-01-25 14:00:10 -08:00
asc
1009d4e708 Move soundcore-alsa to correct location
* Also these files are deprecated
2014-01-25 13:49:37 -08:00
asc
3abd2e87aa Refactor to use GNU build tools
* Added configure.ac and non-recursive Makefile.am
    * Modularized source into subdirectories
    * Simplified header inclusion
2014-01-22 20:51:50 -08:00
Aaron Culliney
12f6c9704e Support for dynamically changing window size
* Beginning of support for fullscreen mode
    * Fullscreen depends on "fuzzing" the graphics
2014-01-04 14:24:55 -08:00