Commit Graph

191 Commits

Author SHA1 Message Date
Preston Skupinski
1b1193abbf added absolute long addressing for many operations that support it 2011-05-22 14:13:16 -04:00
Preston Skupinski
e046787510 added direct page indirect long indexed y addressing for operations that support it 2011-05-22 12:52:42 -04:00
Preston Skupinski
c469f3f3ae added direct page indirect long addressing mode for operations that support it 2011-05-22 11:20:02 -04:00
Preston Skupinski
05f31579f1 updated the TODO 2011-05-15 20:21:02 -04:00
Preston Skupinski
7de24ebf33 added COP 2011-05-15 20:05:31 -04:00
Preston Skupinski
e37b40fb76 added basic working interrupt handling and the BRK and RTI operations. 2011-05-14 23:17:28 -04:00
Preston Skupinski
d446c727bf quick fix for a mistake in the opcode map 2011-05-13 22:28:13 -04:00
Preston Skupinski
a2b0188024 added stack relative indirect indexed y addressing for the operations that support it 2011-05-13 22:24:05 -04:00
Preston Skupinski
179980e8c3 added stack relative addressing for operations that support it 2011-05-13 18:30:22 -04:00
Preston Skupinski
38505fdc8b added direct page indexed x, absolute indexed x and absolute indexed y addressing modes for CMP 2011-05-13 15:24:00 -04:00
Preston Skupinski
7b821a0473 added direct page indirect indexed y addressing mode for those operations that support it 2011-05-13 14:58:10 -04:00
Preston Skupinski
e2341a63a1 added XBA 2011-05-13 13:51:10 -04:00
Preston Skupinski
0fd6d30fe3 added TCS and TSC 2011-05-13 12:46:35 -04:00
Preston Skupinski
8500c21618 added TCD and TDC 2011-05-13 12:18:16 -04:00
Preston Skupinski
20012291fc updated the TODO 2011-05-12 16:23:03 -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
b4f795f368 added BRL 2011-05-12 00:09:02 -04:00
Preston Skupinski
6acdd0d596 changed the program bank register's name from pbr to k as it should be 2011-05-11 22:44:48 -04:00
Preston Skupinski
758d336563 added emulation mode page one swap wrapping 2011-05-11 20:31:12 -04:00
Preston Skupinski
7f6ce58d56 leave stack pointer alteration with byte pushing or pulling to the mmu object 2011-05-11 17:31:50 -04:00
Preston Skupinski
4797ad0cd9 more work on emulation mode support, making sure that any operation that checks for 8-bit registers checks for emulation mode first 2011-05-11 12:41:07 -04:00
Preston Skupinski
25dbc8f08e begin work on emulation mode support 2011-05-11 12:25:54 -04:00
Preston Skupinski
5347ced894 added MVN and MVP 2011-05-11 01:05:31 -04:00
Preston Skupinski
fc55d92515 updated the TODO 2011-05-09 19:23:26 -04:00
Preston Skupinski
02835299a7 added JSL and RTL 2011-05-09 14:43:47 -04:00
Preston Skupinski
3bbb03143b added a short test for JSR and RTS 2011-05-09 14:20:00 -04:00
Preston Skupinski
9e1177864b added JSR and RTS, marking the beginning of subroutine support 2011-05-09 14:14:41 -04:00
Preston Skupinski
65fa7836f4 updated the TODO 2011-05-09 12:49:49 -04:00
Preston Skupinski
4a48a49547 added CLD, SED and CLV 2011-05-09 12:37:09 -04:00
Preston Skupinski
6a4d4ceeaa added PER 2011-05-09 12:21:50 -04:00
Preston Skupinski
8d68d281c7 added PHD and PLD 2011-05-09 00:56:00 -04:00
Preston Skupinski
81767302e4 use the program bank register when fetching the byte representing the instruction to execute next 2011-05-09 00:38:15 -04:00
Preston Skupinski
aa08ce700d added PHB and PLB 2011-05-09 00:34:19 -04:00
Preston Skupinski
b956d2254f added PEA and PEI 2011-05-09 00:01:16 -04:00
Preston Skupinski
98a058058f added PHP and PLP 2011-05-08 23:46:22 -04:00
Preston Skupinski
9af3fe68ee added PHY, PLY, PHX, PLX 2011-05-08 22:46:51 -04:00
Preston Skupinski
395e381c4f beginning of stack support with PHA and PLA 2011-05-08 22:20:33 -04:00
Preston Skupinski
86ea739777 added ROR and all of its addressing modes 2011-05-08 17:46:40 -04:00
Preston Skupinski
b3488669a8 added ROL and all of its addressing modes 2011-05-08 17:03:23 -04:00
Preston Skupinski
b1c6249169 added ASL and all of the addressing modes for it 2011-05-08 15:02:50 -04:00
Preston Skupinski
937dfdb7d8 make sure to add the direct page register to the location with the LSR direct page operation 2011-05-08 14:12:29 -04:00
Preston Skupinski
e8e96e0164 added LSR and all of the addressing modes for and rewrote the way in which I get the high byte from 16-bit data 2011-05-08 14:03:59 -04:00
Preston Skupinski
c941641d6a added EOR and many addressing modes for it 2011-05-08 01:11:11 -04:00
Preston Skupinski
8e3363b1e8 added ORA and many addressing modes for it 2011-05-08 00:58:50 -04:00
Preston Skupinski
4bac875b5c added AND and many addressing modes for it 2011-05-08 00:41:57 -04:00
Preston Skupinski
c716e6e2f0 added support for more addressing modes for SBC 2011-05-07 22:42:11 -04:00
Preston Skupinski
e65caf36ec updated the TODO 2011-05-07 22:19:39 -04:00
Preston Skupinski
645c3b6a5b added CMP absolute and CPX/CPY immediate, direct page and absolute 2011-05-07 20:42:09 -04:00
Preston Skupinski
cbe6896e8f fix a mistake when it came to storing the high byte in memory, while the previous method "worked" it could cause problems down the road as I was storing data larger than 1 byte in 1 byte cells in numerous cases 2011-05-07 19:32:22 -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