together with some "signs" on the text mode screen at segment B800:0000. however the print routines and strings will also take up space.Īnother technique is to place a here: jmp here infinite loop to see where the code reaches before reboot. Then you only have BIOS ints avalable and for debugging i would suggest some printf or printstrings. again this leaves very little space available.įom my experience the first problem is exactly this: your code grows ggreater than 512bites or overwrites the partition table. On a HDD the MBR is 512bytes max and in fact you have to substtract the space reserved for the partition table and initial predefined values at the start of MBR. ![]() First there is very little space available for such "additions" in the MBR.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |