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

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
Bonfra
Member
Member
Posts: 270
Joined: Wed Feb 19, 2020 1:08 pm
Libera.chat IRC: Bonfra
Location: Italy

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

Post 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.
Regards, Bonfra.
Post Reply