Replacing the stock C64 kernal and 1541 DOS rom
May 5, 2018 12:33:50 GMT
gurce, jj0, and 2 more like this
Post by mike351 on May 5, 2018 12:33:50 GMT
Hello again modders!
Ok, so you've taken the leap and added the UART to your 64mini and now you are eager to make those programs in your D64 image load quicker, here's how you go about doing that.
First thing i'll say is I am not responsible for any damage you do to your 64mini, and as with any modification of this type there is always a chance that you could brick it.
Second is that this is really an amalgamation of a few threads i've seen when cruising around looking for 64mini modding info, I just thought i'd try and tie it all up in to one post.
So, on to it shall we.
What you will need:
PuTTY (as per my post Adding a UART)
JiffyDOS C64 Kernal image
JiffyDOS 1541-II DOS Rom image
USB memory stick.
Lets get started!
Partition your USB memory stick so that it has two partitions, each one should be formatted as FAT32
Copy your JiffyDOS Kernal and 1541-II rom images to the SECOND partition. For the sake of this example, lets assume the filenames for your images are JiffyDOS_C64.bin and JiffyDOS_1541-II.bin. Yes, the 64mini version of Vice is using the 1541-II disk drive emulation..
Plug in your USB to TTL adaptor and launch PuTTY. Settings should look something like this
Follow the guide here that outlines the method required to change the password for the 'root' account.
So now you should have set a password for the root account and be logged in. You can start snooping around!
Have a look at this Linux Quick Guide for some examples of how to list a directory, change directory, etc
Folders of interest are:
/usr/bin contains the executable 'the64' which has already been mentioned appears to be a customised version of Vice containing the game carousel
/usr/lib/vice contains the standard Vice folders C64, DRIVES, PRINTER and fonts
If you want to have some peace and quiet while you are exploring the system you can terminal vice by typing ps and press enter. This will show a list of process numbers and what they are. Have a look for the process number associated with the 'the64' process. Mine shows up as 760, so the command would be kill -9 760
So the commands to get JiffyDOS on your 64Mini are:
cd / #start at top level of folder structure
cd /usr/lib/vice/C64 #vice folder containing C64 kernal, etc
mv kernal kernal.bak #backup the stock kernal
cp /mnt/JiffyDOS_C64.bin kernal #copy new kernal from USB and rename it kernal
chmod 644 kernal #give it the same file permissions as the original has
cd /usr/lib/vice/DRIVES #change to vice drive rom folder
mv d1541-II d1541-II.bak #backup stock 1541 drive rom
cp /mnt/JiffyDOS_1541-II.bin d1541-II #copy JiffyDOS drive rom from USB and rename it
chmod 644 d1541-II #give it the same file permissions the original has
You don't type the # symbol or my comments after it, that's just there so you know why you have typed what you did. Don't forgot to press enter after every command.
Once you're done, type reboot and hit enter. The 64mini will restart up and you should hopefully have a working 64mini with JiffyDOS
Enjoy!
Mike
Ok, so you've taken the leap and added the UART to your 64mini and now you are eager to make those programs in your D64 image load quicker, here's how you go about doing that.
First thing i'll say is I am not responsible for any damage you do to your 64mini, and as with any modification of this type there is always a chance that you could brick it.
Second is that this is really an amalgamation of a few threads i've seen when cruising around looking for 64mini modding info, I just thought i'd try and tie it all up in to one post.
So, on to it shall we.
What you will need:
PuTTY (as per my post Adding a UART)
JiffyDOS C64 Kernal image
JiffyDOS 1541-II DOS Rom image
USB memory stick.
Lets get started!
Partition your USB memory stick so that it has two partitions, each one should be formatted as FAT32
Copy your JiffyDOS Kernal and 1541-II rom images to the SECOND partition. For the sake of this example, lets assume the filenames for your images are JiffyDOS_C64.bin and JiffyDOS_1541-II.bin. Yes, the 64mini version of Vice is using the 1541-II disk drive emulation..
Plug in your USB to TTL adaptor and launch PuTTY. Settings should look something like this
Follow the guide here that outlines the method required to change the password for the 'root' account.
So now you should have set a password for the root account and be logged in. You can start snooping around!
Have a look at this Linux Quick Guide for some examples of how to list a directory, change directory, etc
Folders of interest are:
/usr/bin contains the executable 'the64' which has already been mentioned appears to be a customised version of Vice containing the game carousel
/usr/lib/vice contains the standard Vice folders C64, DRIVES, PRINTER and fonts
If you want to have some peace and quiet while you are exploring the system you can terminal vice by typing ps and press enter. This will show a list of process numbers and what they are. Have a look for the process number associated with the 'the64' process. Mine shows up as 760, so the command would be kill -9 760
So the commands to get JiffyDOS on your 64Mini are:
cd / #start at top level of folder structure
mount -o remount, rw / #set filesystem to r/w
mount /dev/sda2 /mnt #mount second partition of usb flash drivecd /usr/lib/vice/C64 #vice folder containing C64 kernal, etc
mv kernal kernal.bak #backup the stock kernal
cp /mnt/JiffyDOS_C64.bin kernal #copy new kernal from USB and rename it kernal
chmod 644 kernal #give it the same file permissions as the original has
cd /usr/lib/vice/DRIVES #change to vice drive rom folder
mv d1541-II d1541-II.bak #backup stock 1541 drive rom
cp /mnt/JiffyDOS_1541-II.bin d1541-II #copy JiffyDOS drive rom from USB and rename it
chmod 644 d1541-II #give it the same file permissions the original has
You don't type the # symbol or my comments after it, that's just there so you know why you have typed what you did. Don't forgot to press enter after every command.
Once you're done, type reboot and hit enter. The 64mini will restart up and you should hopefully have a working 64mini with JiffyDOS
Enjoy!
Mike