Last visit was: Thu Oct 31, 2024 11:03 pm
It is currently Thu Oct 31, 2024 11:03 pm



 [ 2 posts ] 
 WDC 65C832 
Author Message

Joined: Sun Aug 04, 2013 9:02 pm
Posts: 23
I've long wondered what the mythical 65C832 would be like to work with so I've decided to make it the subject of my next emulation. My assembler already has support for all the WDC family including the '832. Even if the 32-bit features of the device prove useless it should function as a pretty good 65C816.

I've managed to find some PIC32MZ development boards with 2MB of flash and 512K of RAM on chip which run at the full 200MHz/330DMIPS. I think this emulation will be coded in C rather than assembler and it might be fun to include a DMA+SPI generated VGA display.

Parts have been ordered and should arrive shortly.


Thu Feb 19, 2015 1:22 pm

Joined: Tue Jan 15, 2013 10:11 am
Posts: 114
Location: Norway/Japan
That will be interesting. I'm looking forward to what you find out. I recall having a "that sounds too complicated"-feeling when I read the datasheet a long time ago. I can't recall what that was about exactly, but I took a look at the datasheet again now and there are 24 addressing modes.. nearly as bad as the 28 address modes of a minicomputer I wrote an emulator for, some years ago. After implementing that I understood why the real hardware was so slow (relatively speaking). Just decoding the modes couldn't be done fast, even in hardware. And, as I implemented my emulator by letting real compiled code run through the emulator until it ran into something not implemented, I soon realised that compilers simply don't use all those modes. They use a subset which, when combined, can do everything.

Of course the 65C832 also incorporates 'c816 and 'c02 emulation modes.. and some of those addressing modes come from there. But I'm sure you'll have a lot of fun doing this and I'll definitely be interested in how it works out!

-Tor


Fri Feb 20, 2015 2:30 am
 [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software