A 65C02 Emulator for Microchip PIC24/33
EM-65C02 emulates a Western Design Centre (WDC) 65C02 microprocessor on a Microchip PIC24/33 microcontroller. The code supports varying amounts of RAM and ROM depending on the features of the host device. The emulation speed depends on the device and its oscillator configuration. A PIC24EP running at 70MIPS has emulates a 65C02 running at about 6Mhz. The example code configuration uses a copy of the BBC BASIC ROM image and a simulation of enough of the Acorn MOS to make the BASIC work using a serial UART connection.