Commit Graph

35 Commits

Author SHA1 Message Date
Preston Skupinski
55f059b09c Cleaned up INC instructions 2012-01-02 20:43:48 -05:00
Preston Skupinski
213398bc35 add some more checking of flags to the increment instruction tests 2012-01-02 01:12:38 -05:00
Preston Skupinski
76a50808ac added tests for INC just for when working on the accumulator, INX and
INY
2012-01-02 00:45:23 -05:00
Preston Skupinski
4c5c5dc631 add unit tests for memory mapped io device support 2011-12-29 01:37:01 -05:00
Preston Skupinski
84472fab78 use read_byte_long rather than directly accessing bytes in the memory
array in the tests
2011-12-29 00:17:29 -05:00
Preston Skupinski
26ea82204f added the ability for the cpu to load in an array of bytes 2011-12-27 19:33:14 -05:00
Preston Skupinski
6950345d03 use equal rather than equals as equals is deprecated 2011-12-16 00:45:03 -05:00
Preston Skupinski
a9b70c8ad0 Rework the way the cpu object loads and executes code 2011-11-05 21:45:36 -04:00
Preston Skupinski
833048fefa added numerous tests for stz 2011-10-02 22:33:54 -04:00
Preston Skupinski
d902611e9c added decimal mode support for SBC, wrote unit tests to verify that support and updated the TODO 2011-09-04 11:34:09 -04:00
Preston Skupinski
b505f7a50d handle the carry bit properly when in decimal mode for adc 2011-09-03 22:07:44 -04:00
Preston Skupinski
7cee0a3cd1 added decimal mode support for adc with 16-bit memory/accumulator mode and wrote unit tests to verify it 2011-09-03 21:56:39 -04:00
Preston Skupinski
8a1f3364ff Merge branch 'master' of github.com:scud43/JavaScript-65816 2011-09-03 21:22:49 -04:00
Preston Skupinski
990bbdc06c add decimal mode support for adc in emulation or 8-bit memory/accumulator mode and wrote up unit tests to verify it 2011-09-03 21:20:52 -04:00
Preston Skupinski
b4bda09bf6 added more unit tests for LDA(absolute long, absolute long indexed x) 2011-09-02 22:43:47 -04:00
Preston Skupinski
3f23b8f7f7 added some more unit tests for LDA(stack relative and absolute indexed y) 2011-09-01 16:20:34 -04:00
Preston Skupinski
c9a559ab6e added more unit tests for LDA and provided all of the dependencies for running the unit tests so no internet connection is required to use that page 2011-09-01 14:37:34 -04:00
Preston Skupinski
fadcea4c5d added more unit tests for LDA and fixed a bug in the implemention of the direct page indirect mode for LDA 2011-08-31 15:41:27 -04:00
Preston Skupinski
a8f5cc4556 added more unit tests for LDA 2011-08-31 14:22:35 -04:00
Preston Skupinski
d2a9f2589c begin work on unit tests for LDA 2011-08-30 12:39:43 -04:00
Preston Skupinski
e1f33e4af4 fixed the emulation mode stack register and stack behavior to be a bit more accurate 2011-05-12 00:57:29 -04:00
Preston Skupinski
758d336563 added emulation mode page one swap wrapping 2011-05-11 20:31:12 -04:00
Preston Skupinski
5347ced894 added MVN and MVP 2011-05-11 01:05:31 -04:00
Preston Skupinski
3bbb03143b added a short test for JSR and RTS 2011-05-09 14:20:00 -04:00
Preston Skupinski
cc815b4b5f added a space where I was missing one in one test message 2011-05-07 18:56:20 -04:00
Preston Skupinski
41d1b2f17c added some tests for CMP 2011-05-07 18:55:19 -04:00
Preston Skupinski
96022047d6 added CMP immediate and fixed a misunderstanding as to when the carry bit is set or not set with SBC/CMP 2011-05-07 18:18:25 -04:00
Preston Skupinski
146992b192 added SBC immediate 2011-05-07 17:45:39 -04:00
Preston Skupinski
47766a6b0d added ADC direct page indirect 2011-05-07 14:37:29 -04:00
Preston Skupinski
1f127547e1 added ADC direct page and ADC absolute 2011-05-07 13:08:02 -04:00
Preston Skupinski
861a8183b2 check for signed overflow with ADC 2011-05-07 12:17:14 -04:00
Preston Skupinski
676b111870 added ADC immediate 2011-05-07 11:02:17 -04:00
Preston Skupinski
f2f47833a7 added some tests for branching operations 2011-05-05 21:41:10 -04:00
Preston Skupinski
d9917b0d4e make the tests for REP and SEP a bit more comprehensive 2011-05-05 20:12:01 -04:00
Preston Skupinski
7500a31ef5 started adding test cases for the emulator, I've decided upon using QUnit for the tests 2011-05-05 17:25:44 -04:00