Does anyone have any ideas for removing the need for the serial connection after the software is copied to usb? I have been tempted to try to substitute the serial adaptor with an arduino, have it monitor the serial output, interrupt it and send the command to boot from usb. Not sure how well it would work though.
Unless any linux users know how to permanently change the boot path to the usb?
As we can't access the u-boot section of the nand (it isn't exposed by the nand.ko driver) we can't change the default nand_root. However you can make it somewhat easier. The following method remounts the /usr/share/the64 /var/lib/the64directories from the ones on the nand to the ones on the USB stick root filesystem. If the USB stick isn't inserted at boot time then the ones on the nand will still be used. You need to have the USB stick inserted before powering on and you can only remove it after you've powered off. So you lose the option to remove the USB stick on the fly to change the THEC64-drive8.d64.
Step 1: Copy the nandb root filesystem to a USB stick partition 2 as covered in the first post. You don't actually need the entire root filesystem, only the two thec64 directories and their subdirectories, so if you're feeling adventurous you can only copy these and modify the following instructions accordingly. Step 2: Login as root and create a directory to mount the 2nd partition on: mount -o remount,rw / mkdir /mnt2Step 3: Edit /etc/fstab, adding the red lines: # <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ext2 rw,noauto 0 1 /dev/sda2 /mnt2 ext4 rw,nofail 0 0 /mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0 /mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0 proc /proc proc defaults 0 0 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs mode=0777 0 0 tmpfs /tmp tmpfs mode=1777 0 0 tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 sysfs /sys sysfs defaults 0 0
They don't need to be where I put them, the can also be at the end so you could add them by:
cat >>/etc/fstab <ENTER> /dev/sda2 /mnt2 ext4 rw,nofail 0 0 /mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0 /mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0 <CTRL-D> but please make a backup of /etc/fstab first.
Step 4: Add an /etc/init.d startup script to ensure the directories are mounted:
cat >/etc/init.d/S98mountusb mount -a <CTRL>-D chmod a+x /etc/init.d/S98mountusb Edit 16th May: The above works fine but more properly should be:
cat >/etc/init.d/S98mountusb #!/bin/sh mount -a <CTRL>-D chmod a+x /etc/init.d/S98mountusb
You could even try if this works from a FAT32 partition which would make it easier to add game snapshots from Windows
works great thanks, though it would not work with the FAT32. but none the less all is good..cheers
but may add /mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0 at some point
TheC64 Community Shoutbox.. At the moment Guests can leave messages so give it a try and say hello..
I'm Don . Having game troubles: I'm trying to play games in classic mode. I'm using dirmaster to load these games to a USB stick. Some play but others no joystick operation. Also , how do I change games that are in a weird graphics character mode, i.e. Manic Mansion and others?
Jan 21, 2020 16:46:42 GMT
Frank C64: Hi. I have another suggestion for a firmware update: Support for all four disk drives. Since it is already in VICE it should be a no-brainer to add. I would love that feature, as it would make it soooo much easier to work with my old Pascal 64 compiler.
Jan 18, 2020 21:18:15 GMT
spannernick: Shell: If you have THEC64 Maxi then use Classic Mode.
Jan 1, 2020 17:38:03 GMT
Shell: Is there an official way to swap disks for the TheC64? Other than folders and all that stuff? Tried to find solution but it's all old info...
Dec 31, 2019 21:38:55 GMT
pantera: Found the solution for getting Mindshadow two disk version to work, _ad needs to be put on the end of the filename and fast loading needs to be turned off. ie. MNDSHDW1_ad.D64 and MNDSHDW2_ad.D64
Dec 31, 2019 7:26:07 GMT
RubiconVale: Got my mini on Friday. Thanks for this community! So far everything has been working great.
Dec 30, 2019 21:24:56 GMT
pantera: Has anyone managed to get Mindshadow to run properly on TheC64 Maxi ? The single file version works, up to the point where you get off the island, then crashes. The two disk version will not load. The two disk version loads fine on CCS64
Dec 29, 2019 22:58:03 GMT
DJ Killmore: Any audio out option? I'm not seeing one.
Dec 28, 2019 4:01:28 GMT
FROGMAN COMPUTER LABS: EDIT NAME ERROR
Dec 28, 2019 2:46:25 GMT