Its not 100% complete and there are lots of opcodes that are not handled but this can already “run” 6502 code (there are several test samples in the project itself)
Since its effectively a “byte code interpreter” I though others might find its configuration useful
I’d be really interested to see how far you can get with this mate.
Have you considered trying to get a simple system emulator up and running? There’s a bunch of documentation out there on the NES for example which was based around the 6502. Much simpler than the Apple II from an architecture point of view I think.
guess I’m missing something here… emulating a processor (6502, Z80 whatever) is one thing, but what good is it (even as a mind exercise) if there is no “hardware” to emulate as well. Every computer that used any processor needed at least one input device (keyboard?) and at least one output device (monitor?)… and each one of them had their own unique drivers. So a CPU emulator can execute instructions and bit twiddle “registers”, but without an OS to run on the emulator… what have you?
What I meant… was what would a working project entail?
I had thought about a z80 emulator, that would should all the registers on the screen, a way to enter some kind of either hex code or assembly “program”… with specific “addresses” that would fake i/o
Ideally it could be a working Apple II emulator etc
Or at least enough of the core of the 6502 that making an emulator for other systems would be possible
6502’s are still commercially available and used so … who knows
Maybe if this works well enough a paying emulator ?
Neat! In high school a friend and I wrote a version of the old arcade came Gauntlet on a C64 using 6502 assembler. It had a centered sprite and the joystick would move the map auto stopping on sprite collisions with wall. It was soooo fast we had to add loops to slow it down.