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
synchromesh: Anyone know why thec64.com is down ?
Aug 2, 2019 23:06:45 GMT
DG5KR: When I was young I felt like the world was turning faster. The C64 was a world full of adventure. First Basic, then Assembler, playing incredible games with friends. It was the best time of my life.
Jul 5, 2019 9:08:27 GMT
Heini: Zieht den Bayern die Lederhose aus!
Jun 27, 2019 21:20:54 GMT
j.: @lordvico - I've noticed this with lots of games. I wondered if this was a PAL vs. NTSC thing and also wondered why the screen type wasn't translated for me.
May 3, 2019 1:01:44 GMT
j.: william - don't pull the joystick. If you need to pull to insert a USB stick - get a USB hub so you can have both plugged in at the same time. One way to save would be to use the game save-state feature. This would be the easiest to do for 4 or less
May 3, 2019 1:00:29 GMT
william: So far I am pretty frustrated using the BASIC. Every time I pull out the joy stick to put the usb into the machine it pops out of BASIC and goes back to the main menu. How does one write a program in BASIC and save it?
Apr 29, 2019 15:11:45 GMT
eBUG: Hmm how about the C64 makers include some Pascal software and other creative software in addition to games in the carousel ? :-D
Apr 7, 2019 22:45:31 GMT