Date: Thu, 27 Nov 1997 13:39:53 +0200 (IST) From: Eli Zaretskii To: Nate Eldredge cc: djgpp AT delorie DOT com Subject: Re: biosmemory() problem In-Reply-To: <199711262053.MAA16550@adit.ap.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 26 Nov 1997, Nate Eldredge wrote: > >This service is not supposed to report more than 640K. BIOS and DOS > >don't care about anything beyond that. > The documentation for it implies that it reports all the memory installed. > It says that it will return 65535 if more than 64M of memory is > there. Where did you see that documentation? Here's what the Interrupt List says: --------B-12--------------------------------- INT 12 - BIOS - GET MEMORY SIZE Return: AX = kilobytes of contiguous memory starting at absolute address 00000h Note: this call returns the contents of the word at 0040h:0013h; in PC and XT, this value is set from the switches on the motherboard I see no implications here about anything beyond 640K. > Should this be fixed? I'm not sure. `biosmemory' is a compatibility function, so it should report whatever is compatible. Borland's docs clearly says that it calls Int 12h. Can anybody check what does Borland's version report?