ROM emulation using an STM32F4:
I remember reading dhole’s Emulating a GameBoy Cartridge with an STM32F4 some time ago thinking that it had a lot of applications with respect to old computers. In that article a STM32F4 microcontroller ‘pretends to be a ROM chip for a gameboy’. At the start of a bus cycle, an interrupt is triggered in the STM32F4, it then reads the address bus of the gameboy’s 6502, checks the gameboy’s read/write line(s) and pulls data from its internal Flash and presents it onto the data bus long enough for the gameboy to read it, then tristates the databus. There are no wait states. It does this all within the 1000ns of the 1MHz Gameboy CPU clock. For all intensive purposes the gameboy thinks it has a real rom chip attached.
Full details at Kernelcrash.com .
Hey, good job quoting as an abstract something the author writes about someone else’s project… For the record, I do appreciate the proper attention to detail, timing and the limits of what the hardware can possibly do; it’s the exact thing lacking in most of the Arduino “maker” generation. Respect!