Page 1 of 1

Strange error

Posted: Fri Jul 13, 2007 7:42 pm
by d4n1l0d
I tried this function to determine ram size:

INT 15h
AX = E801h

Return:
CF clear if successful
AX = extended memory between 1M and 16M, in K (max 3C00h = 15MB)
BX = extended memory above 16M, in 64K blocks
CX = configured memory 1M to 16M, in K
DX = configured memory above 16M, in 64K blocks CF set on error

but my virtual machine just resets, what's wrong?

Posted: Fri Jul 13, 2007 7:51 pm
by d4n1l0d
lol
On VMWARE ( LINUX) - The computer resets
On my real pc - goes to the error routine I route ( int 0x15; jc error )
On virtual pc - goes to the error routine I route ( int 0x15; jc error )

Posted: Fri Jul 13, 2007 8:39 pm
by pcmattman
d4n1l0d wrote:lol
On VMWARE ( LINUX) - The computer resets
On my real pc - goes to the error routine I route ( int 0x15; jc error )
On virtual pc - goes to the error routine I route ( int 0x15; jc error )
If it jumps to the error routine if the carry flag is set on a real PC then you can probably assume that it's a problem in VMWare.

I would suggest not jumping to an error routine but instead jumping to a secondary method of detecting the amount of memory, and if every possible method fails then fail with an error.

Posted: Fri Jul 13, 2007 8:46 pm
by Ninjarider
are you sure you have a pheonix bios v4