VirtualBox

Changeset 37049 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 12, 2011 1:33:08 PM (14 years ago)
Author:
vboxsync
Message:

Corrected the initial media state for 1.2M and 360K drives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r37035 r37049  
    75047504    // 360K 5.25" drive
    75057505    config_data = 0x00; // 0000 0000
    7506     media_state = 0x25; // 0010 0101
     7506    media_state = 0x15; // 0001 0101
    75077507    retval = 1;
    75087508    }
     
    75107510    // 1.2 MB 5.25" drive
    75117511    config_data = 0x00; // 0000 0000
    7512     media_state = 0x25; // 0010 0101   // need double stepping??? (bit 5)
     7512    media_state = 0x35; // 0011 0101   // need double stepping??? (bit 5)
    75137513    retval = 1;
    75147514    }
     
    75807580
    75817581  if (drive == 0)
    7582     media_state_offset = 0x90;
     7582    media_state_offset = 0x0090;
    75837583  else
    7584     media_state_offset = 0x91;
     7584    media_state_offset = 0x0091;
    75857585  write_byte(0x0040, 0x008B, config_data);
    75867586  write_byte(0x0040, media_state_offset, media_state);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette