r/linuxdev • • Dec 12 '15

An extremely minimal Linux setup: a C64 game repackaged as a bootable .iso. It's only 6MB and boots directly to the game in 15 seconds.

http://century-arcade.org/games/BelowTheRoot/
14 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/ar0cketman Dec 13 '15

Even though it doesn't work 100% in virtualization, I think you did an amazing job and thank you. It's going on my bootable USB sticks just because it is so small and clever. I would hope that others learn about it. You might put in a request with the folks maintaining YUMI for inclusion: http://www.pendrivelinux.com/yumi-multiboot-usb-creator/

2

u/spw1 Dec 13 '15

Thank you so much. I put a lot of work into it (probably several hundred hours), but when I posted it to a couple places 2 years ago, I don't think anyone even took a look at it.

There are lots of little details here too. Like you can unzip the ".izo" (the extension is .iso but it also has a .zip directory appended that points to the files on the .iso). And they both contain the raw disk images, images of the packaging and contents, a text file of the documentation, and other stuff relevant to the game. Basically it's intended to be something that would still be somewhat usable or interesting 65 years from now (when the copyright expires).

1

u/ar0cketman Dec 13 '15

Have you considered creating a script to make a generic bootable iso (izo) from any C64 rom?

2

u/spw1 Dec 13 '15

You can pretty much do this from the source on github. The overall process isn't completely automatable from just the ROM though, as you have to choose game-specific emulator settings, and at least for this game, the images had to be hacked to eliminate disk swapping which made it otherwise unplayable (thanks Count Zero).

1

u/ar0cketman Dec 13 '15

Editing a config for game specific emu settings doesn't seem all that hard, provided there is adequate documentation. Hacking the disk image sounds like a trip into assembly-land and non-trivial. I'm okay with minor x86 assembly, but I've never even seen C64 internals.

2

u/spw1 Dec 13 '15 edited Dec 13 '15

Well, if you have some Linux skills, you can try building an image yourself. I did my best to automate everything I could, from downloading the right versions to compiling the kernel to building the image. Let me know if you get stuck or if something doesn't work.

Edit: I would love it if you tried out the process. Do you have a C64 game in particular you'd try it with?

1

u/ar0cketman Dec 13 '15

I don't have any particular C64 game in mind, but there are plenty of classics to choose from. Elite and M.U.L.E. come readily to mind.

I'll check out the git tomorrow and see if I can do anything with it. My Linux skills are pitifully weak, though.