Memory size (INT 0x15, ah=0x88)
Posted: Sun Jul 22, 2007 6:43 pm
using this function
I get the CF set, but, checking AX I get RAM size from 0x0000 to 64MB ( I used VirtualPC for testing, and I changing the ram size, I got the size in ax ( ramsize - 1024 kb ) but I got the CF set too?? Why I got it set if I could got the ram size?
EDIT: On my real computer ( 512 MB ) I Got 0xFFC0 and the carry flag set too.
Code: Select all
SYSTEM - GET EXTENDED MEMORY SIZE (286+)
AH = 88h
Return:
CF clear if successful
AX = number of contiguous KB starting at absolute address 100000h
CF set on error
AH = status 80h invalid command (PC,PCjr)
86h unsupported function (XT,PS30)
EDIT: On my real computer ( 512 MB ) I Got 0xFFC0 and the carry flag set too.