Page 1 of 1

VMWARE problem?

Posted: Mon Jul 10, 2006 9:44 am
by jgmorford
Over the last couple days, I've started fiddling around with a real-mode OS I'd been writing a couple years back. In the past, I strictly used bochs and real hardware to test it, but now I'm trying to use VMWARE 5.0.

When I execute on hardware or through bochs, I manage to get to the point I'm working on. But in VMWARE, the emulator terminates with a divide by zero error, as follows:
  • VMware Workstation unrecoverable error: (vcpu-0)
    Exception 0xc0000094 has occurred.
    A log file is available in "C:\Documents and Settings\John Morford\My Documents\My Virtual Machines\Regress\vmware.log". A core file is available in "C:\Documents and Settings\John Morford\Application Data\VMware\vmware-vmx-1108.dmp". Please request support and include the contents of the log file and core file.
    To collect files to submit to VMware support, run cscript vm-support.vbs.
    We will respond on the basis of your support entitlement.
This occurs when I try to write command byte 5 to the fdd controller. Any idea why this would occur? Here's the command byte's I'm sending.
Just a simple bootsector read...
  • fdd: INFO - Activating drive 0.
    fdd: INFO - Reading C: 0 H: 0 S: 1
    fdd: INFO - FDD Command Byte 0: 230
    fdd: INFO - FDD Command Byte 1: 0
    fdd: INFO - FDD Command Byte 2: 0
    fdd: INFO - FDD Command Byte 3: 0
    fdd: INFO - FDD Command Byte 4: 1
    fdd: INFO - FDD Command Byte 5: 2
    fdd: INFO - FDD Command Byte 6: 0
    fdd: INFO - FDD Command Byte 7: 0
    fdd: INFO - FDD Command Byte 8: 255