4 ms·
I very much doubt it's a reference to anything. It doesn't appear to have a useful purpose besides demonstrating/exercising a few of the important components of
by NobodyNada 7y ago
I very much doubt it's a reference to anything. It doesn't appear to have a useful purpose besides demonstrating/exercising a few of the important components of the processor: it performs operations using the registers, the stack (JSR/RTS), memory (INC), and the ALU (ADC).
A quick search through GitHub shows that this code is unchanged since the initial commit of the original Visual6502: https://github.com/trebonian/visual6502/blob/4d8da5b680216dcbe5705ecb831821cd6b81e479/macros.js#L2 https://github.com/trebonian/visual6502/blob/4d8da5b680216dc...
- flohofwoe 7y agoI just took the original testing code from http://visual6502.org/JSSim/index.html http://visual6502.org/JSSim/index.html, also to confirm whether the simulation and visualization works. I don't think it has any significance except testing a few things like memory read/write access, whether the stack works etc...