Bryan Miller
|
30f95044b1
|
Rewrote .load() method.
|
5 years ago |
Bryan Miller
|
10a62b4c40
|
Minor test addition
|
5 years ago |
Bryan Miller
|
9d773f6894
|
Added pages property to memory. Bringing MMC more inline with IMem interface.
|
5 years ago |
Bryan Miller
|
495c5b6d13
|
Memory module bug fixes. Memory test added.
|
5 years ago |
Bryan Miller
|
beab01695c
|
Rewrote memory classes and put them in their own folder. Updated MOS6502/cpu and relavent tests.
|
5 years ago |
Bryan Miller
|
f005dda779
|
Finished all opcodes in assembler
|
5 years ago |
Bryan Miller
|
c2f0652936
|
Several more opcodes tested.
|
5 years ago |
Bryan Miller
|
8744d3cc60
|
Fixed bug with LDX Absolute,Y
|
5 years ago |
Bryan Miller
|
c722a4875a
|
Large number of 6502 assembler tests written.
|
5 years ago |
Bryan Miller
|
bed8ec0d7b
|
Fixed a typo
|
5 years ago |
Bryan Miller
|
5781e7617a
|
Added interrupt handlers (by way of psuedo hijacking BRK) and make reset a property. Updated tests accordingly.
|
5 years ago |
Bryan Miller
|
e92b54db8a
|
Finished coding all opcodes.
|
5 years ago |
Bryan Miller
|
baed6e66e4
|
Added dedicated StackPush() and StackPop() methods. Fixed BRK and JSR opcodes. Wrote RTS and RTI opcodes.
|
5 years ago |
Bryan Miller
|
9265cb255c
|
Added the ROL and ROR opcodes.
|
5 years ago |
Bryan Miller
|
3e179155fd
|
More opcodes finished.
|
5 years ago |
Bryan Miller
|
440c54349f
|
Added more MOS6502/cpu tests. File dummy updated with unofficial tests.
|
5 years ago |
Bryan Miller
|
145fb53143
|
Added LDA opcode. Tweaking ALU()
|
5 years ago |
Bryan Miller
|
50526cd864
|
MATHC() broken into ADC() and SBC() once again. ProccessOp() handles memory and value access in the various mode types and returns true when the process who generate an outcome.
|
5 years ago |
Bryan Miller
|
b94470cdae
|
Testing file for MOS6502/cpu
|
5 years ago |
Bryan Miller
|
b31404b6d6
|
Fixed conflict with BIT (using BITM for the utility file). Method reset() should now match basic 6502 reset mechanics.
|
5 years ago |
Bryan Miller
|
a8ad08b32d
|
Method rename and two new methods added to Bank class.
|
5 years ago |
Bryan Miller
|
b9802d895a
|
ADC() method turned into the MATHC() method which can be used for both the ADC and SBC op codes. CPU.clk() updated accordingly.
|
5 years ago |
Bryan Miller
|
fa1b9f9d91
|
ALU() method modified to directly use and set the cpu.__AR value. ADC() Adjusted according to the new ALU() changes.
|
5 years ago |
Bryan Miller
|
52e51110b8
|
Added ALU and the ADC op code.
|
5 years ago |
Bryan Miller
|
004d99d851
|
Can now get the direct bit value with the new .val() method.
|
5 years ago |
Bryan Miller
|
30132b152e
|
Fixed the order of the status register flags and initialized the status register to 32 (bit 5 on).
|
5 years ago |
Bryan Miller
|
0ab6bb54b8
|
Branching fixed. Added Register, Flag, and Stack commands.
|
5 years ago |
Bryan Miller
|
2433ed5e8f
|
Branches coded.
|
5 years ago |
Bryan Miller
|
58e181fac5
|
MOS6502 CPU buildout.
|
5 years ago |
Bryan Miller
|
7f25738377
|
Tokenizer handles strings. Directives use handlers. Updated tests.
|
5 years ago |
Bryan Miller
|
3daef52868
|
MOS6502 moved into src/chip/MOS6502 and broken into two different files. Tests have been flattened.
|
5 years ago |
Bryan Miller
|
fdee76c879
|
Reorganization of source files.
|
5 years ago |
Bryan Miller
|
6e68f6e8d2
|
Added a small utility for bit manipulation. Tests included.
|
5 years ago |
Bryan Miller
|
bd3c510e07
|
MOS6502 bug fixes, added compiler directive '.bytes'. All directives will now start with a period (including 'define'). Tests updated.
|
5 years ago |
Bryan Miller
|
44451f10cc
|
Added tests for MOS6502.Assembler, most still pending completion.
|
5 years ago |
Bryan Miller
|
a4413cd7ba
|
Fixed bug calculating value for indirect calls.
|
5 years ago |
Bryan Miller
|
28ed010e64
|
Fixed some bugs with a dummy test file (to be removed and replaced with a mocha test).
|
5 years ago |
Bryan Miller
|
1100b23ea5
|
Jump and Var labels complete.
|
5 years ago |
Bryan Miller
|
90a8c38b57
|
Jump labels stored. Added some reminder TODOs
|
5 years ago |
Bryan Miller
|
22a70bc711
|
All op-codes filled out in assmebler.
|
5 years ago |
Bryan Miller
|
346ea6787c
|
More op assembly defined.
|
5 years ago |
Bryan Miller
|
5a94e35213
|
Fleshing out the 6502 Assembler.
|
5 years ago |
Bryan Miller
|
23b49ed571
|
Renamed class. Started adding Assembler class.
|
5 years ago |
Bryan Miller
|
973c44e991
|
Renamed 6502 file to match exported class. Roughed out the class.
|
5 years ago |
Bryan Miller
|
ff07d6a8b9
|
Basic start of 6502 chip emulation. Mostly empty.
|
5 years ago |
Bryan Miller
|
adcafab80e
|
Added empty stub to keep directory
|
5 years ago |
Bryan Miller
|
c9436f8fea
|
Added node modules for testing. Tweaked .gitignore
|
5 years ago |
Bryan Miller
|
99c67da1bf
|
Memory class is now being treated as an interface. Bank takes the place of Memory and Bank extends Memory. MMC also extends Memory.
|
5 years ago |
Bryan Miller
|
9a50ab2514
|
mmSwitchRegister() finished.
|
5 years ago |
Bryan Miller
|
a5c854d8de
|
Minor method rename
|
5 years ago |