Hallo Besucher, der Thread wurde 474k mal aufgerufen und enthält 2215 Antworten

letzter Beitrag von Stefan Both am

Kung Fu Flash Cartridge

  • Ich hab noch welche....also PCB. kein enig zwar aber da kann ich welche abgeben. Für nen Eigenbedarf gibt's bei Ali die stm32 für um die 15 euro...ist immer noch ein Witz. Früher gabs dafür 5 Stück, aber für sich selbst denke ich, ist das noch verkraftbar.

    Brauche nicht mehr, aber trotzdem Danke.


    Nahm ein KFF PCB von Felix. :)


    Marktplatz

    Biete: Kung Fu Flash


    Das ist nur als Reserve und er bietet das wirklich als Freundschaftspreis.


    Danke Felix. :thumbup:

  • OliverW. Danke! https://github.com/Sgw32/KungFuFlashGD32 sieht aber ganz gut aus. :)

    Interssant und vielversprechend, danke für den Hinweis! Derzeit allerdings noch:


    Zitat

    Known issues:

    • EasyFlash packs are not working. I do not know why.
    • USB is untested(I think it is not working too, but needs testing)
  • Schicke Farbe... 🥰 ... könnte ich fast auch nomma schwach werden. 😉

  • Schicke Farbe... 🥰 ... könnte ich fast auch nomma schwach werden. 😉



    Ich war auch schwach auf die Platinenfarbe, sieht einfach Super aus und auf sein perfektes Löten. Löte auch selber gerne und wenn sich jemand Mühe gibt das weiß ich zu schätzen. Nach allem könnte ich einfach nichts anderes. :D

    Commodore C64 (1983) - Assy 250407 Rev.C

    Commodore C64 (1984) - Assy 250425 Rev.A

    Commodore C64 (1984) - Assy 250425 Rev.B_(USA)

    Commodore C64c (1986) - Assy 250466 HB4 B3_(HK)

    Commodore C64 (1987) - Assy 250469 Rev.3 - "Aldi"_(USA)

    Commodore C64c (1990-1991) - Assy 250469 Rev.3 & 4, A & B

  • Schicke Farbe... 🥰 ... könnte ich fast auch nomma schwach werden. 😉



    Ich war auch schwach auf die Platinenfarbe, sieht einfach Super aus und auf sein perfektes Löten. Löte auch selber gerne und wenn sich jemand Mühe gibt das weiß ich zu schätzen. Nach allem könnte ich einfach nichts anderes. :D

    Ja sein Löten ist schon Roboterstyle. Hab nen Sidkick von ihm, löte die auch selber, aber seiner liegt da immer noch als optische Qualitätskontrolle neben. Hat motiviert ...:thumbsup:

  • Ja sein Löten ist schon Roboterstyle. Hab nen Sidkick von ihm, löte die auch selber, aber seiner liegt da immer noch als optische Qualitätskontrolle neben. Hat motiviert ...:thumbsup:

    Das hast du gut Gesagt, "Roboterstyle", und sie funkeln das man Sonnenschutzbrille tragen mus haha. Ich versuche auch das beste wenn ich löte aber Klappt nicht immer, Respekt davon mus man haben. Hier ein Bild von Felix KFF PCB mit "Sparks". :)

  • Hello all,


    So it took quite a while, but I have been able to get a working soft-kernal mod for Kim's excellent Kung Fu Flash project, for the PCB rev2.


    You can find it here: it is a BETA release, with limited testing done.

    https://github.com/medzes/Kung…K/KungFuFlash_v1.41SK.upd


    This is a PAL-only feature for now.

    I have tested this on a plain C64 assy 250407 and a shortboard C64C with SuperPLA. Both work quite stable for me, tested many hours.

    But as the timing to get this working is very close, I do expect some refinements may be necessary for other boards (or may never work).


    Please treat this as a BETA-release of the soft-kernal mod.


    The code size does not quite fit all 1.41 features, I had to remove the Diagnostic feature to have enough room. This may be improved in later releases (maybe using -flto) or with overlay.


    If you experience any problems, you should be able to switch back to the regular 1.41 UPD file release from Kim.

    I have not modified the launcher menu or cartridge timing, so you should be able to change to another UPD file the same as before.


    To use the kernal mode: Simply put a kernal file with .bin extension on the SD card, click on that to activate it. (it will be copied to kernal.bin on the SD card)

    The soft kernal is active in KFF Disk Mode (when you long-press Mount a D64/D81), and in EasyFlash3 mode (when you "Load" a PRG with long-press)

    You can also press F7 to go to Basic with EF3 soft kernal on.

    To no longer use a soft-kernal, you can long-press the kernal.bin file in the root of the SD card and delete it.

    Kim has made sure the KFF code supports the JiffyDos kernal well, other kernals may or may not work with the KFF Disk mode.


    Note that C128 CRT's are still supported with .bin extension. The code checks if the bin file has a CBM marker for C128.


    I want to thank Kim again for this fantastic project!


    For some background, I have been working on this on a different prototype board, and I was never sure the special ARM pins in the KFF rev 2 PCB used for EXROM and GAME could make the same timing as the prototype board I used to develop this.


    But after merging that with the latest 1.41 release of Kim and finally checking in all the ARM assembly code, and getting my hands on a rev2 KFF cartridge, I have found the special ARM PC14 and PC15 pins have the same timing measured on the oscilloscope as I found on the prototype board.


    So, I did open up the ARM/STM32 trickbox quite far to get this working.. Had a lot of fun figuring out the crazy details of Arm Cortex-M4 instruction cycle accurate timing, and how to improve the EXROM/GAME low-to-high signal transitions switching to normal 3V3 outputs very briefly before changing EXROM/GAME back to open-drain.

    Also lots of fun trying to work around GCC optimization issues. I've even used a bunch of floating-point registers as globals to meet the timing.


    I expect to later release a measurement / logic analyzer tool in KFF that I built to be able to measure the timing for the soft-kernal. It could also be extended with other features, but it first needs a overlay system as the measurement tool won't fit in the 48kB space together with the other code.

  • So it took quite a while, but I have been able to get a working soft-kernal mod for Kim's excellent Kung Fu Flash project, for the PCB rev2.

    I gave it a super quick test this evening but didn't get very far unfortunately.

    firmware flashed just fine and upon selecting jiffy/jaffy/dolphin .bin files they do get copied to kernal.bin

    upon pressing F7... I am getting black screen (with some other kernals I tested it goes to black screen for 5-6 seconds and then jumps back to standard basic screen)
    upon long-press mounting d64/d81 it just goes immediately to standard "**** Commodore 64 Basic V2 ****" screen

    C64C 250469 / 252311 Rev A

    I'll dig out my other C64C tomorrow but if memory serves me well, it might have exactly same revision of the board.
    My breadbin is out of order so can't check on that..

    Regards
    Sebby75

  • So it took quite a while, but I have been able to get a working soft-kernal mod for Kim's excellent Kung Fu Flash project, for the PCB rev2.

    I've tested that wirh my rev2 KFF on 2 PAL shortboards, both don't work.

    One has a kernal switcher which may or may not the problem, i really don't know, but the other is unmodified as far as roms go (8im using an ultimate-ii usually here), only thing done to that board is ADAC 's streifenfix, and the modulator replacement, the digifix and a internally soldered sd2iec, but that really shouldn't matter.
    My experience is not as Sebby75 describes, it's just as it doesn't do anything.

    Flashing that update works fine.

    Pressing enter on any kernal file flashes the "Setting Kernal / do not power off or reset" message for a fraction of a second.

    The kernal.bin on the root of the sd is created.

    nothing else happens, no kernal is switched.


    If there is anything i can help with to debug that, feel free to ask!

  • Thats too bad, I would have hoped at least a little bit better score than zero C64's out of 4 working.


    If you get a normal start screen but no changed kernal, it likely means its *almost* working, as that only happens when the hiram A14 test fails when the kernal does its first write to $01, and turns the soft-kernal off.

    A lot has to go right to get to that screen.


    It will take a while before I have time to create some variants with a few strategically placed nops to see if that might help. Making the A14 test longer also shortens the time the data is on the bus near the end of the cycle.

  • It will take a while before I have time to create some variants with a few strategically placed nops to see if that might help. Making the A14 test longer also shortens the time the data is on the bus near the end of the cycle.

    Could you possibly do a video and upload it to youtube to show how it is (supposed to work / working on your unit)?
    It will probably make it easier for others to test, if they can clearly see expected behaviour?

    Kind regards
    Sebby75

  • So it took quite a while, but I have been able to get a working soft-kernal mod for Kim's excellent Kung Fu Flash project, for the PCB rev2.


    You can find it here: it is a BETA release, with limited testing done.

    https://github.com/medzes/Kung…K/KungFuFlash_v1.41SK.upd

    Hi merlintwa , great news! :thumbsup:

    Sometimes even as a KFF user one wishes for a softkernel mod.


    Just tried, runs for me:

    KFF FW upgrade from 1.29 to 1.41 (official release, just to be sure).

    After cold boot upgrade to 1.41SK

    Kernel image (.bin) selected with return

    Disk image mounted with Shift+Return

    Jiffy Dos starts and F-key mapping works too
    Device used: C64C with 250466 board, no other devices connected except the KFF.

    I have tested: 64er kernel and jiffy dos, just only a few single files inside D64 images.





  • Habe Gestern die KFF Platine von Felix bekommen, sie sieht einfach Super aus, bin wirklich zufrieden. :)


    Danke Felix!

  • Jetzt suche ich ein Gehäuse für KFF, versuche jemand in meiner Nähe mit 3D Drucker zu finden.


    Kung Fu Flash Cartridge Case


    Habe hier alle files gefunden das man für ein KFF Case brauche, das hat bigby Gemacht wenn ich mir nicht irre.


    Welche files sind für PCB rev. 2, kann mir jemand behilflich sein?