3 ms·
I wrote a simple 6502 simulator. Just made it a byte code interpreter. No cycle accurate anything. Simple I/O. Since I/O on the 6502 is all memory accesses, ad
by whartung 2y ago
I wrote a simple 6502 simulator. Just made it a byte code interpreter.
No cycle accurate anything. Simple I/O. Since I/O on the 6502 is all memory accesses, adding console is as simple as echoing whenever a character is stored in a particular memory address. No reason the simulate a VIA chip or UART or anything that low level.
Fun project. You can take it as deep as you like.