Switching to realmode for a BIOS interrupt, sometimes hangs

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Switching to realmode for a BIOS interrupt, sometimes han

Post by Pype.Clicker »

Trashey wrote: This was just out of curiosity question, loading from DOS is just a matter of development convenience for me and in all other situations the boot loader is used.
Yep. I understand that. The cleanest way i can suggest you is to let the "environmnent-specific" part of the loader to inform your OS of what memory region are available (both low-memory and high-memory), so that you can run your kernel safely in any environment (raw BIOS, bios with EBDA, DOS, DOS with HIMEM & SMARTDRV, etc)
Post Reply