• Please review our updated Terms and Rules here

PC BIOS function int 21, 48

it was specific to the original post which was not built with large memory model, AFAIR. obviously far is not needed in a large memory model as all pointers are then far by default.
Ok, I see what happened now.

I interpreted "you need to declare it as a far pointer, regardless of the memory model your using" as "regardless of which memory model you are using - even large - you MUST declare pointers as far and do a far cast in order to convert from an integer type".

Whereas you meant "you can overcome that problem simply by using a far pointer, and that works no matter what memory model you are using - even e.g. small".
 
Back
Top