Reading Master Boot Record
After a drunken discussion with a friend I've foolishly agreed to accept a challenge that I've really no idea how to solve. I need to write a program which will prevent a PC booting up depending on the status of a bit in the master boot record. For example if it's set to '1' the PC will boot normally otherwise the PC should not boot but instead display an error message. I'm a decent programmer but I'm not used to such low level stuff so don't have a clue on how to approach it. Personally I don't think it's possible. Could people please tell me what their thoughts are and how I could get started? Thanks in advance.