!6502Em





Emulator:  !6502em
Author(s): Mike Borcherds (borchrds.teaching@physics.oxford.ac.uk)
Platform:  Archimedes
Language:  ARM Assembler
Implementation:

65C02 emulated, only known opcode problem is with SBC in BCD mode
Screen - supports funny sized modes, 6522 latch, no split screens or
palette or cursor yet
Keyboard - inkey with -ve numbers works from hardware, but the keyboard
interrupt doesn't work (because I didn't realise you have to set the
bit in FE4D even if interrupts are disabled!), so I'm intercepting
OSRDCH and OSBYTE for keyboard handling
(shift & ctrl break work OK)
Interrupts - I'm currently faking a timer 1 and a vsync interrupt at
fairly arbitrary intervals, which seems to work reasonably
FE30 - emulated
Filing System - I'm intercepting OSFSC (& OSBPUT, OSBGET etc etc)
to implement a full filing system, sending errors back via a BRK
which works very nicely, the only problem being how to do commands
(like *.) which send stuff back to the screen.
A better solution will be to write a filing system, then I can run
the original ROM
6522 - no timers emulated yet
Sound - emulated by trapping OSWORD [MB]