I have an interest in using a Teensy 3.6 as the I/O, glue and RAM for a 65C02.
For those that don't know, the 65C02 is an 8-bit processor with a 16-bit address bus. Meaning it can only address 64K.
The 65C02 commonly runs between 1 - 14MHz. My project would run between 1 - 4 MHz tops.
I'd like to use the Teensy 3.6 as direct RAM at the very least. So the 65C02 would update it's program counter and read/write to the Teensy as if it were 64K of SRAM.
So, my question is, would the Teensy be able to handle 1-4MHz external changes from the 65C02?
At 1 MHz, the 65C02 spends 500ns doing stuff internally and leaves the other 500ns in limbo...where it doesn't touch the address/data bus. Which means the Teensy would have to do general array lookups, etc. within that 500ns to respond to the 65C02. Of course, 2MHz would half that time, etc.
I realize this is a job for assembly. So I thought I would start really small with C and drive the 65C02 at 10-50 kHz first.
What are your thoughts on such a project?
BTW, this has been done with a Propeller at a maximum speed of 1 - 1.2MHz.
Thanks!
For those that don't know, the 65C02 is an 8-bit processor with a 16-bit address bus. Meaning it can only address 64K.
The 65C02 commonly runs between 1 - 14MHz. My project would run between 1 - 4 MHz tops.
I'd like to use the Teensy 3.6 as direct RAM at the very least. So the 65C02 would update it's program counter and read/write to the Teensy as if it were 64K of SRAM.
So, my question is, would the Teensy be able to handle 1-4MHz external changes from the 65C02?
At 1 MHz, the 65C02 spends 500ns doing stuff internally and leaves the other 500ns in limbo...where it doesn't touch the address/data bus. Which means the Teensy would have to do general array lookups, etc. within that 500ns to respond to the 65C02. Of course, 2MHz would half that time, etc.
I realize this is a job for assembly. So I thought I would start really small with C and drive the 65C02 at 10-50 kHz first.
What are your thoughts on such a project?
BTW, this has been done with a Propeller at a maximum speed of 1 - 1.2MHz.
Thanks!