6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue May 07, 2024 11:46 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Apr 26, 2024 7:48 pm 
Offline

Joined: Fri Apr 26, 2024 7:26 pm
Posts: 1
Not sure why I made this yet, but I enjoyed the process and now I feel a lot more comfortable with the 6502 instruction set

Available at: https://github.com/bencoder/6502

I added a basic console IO interface and got Wozmon working on it :)

Notes:
- Haven't done anything clever with opcode decoding, just a big switch statement
- It passes the Klaus functional tests
- Cycle counts are probably not accurate, haven't been thoroughly tested (just basing it on memory read/writes, with +1 adjustment when paging in indexed addressing modes)
- illegal/undocumented opcodes haven't been implemented
- undefined behaviour (I think that's only the weird decimal mode flags) hasn't been implemented/tested

Comments/Criticism welcome :)


Top
 Profile  
Reply with quote  
PostPosted: Sat May 04, 2024 12:59 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10799
Location: England
Welcome! Nice idea - haven't tried it though. Should it be relative easy to make up an HTML page, and serve the emulator from github directly as an in-browser emulator?


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

All times are UTC


Who is online

Users browsing this forum: rwiker 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: