kervinck / gigatron-rom

System, apps and tooling for the Gigatron TTL microcomputer
BSD 2-Clause "Simplified" License
229 stars 79 forks source link

Fixed unified vRTI timing mismatch #243

Closed lb3361 closed 1 year ago

lb3361 commented 1 year ago

Sorry. The previous version seemed to work fine on all tests. It broke when I tried to change maxticks revealing a confused part of the code. The test that allows using the fast vrti path needs to account for v6502_adjust, but the tick value that one passes to ENTER should not. Therefore I cannot use the saved vTmp in line 5239, I need to recompute...