C64 Cartridge support
Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team
Re: C64 Cartridge support
About DaffyDuck: it seems the intro is the main problem.
Same game works ok from disk.
Same game works ok from disk.
Re: C64 Cartridge support
Yay! final cartridge works could never get it to work on the mist.
Thanks for the Cart support
Thanks for the Cart support

Re: C64 Cartridge support
The VICE team has a list of Cartridge formats if that helps with testing and adding support.
Also links to vice source code containing a description of how the format works.
http://ar.c64.org/wiki/CRT_ID
eg.
57 RGCD rgcd.c
/*
"RGCD" 64k Cartridge
- 64Kb (8 banks)
- ROM is always mapped in at $8000-$9FFF (8k game).
- 1 register at io1 / de00:
bit 0-2 bank number
bit 3 exrom (1 = cart rom and I/O disabled until reset/powercycle)
*/
Also links to vice source code containing a description of how the format works.
http://ar.c64.org/wiki/CRT_ID
eg.
57 RGCD rgcd.c
/*
"RGCD" 64k Cartridge
- 64Kb (8 banks)
- ROM is always mapped in at $8000-$9FFF (8k game).
- 1 register at io1 / de00:
bit 0-2 bank number
bit 3 exrom (1 = cart rom and I/O disabled until reset/powercycle)
*/
Re: C64 Cartridge support
I have all this info and source code. Problem is not in info. Problem in testing with real image.yellperil wrote:The VICE team has a list of Cartridge formats if that helps with testing and adding support.
Also links to vice source code containing a description of how the format works.
http://ar.c64.org/wiki/CRT_ID
eg.
57 RGCD rgcd.c
/*
"RGCD" 64k Cartridge
- 64Kb (8 banks)
- ROM is always mapped in at $8000-$9FFF (8k game).
- 1 register at io1 / de00:
bit 0-2 bank number
bit 3 exrom (1 = cart rom and I/O disabled until reset/powercycle)
*/
Re: C64 Cartridge support
Ahh okay got you.
Do you have Assembly64? It's a really easy way to get a massive collection of stuff.
http://hackerswithstyle.ddns.net/assembly/download.html
Cart Name: ./assembly64_crt/S/Soulless/soulless-ezf/soulless-xbank.crt
Cart Type: 00033
Cart Name: ./assembly64_crt/T/Trance sector ultimate/TSU FINAL/TSU-NewVICE-RGCD.crt
Cart Type: 00057
I've attached a list of all of the Filenames and Cart types in the collection. Please note not all are for c64.
==> cmd line
find . -name "*.crt" -exec ./show_crt_hw "{}" \; > output.crt
find . -name "*.CRT" -exec ./show_crt_hw "{}" \; > output.CRT
==> show_crt_hw
echo "Cart Name: $1"
echo -n "Cart Type: "
hexdump -d -s23 -n1 "$1" | grep -v "0000018" |sed s/0000017//
Do you have Assembly64? It's a really easy way to get a massive collection of stuff.
http://hackerswithstyle.ddns.net/assembly/download.html
Cart Name: ./assembly64_crt/S/Soulless/soulless-ezf/soulless-xbank.crt
Cart Type: 00033
Cart Name: ./assembly64_crt/T/Trance sector ultimate/TSU FINAL/TSU-NewVICE-RGCD.crt
Cart Type: 00057
I've attached a list of all of the Filenames and Cart types in the collection. Please note not all are for c64.
==> cmd line
find . -name "*.crt" -exec ./show_crt_hw "{}" \; > output.crt
find . -name "*.CRT" -exec ./show_crt_hw "{}" \; > output.CRT
==> show_crt_hw
echo "Cart Name: $1"
echo -n "Cart Type: "
hexdump -d -s23 -n1 "$1" | grep -v "0000018" |sed s/0000017//
You do not have the required permissions to view the files attached to this post.
Re: C64 Cartridge support
thanks! this is really helpful resource!yellperil wrote:Do you have Assembly64? It's a really easy way to get a massive collection of stuff.
Re: C64 Cartridge support
Easyflash-XBank format seems exactly the same as normal Easyflash. I've just patched id 33 to 32 and it works as normal easyflash.
Since there is only one xbank cartridge, i assume the format is the same until some more carts will appear.
Since there is only one xbank cartridge, i assume the format is the same until some more carts will appear.
Re: C64 Cartridge support
Found that easyflash register handled incorrectly. After fixing, all these carts except DuckTales start to work.cavemanxzx wrote:After some testing. I have here some Easyflash CRT not working.
Daffyduck, Ducktales, Scoobydoo, BugsBunny (all black Screen)
Maniac Mansion (Intro Corrupt)
What prevents DuckTales from working - i don't know.
Corrupted intro on Maniac Mansion is not related to cart code, i think.
Re: C64 Cartridge support
Sorgelig wrote:DuckTales is fixed as well


Re: C64 Cartridge support
- easyflash fixes
- business basic support
- mikro assembler support
- some memory map tweaks for ultimax mode
- rgcd format has been tested.
- business basic support
- mikro assembler support
- some memory map tweaks for ultimax mode
- rgcd format has been tested.
You do not have the required permissions to view the files attached to this post.
Re: C64 Cartridge support
I'm not sure if this can be fixed easily. I've been trying to use the turbo loader on the Action Replay V6 cart. The cart works in that it loads, the "handler" installs into memory, and loading causes the purple screen, but that's where everything stops. The game/program/demo never loads. The system doesn't fully hang. I can reset with F12 and F4 will bring up the cart menu.
I'll try the V5 of the cart to see if that is any different. I have tried some software turbo loaders and some of those work really well.
Edit: Nope, V5 of the AR cart doesn't fast load either. Bummer.
I'll try the V5 of the cart to see if that is any different. I have tried some software turbo loaders and some of those work really well.
Edit: Nope, V5 of the AR cart doesn't fast load either. Bummer.
Re: C64 Cartridge support
Use JiffyDOS for fast loading. Nothing can beat JiffyDOS. AR is here just for hacking.
Re: C64 Cartridge support
Thanks. I'll take a look into it, to see how it works. I've never really played around with JiffyDOS - from what I recall reading, it's a rom replacement... Not sure how that will work on MiSTer.
Also: Found this cart doesn't work either: http://www.elysium.filety.pl/tools/cart ... c_desk.zip
It freezes the C64 (MiSTer still runs though).
Also: Found this cart doesn't work either: http://www.elysium.filety.pl/tools/cart ... c_desk.zip
It freezes the C64 (MiSTer still runs though).
Re: C64 Cartridge support
it works for me. In which part it freezes?Slade wrote:Also: Found this cart doesn't work either: http://www.elysium.filety.pl/tools/cart ... c_desk.zip
Re: C64 Cartridge support
Sorry. I linked to a different version to the one I tried. <sigh> Genius, I know.
This is the version I have that BSOD's (Ha ! The original BSOD - Take that Microsoft.)
This is the version I have that BSOD's (Ha ! The original BSOD - Take that Microsoft.)
You do not have the required permissions to view the files attached to this post.
Re: C64 Cartridge support
this is incorrect version. Someone edited the cart_id field from original 19 to 5. You can compare the both files and see that only one byte is different.Slade wrote:Sorry. I linked to a different version to the one I tried. <sigh> Genius, I know.
This is the version I have that BSOD's (Ha ! The original BSOD - Take that Microsoft.)
-
- Retro freak
- Posts: 13
- Joined: Sun Dec 17, 2017 9:39 am
Re: C64 Cartridge support
working Great. Thank you.
Re: C64 Cartridge support
it's officially released. Some minor tweaks has been added.
Re: C64 Cartridge support
Thanks - that makes sense.Sorgelig wrote:this is incorrect version. Someone edited the cart_id field from original 19 to 5. You can compare the both files and see that only one byte is different.Slade wrote:Sorry. I linked to a different version to the one I tried. <sigh> Genius, I know.
This is the version I have that BSOD's (Ha ! The original BSOD - Take that Microsoft.)
I really appreciate all the effort you put into this. I tried a diagnostic cart and it throws 2 failures. I think one was on the CIA, I can't recall the other. No time to check now - heading off to work. I thought that was interesting.
Re: C64 Cartridge support
Hi Sorgelig,
I'd like to submit to you an update to "rom_c64_chargen.vhd" to fix the character rom corruption issue on the dead test cart for the C64 core.
The original code only had half of the character rom (2K) and assumes the that the inverse character set is a 1 to 1 match
and uses a routine the generate the other half of the ROM. However this is not correct as the dead test cart checksums flag it as bad.
Attached updated file contains full character rom (4k) and removal of code to "create" the inverse character set.
I've compiled it into your new source to try it and it works fine, but I'd double check it before inclusion.
Thanks in advance.
I'd like to submit to you an update to "rom_c64_chargen.vhd" to fix the character rom corruption issue on the dead test cart for the C64 core.
The original code only had half of the character rom (2K) and assumes the that the inverse character set is a 1 to 1 match
and uses a routine the generate the other half of the ROM. However this is not correct as the dead test cart checksums flag it as bad.
Attached updated file contains full character rom (4k) and removal of code to "create" the inverse character set.
I've compiled it into your new source to try it and it works fine, but I'd double check it before inclusion.
Thanks in advance.
You do not have the required permissions to view the files attached to this post.
Re: C64 Cartridge support
Off-topic, but C64 related... is there a trick to load games without using keyboard?
I have been pondering on maybe assign enter, `load "*",8,1` and `run` to joystick keys
Oh, it seems some C64 games also support a "second joystick button", but the C64 core AFAIK only supports one joystick button.
The game in question for me right now, is the Bear Essentials, where second button brings up the map.
I have been pondering on maybe assign enter, `load "*",8,1` and `run` to joystick keys

Oh, it seems some C64 games also support a "second joystick button", but the C64 core AFAIK only supports one joystick button.
The game in question for me right now, is the Bear Essentials, where second button brings up the map.
-- kolla
Re: C64 Cartridge support
if you use JiffyDOS then there is shortcut ALT+ESC to execute load & run.
Some games require other keys to start like SPACE, ENTER, F1. Trainers may require keys Y, N on startup.
C64 is computer, not console. You have to have the keyboard.
Some games require other keys to start like SPACE, ENTER, F1. Trainers may require keys Y, N on startup.
C64 is computer, not console. You have to have the keyboard.
Re: C64 Cartridge support
Interesting I don't ever remember the C64 itself every having a two button joystick.kolla wrote:Oh, it seems some C64 games also support a "second joystick button", but the C64 core AFAIK only supports one joystick button.
The game in question for me right now, is the Bear Essentials, where second button brings up the map.
The game doco for bear essentials talks about using a C64GS joystick which was for the C64 console with no keyboard.
The wiki talks about having a pull up with the 5 Volt line on POTX ( and potentially POTY ) to support the extra button.
So the game is reading POTX on the SID.
http://wiki.icomp.de/wiki/DB9-Joystick