Ok so i got a couple of old 65xx series processors. The old fellas that you'd find in old computers like the Commodore.
I want to play around with them a bit. learn how they work through practice. Thing is is that i don't have the ram nor a simple way to load such ram with instructions.
Now. i have this idea of Emulating the 64KB RAM with a Teensy4(.1). Which in a perfect world would let me pre-load machine-code and experiment that way.
The thing is that i don't know if the Teensy is fast enough to do this. I want to run the processors at 1-2Mhz and i know that they can perform a memory operation every cycle.
So the Teensy would have to be very fast at reading the 16-bit address and either loading from or writing to memory data through the 8-bit data bus.
Which leads me to my question: Think it is feasible to emulate Ram this fast (<500ns) with a Teensy?
I know ARMs tend to be slower on the GPIO than with memory to memory operations so i figured i'd double check.
I would think 800Mhz would be enough to get decent speed with some tricks like direct manipulation of the GPIO registers.
(P.S. I know i could just emulate a 6502 outright, but working with the real deal seems more fun)
I want to play around with them a bit. learn how they work through practice. Thing is is that i don't have the ram nor a simple way to load such ram with instructions.
Now. i have this idea of Emulating the 64KB RAM with a Teensy4(.1). Which in a perfect world would let me pre-load machine-code and experiment that way.
The thing is that i don't know if the Teensy is fast enough to do this. I want to run the processors at 1-2Mhz and i know that they can perform a memory operation every cycle.
So the Teensy would have to be very fast at reading the 16-bit address and either loading from or writing to memory data through the 8-bit data bus.
Which leads me to my question: Think it is feasible to emulate Ram this fast (<500ns) with a Teensy?
I know ARMs tend to be slower on the GPIO than with memory to memory operations so i figured i'd double check.
I would think 800Mhz would be enough to get decent speed with some tricks like direct manipulation of the GPIO registers.
(P.S. I know i could just emulate a 6502 outright, but working with the real deal seems more fun)