I'm Claudio Sánchez, known in many places as Tokafondo. I've been always a fan of the Commodore computers. I had a C64 as a teenager and I'm in the process of having another one working. Due to the restrictions imposed during this covid-19 crisis, I've not been able to fix it.
During that time, I have been following several projects of DIY computers, and I have learnt a lot of Ben Eater videos so, with no knowledge at all, I will try to make my own. I have no fear of electronics and of failing so there it goes.
I will try to get a w65c265s MCU to work, expanded with memory and a VGA display. I'm aiming at 8 mhz here, the top of what the MCU can run.
Why the '265? because it has several peripherials and interfaces included that usually are available as separated modules, but the most important thing for me is that the full 24 bit address is available with no decoding or demultiplexing needed.
As a VGA output, I will try to build a higher resultion version of Ben Eater's "Worst video card ever", aiming at a 800x600 @60hz signal with 400x300 resolution with 64 colors, maybe with 4 levels of luminance, in 8 bits: LLRRGGBB for every pixel.
Well, after reading some datasheets, and how the '265 works, my memory map would be like this:
Code: Select all
000000-00DFFF (S)RAM 57344 KB - standard RAM @55ns for registers, data and programs.
00E000-02DFFF (EEP)ROM 131072 KB - kernel, rom characters and software that the user would want to be there at boot.
02E000-04DFFF (S)RAM 131072 KB - FAST RAM @15ns that would be shared with the video output and other peripherials.
04E000-07FFFF (S)RAM 204800 KB - standard RAM @55ns for registers, data and programs.If I clock the computer with 40Mhz, and divide it by 2, I would get the 20Mhz needed to generate the 800x600 @60hz signal. And at the same time, divide it in parallel by 5, to get the 8 Mhz needed by the MCU. This would mean (as I understand) that the MCU would access the memory every 2.5 times the VIDEO circuit has done it. And I could use the 40 Mhz also to clock things like network interfaces, flash storage, audio chips...
Once all of this said: AM I IN THE RIGHT DIRECTION???
Thanks for comments.
EDIT: some typos
EDIT: It runs!!! Actually, I made the W65C265S run... (link)