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.
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)
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.