i’ve found plenty of information on the technical details of old ibm pcs, but i can’t find much info for working with DOS itself other than interrupt lists. does anyone know good sources of information on this? the kinds of things i’m wondering are:
- if dos is booted from a floppy disk, when is it actually used? can i remove it and still use most features?
- if i manually mess with hardware features like video mode, floppy drives, interrupt controller, how should i reset them to their initial state when the program exits or uses a dos interrupt?
- what sections of memory can COM and MZ executables safely mess with (without clobbering something important for DOS to run)?
- can i load and unload other executables while mine is running? can i unload segments/parts of my program?
- do MZ segments always load in order with predictable spacing? can i add an empty segment at the end of my executable to get relocations for the heap?
- can i reserve space
if you already know the answers to any of these specific questions those would also be helpful by themselves.