Hi!
Just tested under MS-DOS: INT 2F/4A02 returns in BX size of _remained
area_, not size of allocated block. If someone may test under W9x, please,
do next actions in DEBUG:
______________O\_/_________________________________\_/O______________
a
mov ax,4a01
int 2f
int 3
a 200
mov bx,1
mov ax,4a02
int 2f
int 3
g=100
g=200
q
_____________________________________________________________________
O/~\ /~\O
After "g=100" I get 2E00 in BX and D200 in DI. After "g=200" I get 2DF0 in
BX and D200 in DI. [I.e. MS-DOS (1) aligns allocation to paragraph boundary,
(2) reuses all HMA up to last byte (FFFF)]. What returned under MS-DOS 7.1
and/or W9x?
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel