6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 14, 2024 5:39 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jun 27, 2019 8:50 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
For sometime now I've been working on a new 65C816 emulator that runs on a cheap ESP32 module. The code base is almost ready to release -- I just have to finish the monitor application (based on my SXB-Hacker) so you can upload code into the RAM for testing instead of having to rebuild the entire thing every time. I'm getting very close.
Attachment:
EM-65C816-ESP32.png
EM-65C816-ESP32.png [ 20.6 KiB | Viewed 1215 times ]

ESP32 modules cost less than £5 (direct from China via ebay) or a little more in online store (like Amazon). My current configuration provides 252K of RAM, and 260K of ROM in the emulated address space. The CPU executes at around 6MHz depending how much I/O you are doing. Currently I provide a virtual UART and 100Hz timer with interrupts. The code could be expanded to access the ESP's other peripherals (including the WiFi, Bluetooth, 2xSPI, more UARTs, I/O pins, etc.).

I suspect the emulation could be made faster but its good enough for now.

ESP32s can produce video and I have reserved some RAM for this purpose in the emulator. Ideally I'd like to generate 800x600 monochrome SVGA. If that proves impossible then something lower resolution and with colour is possible.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 28, 2019 11:03 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
I like it!


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 30, 2019 6:35 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
Ok. Its reached the point that other people can have a play. Its all here:

https://github.com/andrew-jacobs/em-65c816-esp32

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 02, 2019 5:04 am 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
Cool! The interrupts are going to be really useful because they are just majorly hard in software ...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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: