Kung Fu Flash Cartridge

Es gibt 2.242 Antworten in diesem Thema, welches 511.138 mal aufgerufen wurde. Der letzte Beitrag (7. September 2025 um 20:31) ist von Step64.

  • @kim_jorgenson ,

    Would you be interested to do some discussions about ideas or extensions in future?

    I'm currently waiting for some parts to arrive from China, so that will take a while. As I'm waiting I studied the low-level ARM code on github, which looks very good to me. Not sure how "filled" the 1MHz cycle is. I would hope there are still some spare cycles left when moving to assembly level optimization of that inner code.

    One thing I was maybe thinking of, is if the arm could optionally run a 1541 emulator instead of a cartridge emulator. I'm unsure if 168MHz is fast enough for that.

    Also I was thinking if it would be possible to avoid the internal flash by using page swapping of SDcard file blocks to the 192kB internal RAM of the ARM. Where a page-swap might be done using the DMA pin to stall the 6502 while the sdcard is accessed during a bank switch.

    Ah these ideas. Can take a lot of time to implement though.

  • merlintwa I highly doubt that the MCU would be fast enough to emulate a 1541. As of now, a Raspberry Pi is barely fast enough. IEC emulation would work, but to what end? The cart would need a connection to the IEC bus for that to be useful.

  • I highly doubt that the MCU would be fast enough to emulate a 1541. As of now, a Raspberry Pi is barely fast enough.

    IEC emulation would work, but to what end? The cart would need a connection to the IEC bus for that to be useful.

    Yeah, I thought as much. I'm trying to make my own MOS6526 model in C and Verilog from scratch, using an Arduino test harnass of a few old half-dead 6526 I had lying around for decades to get the model half-cycle accurate. So far I got the timers, I/O ports (open-drain with pullup), IRQ output and FLAG input, Time of Day counters accurate enough I hope. I'm now trying to get the SDR stuff working even though nothing uses that as far as I know.

    I plan to see if I can make that MOS6526 C model fit in a 168MHz part - so far I think this should be possible.

    Once the 6526 works I expect a dual 6522 emulation should also be possible like the 1541 has. I hope to reuse parts of the 6526 model for that.

    There is a 6502 ARM emulator built in ARM assembly on github, they claim 18MHz emulation on a 100MHz ARM part. Not sure I believe that claim though.

    Still, getting all this dancing and singing together this may indeed be too hard to fit. The timers in the 6526 are a real nightmare to get right, what a buggy design that is.

    There is one possibiltiy to replace the STM32F407 by a STM32H7 with 400MHz, maybe that would be enough.

    Anyway on the IEC pins, I posted a version of the Kung Fu PCB in this thread that uses a 100-pin LQFP100 part instead of the 64-pin version. That should have plenty of pins to connect a IEC, the DMA pins, Tape pin and other things as needed. The part is only marginally different in price from the 64-pin part, but of course a lot more difficult to solder by hand. I'm thinking more of using existing STM32F407 micropython board in an adapter or pre-assembly though jcpcb.

  • ...but of course a lot more difficult to solder by hand. I'm thinking more of using existing STM32F407 micropython board in an adapter or pre-assembly though jcpcb.

    It is easy to weld anyway, I use it in other projects :smile:

  • Also I was thinking if it would be possible to avoid the internal flash by using page swapping of SDcard file blocks to the 192kB internal RAM of the ARM. Where a page-swap might be done using the DMA pin to stall the 6502 while the sdcard is accessed during a bank switch.

    in fact I'm using the DMA line to stall the CPU when cache preloading on the Sidekick64 is necessary. However, paging from SD-card takes considerably longer than a few cycles for the caches. This means that many Easyflash CRTs using speed code and/or continuous transfer (e.g. Prince of Persia, ALGOTECH's Easybananaflashrama, ...) won't work whenever you access non-internal-RAM-cached memory.

    Bitte melde dich an, um diesen Link zu sehen. --- Bitte melde dich an, um diesen Link zu sehen.        Bitte melde dich an, um diesen Link zu sehen. --- Bitte melde dich an, um diesen Link zu sehen.
    Bitte melde dich an, um diesen Link zu sehen. --- Bitte melde dich an, um diesen Link zu sehen.   Bitte melde dich an, um diesen Link zu sehen. --- Bitte melde dich an, um diesen Link zu sehen.

  • kim_jorgensen looking forward to trying d2ef-.crt and .d64 on my C64GS - thanks for the support!!

    Sorry, but the release will not improve compatibility for CRT files. For that you will need to modify Disk2easyflash.
    I guess you can use the D2EFtoD64 tool and used the D64 file instead.

  • A new firmware update has been released with support for loading PRG and D64 on the C64GS, D64 support with JiffyDOS and large PRG file support.

    If D64 work on C64GS then D2EF adaptions should work as well...

  • I have linked 175 new game adaptations (700 total + 10 demos) in the "magic desk 64KB" cartridge format. All games were unpacked and starts in ONE second. Have fun!

    Bitte melde dich an, um diesen Link zu sehen.


    Quickstart Gamelist V6 (new games before 2000):

    * 3D Skramble, ACE 2, Advanced Pinball Simulator, American 3D Pool, Aqua Racer

    * Army Moves (part 1+2), Asterix and the Magic Cauldron, ATF - Advanced Tactical Fighter

    * Batalyx, BC Bill, Big Mac, Biggles (part 1+2), Bird Mother, Blagger, Bomb Squad

    * Boulderdash 2, Boulderdash 3, Bubble Dizzy, Captain Fizz, Chuckie Egg, Citadel

    * CJ in the USA, Clystron, Cohens Towers, Congo Bongo, Dantes Inferno, Dark Side

    * Defender, Devon Aire, Dinky Doo, Dogfight 2187, Doomdarks Revenge, Doriath

    * Driller, Duck Shoot, Eliminator, Empire, Everyone is a Wally, Exile, Fairlight, Fetris

    * Flyer Fox, Forbidden Forest, Freds back, Friday the 13th, Frogger (Parker), Frogger

    * Fungus, Galaxy, Ghettoblaster, Gordian Tomb, Gorf, Gyruss, Hardball!, Head Over Heels

    * Head the Ball, Highway Encounter, Hyperblob, Ivan Stewarts Super Offroad, Jet Set Willy

    * Kane2, Killer Ring, Killerwatt, Knoorkie, Krystals of Zong, LA Police Dept, Lawn Tennis

    * Legend of the Amazon Woman, Lords of Midnight, Mad Doctor, Manic Miner

    * Mercenary (Escape from Targ + The Second City), Microdot, Mission AD, Mission Elevator

    * Mission Impossibubble, Monopoly Deluxe, Moon Patrol, Nibbly 92, Night Shade

    * Nodes of Yesod, Olli and Lissa, Pac-Man, Paradroid - Metal Edition, Pastfinder

    * Peter Shiltons Handball Maradona, Pharaohs Curse, Pinball Power, Piracy, Poltergeist

    * Popeye, Poseidon, Postman Pat 1+2+3, Project SOL, Project X, Pyjamarama

    * Rainbow Walker, Rampage, Rebel, Revenge of the Mutant Camels, Risk (boardgame)

    * Risk, Rolands Ratrace, Rollerball, Scarabaeus, Scorpion, Sensitive, Shadowfire

    * Shaman, Shark, Skool Daze, Slurpy, Snare, Space-Pilot 2, Spellbound Dizzy

    * Spikey in Transylvania, Spitfire 40, Spore, Star League Baseball, Star Raiders II

    * Star Wars, Starglider, Stellar7, Super Cars, Super Pipeline, Super Pipeline II

    * Super Scramble Simulator, Super Zaxxon, Superkid, Tapper, Terror of the Deep

    * The Dam Busters, The Empire Strikes Back, The Hobbit, The Last V8, The Rocky Horror Show

    * The Sentinel, Thrust 2, Time Fighter, Tomahawk, Toobin, Train Robbers, Trantor

    * Treasure Island Dizzy, Triad, Up n Down, Volfied, Warlock - The Avenger, Wizard Plus

    * Wizardry, Yuppies Revenge (german), Zaga, Zaxxon, Zoids, Zyron

    Quickstart Gamelist V6 (new games after 2000)

    * Aviator Arcade, Berzerk, C2048, Chiller 2, Donkey Kong 2016, Gunfright, Icicle Race, Killer Saucers

    * Knightlore, Nibbly 2012, Oy Up!, P0Snake, Platman, Soulless, Voivod Attack


    Quickstart Demos V6

    * Quadrants (gp), Copper Booze, Zak is back, Camelot. exotic, ECM Matrix (arcane), Oneder (Oxyron)

    * Dawnfall (Oxyron), ECM casma, Square Booze, Plasmasucks pollution, Alle im Sack

  • Wow a lot of games :thumbup:

    A Bitte melde dich an, um diesen Link zu sehen. has been released with a file search feature.

    Just enter the start of the filename to search for in the current directory. Wildcards are supported

  • A new firmware has been released

    you release updates, and new features, quicker then I can flash. :thumbsup:

    And Joker makes his KFF-Collections also so fast, just installed V5 today and now it is obsolete. :wink: By the way, thank you Joker and kim_jorgensen!!!

  • A new firmware has been released

    you release updates, and new features, quicker then I can flash. :thumbsup:

    And Joker makes his KFF-Collections also so fast, just installed V5 today and now it is obsolete. :wink: By the way, thank you Joker and kim_jorgensen!!!

    Yeah, never forget the Joker and his cartdrige file factory. :thumbsup:

    btw some time ago I begun solder some KFF ... flashed with v1.13 ... now a few weeks later v1.20 was released and Joker had begun his insane great cartridge production with now 700 games ... in ten days we are over 1000 ... bet he do :thumbsup:

    Ärger dich nicht, wenn dir ein Vogel auf den Kopf kackt. Freue dich, dass Elefanten nicht fliegen können.

  • Hi,

    I´m still using my C128DCR without any of the new (amazing) devices and after reading through this 32 pages thread the Kung Fu Flash cart seems a good start for me.

    As far as I understand I could even use this cart to copy D64 images to real 5,25" floppies - right?
    That was the EF3 Utils and Windows connection thing via USB...

    Would it be also possible to "mount" a D64 from the SD and then copy it to the real drive?

    Based on the discussion early December the answer is probably "no" but maybe there are plans to include something like this in a upcoming firmware?

    Regards,
    Oliver

  • As far as I understand I could even use this cart to copy D64 images to real 5,25" floppies - right? That was the EF3 Utils and Windows connection thing via USB...

    yes you can. though I get errors occasionally when I'm using pc at the same time..

    not sure if this is to be expected or I have something set up incorrectly on my end.. when I leave my pc alone while image is being transferred it almost always works fine..

    Regards

    Seb

  • Thank You Joker for your hard work.

    If anyone of U want's to get this OneLoad64 Games Collection with ~528 games check this yt vid description: Bitte melde dich an, um dieses Medienelement zu sehen. Ther is a link to google drive.

    Have a nice 2021 Year for all of U :)

  • Would it be also possible to "mount" a D64 from the SD and then copy it to the real drive?

    Based on the discussion early December the answer is probably "no" but maybe there are plans to include something like this in a upcoming firmware?

    Well, there is a Bitte melde dich an, um diesen Link zu sehen. for this but no one has implemented it yet :)

    You can mount a D64 and use Basic to copy smaller files over, but that is probably not what you want.

  • I get errors occasionally when I'm using pc at the same time..

    not sure if this is to be expected or I have something set up incorrectly on my end.

    That is a Bitte melde dich an, um diesen Link zu sehen. that hasn't been fixed. I suspect that the protocol has a timing related issue, but I haven't really investigated that yet.

  • I just stumbled across this now:

    Bitte melde dich an, um diesen Link zu sehen.

    Maybe kim_jorgensen you can add sellers like this to your github page too ?

  • He's expensive asking 45 pounds for KFF cartridge.

    Here's KFF cartridge for 30 pounds I bought from:

    TF8Wbit has injection mould casing, this one is 3D printed, and on mine semi-transparent button doesn't work. But it offers 11 different colours, TFW8bit I see only green colour.

    Quality of my KFF is really good. And you all know how much I use mine :)