Bryan Miller
|
f1528e3a8d
|
Environment class can now have a 'special' variable for the Program Counter defined (using the PCLabel property).
|
il y a 5 ans |
Bryan Miller
|
da3a8b826f
|
Parser can now have it's Program Counter Label (PCLabel) defined. Defaults to '__PC__'. The symbole '*' is no longer used.
|
il y a 5 ans |
Bryan Miller
|
b3262793c0
|
Number of parser fixes. OpCode parser now properly parses Indirect op codes.
|
il y a 5 ans |
Bryan Miller
|
e8c246247f
|
Removed stray console.log() command.
|
il y a 5 ans |
Bryan Miller
|
7e92c653b7
|
Added compiler environment class.
|
il y a 5 ans |
Bryan Miller
|
6c7235577f
|
MOS/6502/tpl.js contains objects and functions used by Tokenizer and Parser to allow them to codify 6502 assembly.
|
il y a 5 ans |
Bryan Miller
|
54d32839f0
|
Parser functional and turned into a class. Tokenizer now has a tokenize() method. Both Parser and Tokenizer have been moved from MOS/6502/assembler into the compiler folder. Both Parser and Tokenizer have op code identification generalized out... which should allow Parser and Tokenizer to be used for more than one CPU type.
|
il y a 5 ans |
Bryan Miller
|
58201c6cf6
|
Parse coming along
|
il y a 5 ans |
Bryan Miller
|
4e64570f32
|
More buildout of the parser
|
il y a 5 ans |
Bryan Miller
|
908ba8852d
|
Tokenizer will now only accept multi-line strings if the newline is preceeded by a backspace.
|
il y a 5 ans |
Bryan Miller
|
aa79ab6340
|
More 6502 assembly parser work.
|
il y a 5 ans |
Bryan Miller
|
f02c5c4ef9
|
Working on the parser. :-/
|
il y a 5 ans |
Bryan Miller
|
c5c72ee036
|
Tokenizer now outputs opcodes as their own token.
|
il y a 5 ans |
Bryan Miller
|
da0816d194
|
Started work on parser.
|
il y a 5 ans |
Bryan Miller
|
9a3cb5162f
|
Tokenizer finished.
|
il y a 5 ans |
Bryan Miller
|
198ef7d18d
|
Started work on a new assembler for the 6502 cpu. Something cleaner!
|
il y a 5 ans |
Bryan Miller
|
92e960dd07
|
Modified memory/MMC to allow 'writePassthrough' (enabled by default) which will pass any write attempt to a writable chunk of memory within the same bank if one is available. Updated tests as needed.
|
il y a 5 ans |
Bryan Miller
|
5237ac8a8c
|
Added module index file for src/MOS.
|
il y a 5 ans |
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.
|
il y a 5 ans |
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.
|
il y a 5 ans |
Bryan Miller
|
35333360c1
|
IO moved from common to root. Adjusted modules to use the new IO path.
|
il y a 5 ans |
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.
|
il y a 5 ans |
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.
|
il y a 5 ans |
Bryan Miller
|
65ad33f262
|
Started adjusting MOS6502.cpu tests to use the MOS6502.assembler to 'compile' the assembly being tested.
|
il y a 5 ans |
Bryan Miller
|
55bde60f14
|
Enhanced ALU with BCD mode and fixed ADC/SBC flag results.
|
il y a 5 ans |
Bryan Miller
|
c5014d935f
|
Added file to force test execution order.
|
il y a 5 ans |
Bryan Miller
|
1309eca595
|
Clock tests updated for new features.
|
il y a 5 ans |
Bryan Miller
|
e7a447abfc
|
Clock can now handle 'layers'. Every added layer reduces call speed of grouped components by <hz>/<# layers>.
|
il y a 5 ans |
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.
|
il y a 5 ans |
Bryan Miller
|
fce7c0eecd
|
MOSCIA Tests now contain all Timer B tests!
|
il y a 5 ans |
Bryan Miller
|
fa33745af9
|
MOSCIA Fixed typo and CNT is no longer automatically set to zero at the end of a phi2 tick.
|
il y a 5 ans |
Bryan Miller
|
2bf492355c
|
MOSCIA More Timer A Tests.
|
il y a 5 ans |
Bryan Miller
|
d137381005
|
Clock test allows slight variance for amount of real time passage.
|
il y a 5 ans |
Bryan Miller
|
f411ce2643
|
Continued MOSCIA tests.
|
il y a 5 ans |
Bryan Miller
|
0d26e362ad
|
Fixed issues with interrupts. Fixed bugs in TimerA.
|
il y a 5 ans |
Bryan Miller
|
a7b0ba2202
|
MOSCIA TOD and other tests added. Breaks due to interrupt issues.
|
il y a 5 ans |
Bryan Miller
|
de34b64ed7
|
Fixed TOD issues. Working on interrupt issues.
|
il y a 5 ans |
Bryan Miller
|
d667ca6ad6
|
Testing the ability to trigger events for PDA and PDB as well as DD* masking.
|
il y a 5 ans |
Bryan Miller
|
4772ddfaf5
|
Tweaks to MOSCIA
|
il y a 5 ans |
Bryan Miller
|
4e28ffbe91
|
RAM, ROM, and Shadow memory now use the new IO class. Dropped the Listener helper class.
|
il y a 5 ans |
Bryan Miller
|
59978a550d
|
Renamed wireable.js to io.js to match exported class name. Fixed bug
|
il y a 5 ans |
Bryan Miller
|
07593c8ca9
|
Created class that can handle specialty IO events.
|
il y a 5 ans |
Bryan Miller
|
124d9d4ff3
|
Clock test improved to allow for a +/-1% variation in cycles.
|
il y a 5 ans |
Bryan Miller
|
5bb38e2ab2
|
Started adding tests for MOS CIA
|
il y a 5 ans |
Bryan Miller
|
80201048c1
|
Bug fixes to MOS CIA Serialization.
|
il y a 5 ans |
Bryan Miller
|
d3b1742795
|
MOS CIA can now be reset. Serial communication implemented.
|
il y a 5 ans |
Bryan Miller
|
9abb5bcf4e
|
MOS CIA Interrupt control/mask mechanics in place.
|
il y a 5 ans |
Bryan Miller
|
e13f5b0e96
|
CIA Timers A/B coded.
|
il y a 5 ans |
Bryan Miller
|
f7ed007df4
|
Rework of the CIA TOD registers.
|
il y a 5 ans |
Bryan Miller
|
f8ef85f77f
|
Tweaks to MOSCIA
|
il y a 5 ans |