Create a Commodore Vic 20 D64 Image That Launches (2) ROM Cartridge Images
This is a guide to create a Commodore D64 floppy drive image that you can load into your Commodore Vic 20 to run 2-Rom Cartridge files.
Feel free to use this guide and replace the games in the examples with those of your choosing!
Download your favorite 16k Commodore Vic 20 cartridge images. I’m assuming these are public domain and I’m not the host of these files.
http://www.zimmers.net/anonftp/pub/cbm/vic20/roms/16k/index.html
Download & Install a D64 editing program.
The one I recommend is DroiD64 because it’s java and can run in Windows/OSX/Linux.
http://droid64.sourceforge.net/
Download & Install Vice on your computer.
https://vice-emu.sourceforge.io/index.html#download
Gather your
*CBM Browser D64 file
*Favorite Vic 20 16k Cartridge Files
Open your
*DroiD64 java program
*Vice program
In example, we are going to create a D64 image with several 16K Cartridges.
For the example, we are going to add”
“Jungle Hunt”
“Moon Patrol”
“Centipede”
“Lode Runner”
“Seafox”
“Skyblazer”
“Mountain King”
“AE”
To get these games to run, first we have to write little programs that tell the Vic 20 (the real thing, an emulator or the Mister FPGA!) to combine both ROM images togther in memory, then do a reset.
What is the secret program that allows us to do that?!!?!
Believe me, I’ve searched the net and came up with nothing. I had written something several years ago and searched my retro gaming stash in the garage for it. After a while, I tracked it down. There was a file on a pi1541 SD card that had a D64 image with the secret sauce!
First, create a new D64 image using droiD64:
In the menu, select Disk1, then D64 as ‘image type’ and “2-ROM CARTRIDGES” for the name. Then OK
Save to your folder with the downloaded ROMs.
Second, open your CBM Filebrowser D64 image by finding in in the second pane on droiD64.
Refer to the image below for clarity.

Right click the “FB20-8k” file in the second pane, then select ‘copy file’.
Now, eject the disk in the second pane by selection the little folder with the up-arrow in the right corner of the second pane.
Navigate to where you have all of your ‘prg’ cartridge images. Hold ‘ctrl’ key and select all the images. Then copy over to the D64 image you created in the droiD64 first pane.
We now have the D64 menu and all of the game images on our D64 images.
Now we need to create our launch program using the Vice Vic 20 emulator.
With the Vice Vic 20 emulator, select ‘create and attach an empty disk image’ in the menu.
Name it ‘2-ROM D64 Menu.d64’ and hit ‘save’. Probably convienent to save this into the folder with your ROMs.
Go back to your Vice Vic 20 window, and from the menu, Edit/Paste the contents of this text:
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”jungle hunt-6000″,dr,1
4 a=2:load”jungle hunt-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
After the ‘sys64802’ on the last line of text (in the Vic 20 emulator), hit enter.
Then:
save “junglehunt”,8,1
You have saved the first launch program to the new disk.
Now you will have to follow the same idea with each of the other Cartridge images.
Make sure everything is in lower case!
“moon patrol”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”moonpatrol-6000″,dr,1
4 a=2:load”moonpatrol-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“centipede”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”centipede-2000″,dr,1
4 a=2:load”centipede-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“lode runner”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”lode runner-6000″,dr,1
4 a=2:load”lode runner-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“seafox”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”seafox-6000″,dr,1
4 a=2:load”seafox-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“skyblazer”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”skyblazer-6000″,dr,1
4 a=2:load”skyblazer-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“mountain king”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”mountain king-6000″,dr,1
4 a=2:load”mountain king-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
“ae”
1 onagoto4,5
2 dr=peek(186)
3 a=1:load”ae-6000″,dr,1
4 a=2:load”ae-a000″,dr,1
5 poke37138,0:poke37139,0:poke37154,0:poke37155,0:poke37150,127:poke37166,127:sys64802
Once you have finished, eject Disk 2 in droiD64, and open your new ‘2-ROM D64 Menu.d64’ Disk image with all of the new launch files.

[droiD64_2.png]
Now copy those over to Disk 1. You can use droiD64 to move the files up using the “Up” button in the bottom menu (optional).
At this point, your D64 image is done!

Feel free to transfer to a real floppy image using a Zoom interface or by opening it with Vice Vic 20 emulator -or- the Mister Vic 20 Core.
Note: You will have to expand your Vic 20 memory.
The Windows & OSX version of Vice may vary but this is the RAM expansion option for Linux:

To launch the disk and auto-start the menu, select File/Smart Attach, then click on the “Autostart” button.
