6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 9:38 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jan 15, 2016 5:48 pm 
Offline

Joined: Sun Feb 23, 2014 2:43 am
Posts: 78
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:
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


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 21, 2016 9:08 am 
Offline
User avatar

Joined: Wed Jan 04, 2012 4:28 am
Posts: 31
Location: Florida
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/2016/02/virtual-machines-and-cpu-emulation.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."


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 21, 2016 9:50 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
(Subscribed to both your blogs!)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: