Re: Writing a TSR that stores/restores the video screen (C with inline Asm)
Posted on 2024-05-06, 12:00
So how can I find out what was in the DS as you ask? Typically you don't. You assume the registers are in unspecified state at the entrance to the interrupt handler (unless documented otherwise or confirmed with disassembly), you push stuff you will be changing, and then you explicitly load the …