Bryan Miller
|
2784031e8a
|
Broke up the src/memory/memory.js file into rom, ram, and shadow. Updated src/memory/index.js and tests as needed.
|
5 anni fa |
Bryan Miller
|
37709db2ee
|
Moved all MOS-based chips into a single MOS directory. Modified test names to match. Updated all affected files to reflect new path and file name changes.
|
5 anni fa |
Bryan Miller
|
35333360c1
|
IO moved from common to root. Adjusted modules to use the new IO path.
|
5 anni fa |
Bryan Miller
|
887c5adfd3
|
MOS6502/cpu has the method .hardReset(). Improvements to ALU function, especially in BCD math. Tests enhanced and added test for ADC Immediate BCD mode.
|
5 anni fa |
Bryan Miller
|
fd49d3d657
|
MOS6502.cpu increasing of program counter slightly modified, fixed some minor bugs. MOS6502.cpu tests updated to be cleaner and clearer and include from flag testing in the existing ADC/SBC tests.
|
5 anni fa |
Bryan Miller
|
65ad33f262
|
Started adjusting MOS6502.cpu tests to use the MOS6502.assembler to 'compile' the assembly being tested.
|
5 anni fa |
Bryan Miller
|
55bde60f14
|
Enhanced ALU with BCD mode and fixed ADC/SBC flag results.
|
5 anni fa |
Bryan Miller
|
c5014d935f
|
Added file to force test execution order.
|
5 anni fa |
Bryan Miller
|
1309eca595
|
Clock tests updated for new features.
|
5 anni fa |
Bryan Miller
|
e7a447abfc
|
Clock can now handle 'layers'. Every added layer reduces call speed of grouped components by <hz>/<# layers>.
|
5 anni fa |
Bryan Miller
|
e65b597706
|
Clock moved from common to the root src path. Renamed some tests. Combined utils.bcd and utils.bitman tests into a unified utils test. Utils path can now be imported like a module.
|
5 anni fa |
Bryan Miller
|
fce7c0eecd
|
MOSCIA Tests now contain all Timer B tests!
|
5 anni fa |
Bryan Miller
|
fa33745af9
|
MOSCIA Fixed typo and CNT is no longer automatically set to zero at the end of a phi2 tick.
|
5 anni fa |
Bryan Miller
|
2bf492355c
|
MOSCIA More Timer A Tests.
|
5 anni fa |
Bryan Miller
|
d137381005
|
Clock test allows slight variance for amount of real time passage.
|
5 anni fa |
Bryan Miller
|
f411ce2643
|
Continued MOSCIA tests.
|
5 anni fa |
Bryan Miller
|
0d26e362ad
|
Fixed issues with interrupts. Fixed bugs in TimerA.
|
5 anni fa |
Bryan Miller
|
a7b0ba2202
|
MOSCIA TOD and other tests added. Breaks due to interrupt issues.
|
5 anni fa |
Bryan Miller
|
de34b64ed7
|
Fixed TOD issues. Working on interrupt issues.
|
5 anni fa |
Bryan Miller
|
d667ca6ad6
|
Testing the ability to trigger events for PDA and PDB as well as DD* masking.
|
5 anni fa |
Bryan Miller
|
4772ddfaf5
|
Tweaks to MOSCIA
|
5 anni fa |
Bryan Miller
|
4e28ffbe91
|
RAM, ROM, and Shadow memory now use the new IO class. Dropped the Listener helper class.
|
5 anni fa |
Bryan Miller
|
59978a550d
|
Renamed wireable.js to io.js to match exported class name. Fixed bug
|
5 anni fa |
Bryan Miller
|
07593c8ca9
|
Created class that can handle specialty IO events.
|
5 anni fa |
Bryan Miller
|
124d9d4ff3
|
Clock test improved to allow for a +/-1% variation in cycles.
|
5 anni fa |
Bryan Miller
|
5bb38e2ab2
|
Started adding tests for MOS CIA
|
5 anni fa |
Bryan Miller
|
80201048c1
|
Bug fixes to MOS CIA Serialization.
|
5 anni fa |
Bryan Miller
|
d3b1742795
|
MOS CIA can now be reset. Serial communication implemented.
|
5 anni fa |
Bryan Miller
|
9abb5bcf4e
|
MOS CIA Interrupt control/mask mechanics in place.
|
5 anni fa |
Bryan Miller
|
e13f5b0e96
|
CIA Timers A/B coded.
|
5 anni fa |
Bryan Miller
|
f7ed007df4
|
Rework of the CIA TOD registers.
|
5 anni fa |
Bryan Miller
|
f8ef85f77f
|
Tweaks to MOSCIA
|
5 anni fa |
Bryan Miller
|
c1f1f23ec4
|
Memory now has a peek() and poke() method; like read() and write() respectively, but will not trigger listeners.
|
5 anni fa |
Bryan Miller
|
613d11b016
|
MOSCIA will now uses utils/bcd and TOD clock should work... untested.
|
5 anni fa |
Bryan Miller
|
d443ff4c3a
|
More work on utils/bcd and added unit tests.
|
5 anni fa |
Bryan Miller
|
a162b4ae88
|
Started working a BCD helper, and an implementation of the MOS CIA chip.
|
5 anni fa |
Bryan Miller
|
ecd453d812
|
Moved MOS6502 out of the chip directory. Adjusted tests accordingly.
|
5 anni fa |
Bryan Miller
|
fcdf419a6b
|
Added some tests for the Clock class.
|
5 anni fa |
Bryan Miller
|
a9ba4f14ec
|
Minor tweaks to Clock
|
5 anni fa |
Bryan Miller
|
b12f868755
|
Finished MMC memory tests.
|
5 anni fa |
Bryan Miller
|
2e5ad3880a
|
Bug fixes
|
5 anni fa |
Bryan Miller
|
4c9f047a7d
|
Fixed the .address property behaviour
|
5 anni fa |
Bryan Miller
|
dda1c22cc6
|
Fixed a couple bugs. Removed mmSwitchRegister(). Added switchBank()
|
5 anni fa |
Bryan Miller
|
5ba52a58d4
|
Added another couple tests to the memory test set.
|
5 anni fa |
Bryan Miller
|
30f95044b1
|
Rewrote .load() method.
|
5 anni fa |
Bryan Miller
|
10a62b4c40
|
Minor test addition
|
5 anni fa |
Bryan Miller
|
9d773f6894
|
Added pages property to memory. Bringing MMC more inline with IMem interface.
|
5 anni fa |
Bryan Miller
|
495c5b6d13
|
Memory module bug fixes. Memory test added.
|
5 anni fa |
Bryan Miller
|
beab01695c
|
Rewrote memory classes and put them in their own folder. Updated MOS6502/cpu and relavent tests.
|
5 anni fa |
Bryan Miller
|
f005dda779
|
Finished all opcodes in assembler
|
5 anni fa |