Emulator with PC I/O Support

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
Post Reply
joe7
Posts: 78
Joined: 23 Feb 2014

Emulator with PC I/O Support

Post by joe7 »

I started an experimental emulator project with PC I/O support, inspired by this thread:
6502 or W65C816S to X86 Assembly Language

I/O is done by strobing certain "magic" addresses. For example, this might output a character to the terminal:

Code: Select all

lda #'X'
sta $FFF0
(Note that the STA is trapped and ignored, and control is given to the I/O routine instead.)

The emulator is kinda working but there is no I/O yet besides a simple test. Keyboard, text, and file support should be possible, although I intend to keep it all pretty basic. Probably should be finishing existing projects instead of starting new ones, but oh well. :oops:

The code thus far:
https://github.com/Mortis69/6502PC
User avatar
mkarcz
Posts: 31
Joined: 04 Jan 2012
Location: Florida
Contact:

Re: Emulator with PC I/O Support

Post by mkarcz »

Nice.
I'm doing something similar, project in progress, 6502 emulation, possibly something more in the future.
Rudimentary character I/O is supported.
Blog entry:
http://leisureprogramming.blogspot.com/ ... ation.html
Code:
https://github.com/makarcz/vm6502
I already had Tiny Basic running in my emulator.
Marek Karcz
---
"Don't worry. We've got our best people working on it."
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Emulator with PC I/O Support

Post by BigEd »

(Subscribed to both your blogs!)
Post Reply