VirtualBox

Ticket #8885: rombios-retain-hdcount.patch

File rombios-retain-hdcount.patch, 574 bytes (added by mlw, 13 years ago)

Patch for src/VBox/Devices/PC/BIOS/rombios.c

  • src/VBox/Devices/PC/BIOS/rombios.c

    old new  
    93369336  mov  0x048c, al /* hard disk status register */
    93379337  mov  0x048d, al /* hard disk error register */
    93389338  mov  0x048e, al /* hard disk task complete flag */
     9339#if !BX_USE_ATADRV  /* if not done by ata_detect */
    93399340  mov  al, #0x01
    93409341  mov  0x0475, al /* hard disk number attached */
     9342#endif
    93419343  mov  al, #0xc0
    93429344  mov  0x0476, al /* hard disk control byte */
    93439345  SET_INT_VECTOR(0x13, #0xF000, #int13_handler)

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