Close

Now working on the little controller

A project log for Macintosh SAO

It's the 40th anniversary of the original Macintosh. Why not recapture the magic in an SAO?

aaronAaron 07/05/2024 at 01:370 Comments

For a bit over the last few days I've been seriously concerned that I wouldn't be able to get this working on the CH32V003. I did a little bit of work myself - and started to poke around in different 003 firmware examples, and deep in the 1306 controller datasheet. 

I was pursuing using the firmware from the CH32V003 Game console project by Stefan Wagner. Unfortunately I couldn't figure out the magic incantation to build successfully on an Apple Silicon host. I moved onto Charles Lohr's CH32V003Fun which has been highlighted on Hackaday a little while back.

After having figured out offsets for the column and row in the display ram, I was able to get things on the screen! I've spent the last couple of hours porting my display commands from the u8g2 library running on an ESP8266 to the CG32V003Fun's built-in drawing commands. So far, my code size is about 1/3rd of what it was using the libraries. I still have quite a bit to go, but it's looking very promising.

The ESP8266 on the bottom, The CH32V003 on top.

Discussions