Page 2 of 2

Re: Does int 13h/ah=42h have sectors count limitations?

Posted: Mon Nov 23, 2020 3:53 pm
by Bonfra
MichaelPetch wrote:It might be more useful to make it a macro so it can be reused:

Code: Select all

%define LIN_TO_FAR_ADDR(linaddr) (((linaddr >> 4) << 16) | (linaddr & 0xf))
Yes it's really usefull I'll integrate it to my code thanks.
MichaelPetch wrote:It is possible to reference memory with 32-bit registers in 16-bit code but this only works if you have entered unreal mode
Ok, not the case yet but when I'll need this (and I will for sure) I'll make sure to enable unreal mode.