Revisions to the 6502 have continued to be made throughout its development this week. The original design used a “timing state generator” that described the current cycle of the instruction, alongside the instruction itself to form a state machine. This translates to rather ugly Verilog, so we’ve instead switched to a FSM for each possible state. This is 135 states, which is certainly still ugly, but allows for much easier debugging and understanding of the design when used alongside the design documents I’ve created.
In addition to this, I have changed our Absolute, X addressed microinstructions to work with Will’s FDD module. The original Disk Drive used the fact that the address was valid on the line for multiple cycles to drive its own state machine, but I removed this side-effect when writing the microinstructions. This and holding the data on the line for an additional cycle were added. In general, progress is continuing on and debugging is occurring.
