I had a question about boot-able devices. Are there libraries that are available to load your software from a usb before the OS loads? Sorry if this is in the wrong section but I am interested in C libraries. Thank You.
I had a question about boot-able devices. Are there libraries that are available to load your software from a usb before the OS loads? Sorry if this is in the wrong section but I am interested in C libraries. Thank You.
https://www.google.co.uk/search?q=Bootable+USB
Which OS / Compiler are you writing code on?
Which OS are you trying to boot?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Nevermind. I'm sure I would need an OS to control all hardware before my program could even load. Stupid Question. I apologize. Thanks anyway.
O_o
Nothing would stop you from booting a thin operating system configured to automatically execute a specific program.
I've done exactly that with a "Live Linux" disc configured to setup a GUI environment and run some anti-virus/recovery stuff.
If you are talking about something like modifying the as yet unloaded operating system, we don't discuss that sort of thing at this forum.
Soma
“Salem Was Wrong!” -- Pedant Necromancer
“Four isn't random!” -- Gibbering Mouther
Thank you. I have no interest in modifying the unloaded OS. My interest is basically figuring out what makes a drive readable at startup. If I'm correct the BIOS releases control to the hard drive or any other media that you ask it to. What specifically is the BIOS looking for and can I make my computer run my simple program at startup without loading the OS. The more I think about it the more impossible it seems but I thought I'd ask just in case someone had incite. Maybe what I'm looking for is writing a boot loader. I'm sure that's more advanced than I'm able to deal with at this point in time.
It seems like this would be a good place to start
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?