Bryan Miller
|
59978a550d
|
Renamed wireable.js to io.js to match exported class name. Fixed bug
|
5 years ago |
Bryan Miller
|
07593c8ca9
|
Created class that can handle specialty IO events.
|
5 years ago |
Bryan Miller
|
124d9d4ff3
|
Clock test improved to allow for a +/-1% variation in cycles.
|
5 years ago |
Bryan Miller
|
5bb38e2ab2
|
Started adding tests for MOS CIA
|
5 years ago |
Bryan Miller
|
80201048c1
|
Bug fixes to MOS CIA Serialization.
|
5 years ago |
Bryan Miller
|
d3b1742795
|
MOS CIA can now be reset. Serial communication implemented.
|
5 years ago |
Bryan Miller
|
9abb5bcf4e
|
MOS CIA Interrupt control/mask mechanics in place.
|
5 years ago |
Bryan Miller
|
e13f5b0e96
|
CIA Timers A/B coded.
|
5 years ago |
Bryan Miller
|
f7ed007df4
|
Rework of the CIA TOD registers.
|
5 years ago |
Bryan Miller
|
f8ef85f77f
|
Tweaks to MOSCIA
|
5 years ago |
Bryan Miller
|
c1f1f23ec4
|
Memory now has a peek() and poke() method; like read() and write() respectively, but will not trigger listeners.
|
5 years ago |
Bryan Miller
|
613d11b016
|
MOSCIA will now uses utils/bcd and TOD clock should work... untested.
|
5 years ago |
Bryan Miller
|
d443ff4c3a
|
More work on utils/bcd and added unit tests.
|
5 years ago |
Bryan Miller
|
a162b4ae88
|
Started working a BCD helper, and an implementation of the MOS CIA chip.
|
5 years ago |
Bryan Miller
|
ecd453d812
|
Moved MOS6502 out of the chip directory. Adjusted tests accordingly.
|
5 years ago |
Bryan Miller
|
fcdf419a6b
|
Added some tests for the Clock class.
|
5 years ago |
Bryan Miller
|
a9ba4f14ec
|
Minor tweaks to Clock
|
5 years ago |
Bryan Miller
|
b12f868755
|
Finished MMC memory tests.
|
5 years ago |
Bryan Miller
|
2e5ad3880a
|
Bug fixes
|
5 years ago |
Bryan Miller
|
4c9f047a7d
|
Fixed the .address property behaviour
|
5 years ago |
Bryan Miller
|
dda1c22cc6
|
Fixed a couple bugs. Removed mmSwitchRegister(). Added switchBank()
|
5 years ago |
Bryan Miller
|
5ba52a58d4
|
Added another couple tests to the memory test set.
|
5 years ago |
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 |