In general, I don’t care much for using AI to produce new retro games. Using computers back then was different, and producing new games using modern techniques makes it more difficult to preserve the spirit of old hardware and software.
Anyway, since I’m not an expert on FPGAs, I was interested in how much AI could help me to recreate a CPC on a Tang Nano 20k. Someone has already taken the first step of porting the CPC core from the MiSTer project using Claude, so I told Claude to add keyboard/joystick, disk, tape, ROMs by using the FPGA Companion and the OSD menu from the MiSTle project, and fix some timing and video issues. It took two weeks using Sonnet 5.5 Medium on free plan to reach v0.2.
https://github.com/jb6128/TangCPCnano
There is also RGB output that can show HDMI sync issues for some demos.
Upper ROM selection/deselection is a bit limited in OSD, so there is also the possibility to load a set of 16 ROMs in one file. If you want to test some classic games:
cpc6128upperroms256k.rom (256 KB)
(One ROM has the |help command to list the upper ROMs.)
But you can also load from disk or tape. Loading from tape feels most nostalgic, also waiting so long for a program to load makes the program more valuable.
6 Likes
After another week, many issues have been fixed and features added.
Now you can choose between CPC 6128/664/464.
https://github.com/jb6128/TangCPCnano/blob/master/EXTENSIONS.md
The Batman Forever demos showed some issues with VSYNC in HDMI. With Pinball dreams it was even worse, no sync in RGB output. Now in v0.9 the CRTC type 1 can also be selected. With CRTC=1 Batman Forever works nice (and no need for problematic Vlock anymore), and now also Pinball Dreams does sync and looks really good (to me). (Except maybe hi-color demo-pictures in HDMI.)
https://github.com/jb6128/TangCPCnano/releases
(RGB captures from RGBtoHDMI)
3 Likes
Hey nice project!
You should look at what the MSX community has done with the MSX goauld and MSX asgard projects. Basically a full MSX2+ in a cartridge. Not sure if this could be done with CPC+ but it would be a great project , imagine running a CPC6128+ in a cartridge on a 464
Thanks for the feedback.
I’m not really familiar with the CPC+.
I grew up with the 464, and now I also own a 6128. The classic CPC is what I’m interested in.
A remark on using the ROM set or upper ROMs in general. ROMs above AMSDOS will change the location of the working memory of AMSDOS. This may cause some games not to load from disk, if they load into that area. E.g. “Android One” from disk should not have ROMs above ROM7 (AMSDOS).
This is not specific to the FPGA, WinApe or a real CPC6128 behave the same.