VirtualBox

Changeset 47006 in vbox


Ignore:
Timestamp:
Jul 5, 2013 12:45:37 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: Properly turn off floppy motor to save electricity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/orgs.asm

    r46947 r47006  
    17211721                mov     ds, ax
    17221722
    1723                 ;; time to turn off floppy driv motor(s)?
    1724                 mov     al, ds:[440h]    ;; @todo Shouldn't this be decreased if > 0? How would we ever get to zero otherwise?
     1723                ;; time to turn off floppy drive motor(s)?
     1724                mov     al, ds:[440h]
    17251725                or      al, al
    17261726                jz      int08_floppy_off
     1727                dec     al
     1728                mov     ds:[440h], al
     1729                jnz     int08_floppy_off
    17271730                ;; turn motor(s) off
    17281731                push    dx
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