Hello, this page demonstrates my W65C02 emulator project, including a demo video showing off a simple OS which features a few built in commands and the ability to load programs using a simple executable file format.
The emulator passes the Klaus tests, which is a 6502 ROM ran in the emulator itself that checks for expected results of all instructions.
Instructions are ran cycle by cycle, however, not all instructions have been verified to have the correct number of cycles or perform internal logic or external access on the correct cycle.
The emulator tries to keep as close to realtime as possable when processing cycles. It plays catch up with realtime by yielding to the OS and then catching up to the current time on its next time slice.
Below is a 3 minute demo. In the video, the emulator is connected to a terminal using a virtual com port pair, a directory of the host's file system is used as the contents of a serial drive and the OS is loaded into ROM. The 'tedit' application is ran to demonstrate loading programs. The tedit application has been written in C using the CC65 project.