Bootloader straight to game system
Members - Reputation: 226
Posted 05 November 2012 - 09:50 AM
I am going to only support specific hardware at first and maybe expand later.
I downloaded all volumes of the AMD64 Architecture Programmer's Manuals and the Bios and Kernel Developer's guide for the 12h Family, since I'm targeting the first gen Fusion APUs.
I have about 8 years of programming experience in mainly C++, but I don't know any x86 or 64 architecture specifics.
Is there any recommended reading before I start with the first volume of the Architecture Manuals?
Crossbones+ - Reputation: 12494
Posted 05 November 2012 - 10:54 AM
Members - Reputation: 349
Posted 05 November 2012 - 12:35 PM
Hmmm... I haven't done anything like this since the 90s, when you would just run without an OS, using the VESA standard for graphics (sound was trickier). If I had to do something like this these days, my first thought would be to make a custom Linux distribution that only runs the game. Arch Linux seems like a good place to start.
Although using Linux might not be an option due to the GPL if this is a commercial venture. FreeBSD would be a better choice from a commercial point of view.
Members - Reputation: 715
Posted 05 November 2012 - 04:45 PM
After months of research I concluded that such a system would need the following:
1) A linux kernel auto builder, one that can assemble/compile a new kernel with any number of custom modifications. This system would run on a server and can be downloaded by any end user. Many systems like this already exist and are freely available.
2) A packaging system similar to CDE but able to pull in underlying shell/system dependencies as well. This would mean the entire system you used to build and test the game on could be packaged up and run on top of any compatible linux kernel. These systems would then be run in self contained bottles, meaning each process is run with different group privileges and only have access to a specific directory and subdirectories within the system. A system like this does not exist.
3) A fork of GRUB that allows kernel downloading and booting, I think this already exists.
4) Boot scripts custom tailored for loading game bottles. You will need to write these yourself.