KimJorgensen / KungFuFlash

Cartridge for the Commodore 64 that packs a punch
zlib License
406 stars 63 forks source link

Feature request - Port to Vic-20? #98

Open beamrider66 opened 3 years ago

beamrider66 commented 3 years ago

Would like to see a Vic version of this, not sure how feasible this is?

KimJorgensen commented 3 years ago

That should be feasible. You would obvious need to design a new PCB or use an adapter for the VIC-20, and make a lot of changes to the firmware.

pmandes commented 3 years ago

Hi guys,

I was thinking about the same and did something like this:

kff-vic20-3d

kff-vic20-sch

This is the PCB layout proposal and the pinout of connecting the expansion port with the MCU.

I am open to any suggestions.

Of course, the firmware and the ROM with the file manager are to be rewritten.

ARM could also emulate memory expansion, and its internal FLASH could store cartridge images in slots, e.g. diagnostic, etc.

KimJorgensen commented 3 years ago

Compared to Kung Fu Flash, you would need to read 3 ports instead of 2 to decode the bus cycle. So for efficiency I would have placed the R/W signal(s) together with the other bus signals and maybe chosen a STM32F407 in a LQFP100 package.

You are of course free to do whatever you like, but if you start your own project I would appreciate if it was called something else to differentiate it from this project.

beamrider66 commented 3 years ago

Great that's good progress.

I would be willing to port the Menu software if we can get someone to work on porting the firmware.

Perhaps we may call this one Karate Flash?

pmandes commented 3 years ago

Kim, thank you very much for the suggestion about the signals. Changing the package to LQFP100 will obviously entail an increase in cost.

In fact, I don't want to create a whole new separate project. I rather treat my work as a "proof of concept" that it is feasible. I really don't want to create a competing project if you are going to create a version for VIC20 within the KFF project. I would be happy to participate in such a venture.

KimJorgensen commented 3 years ago

The price difference for changing the package is quite small, but if cost is a concern I would try to go for a cheaper MCU with less flash. All this is a bit theoretical, with the current global chip shortage in mind.

At the moment there are no plans for a VIC20 version, only this feature request. If there were plans, I would probably have created a separate repository anyway, considering the amount of changes required. So if this is an area of interest, I would suggest that you just go with it and use whatever you want from this project.

zitev commented 2 years ago

If porting is already the topic: how easy (or problematic) would it be to port KFF to Plus4?