VirtualBox

Changeset 47522 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 2, 2013 12:21:23 PM (11 years ago)
Author:
vboxsync
Message:

FDC: Clear interrupts the way real FDCs do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevFdc.cpp

    r47036 r47522  
    18851885    fdctrl->fifo[1] = cur_drv->track;
    18861886    fdctrl_set_fifo(fdctrl, 2, 0);
    1887     fdctrl_reset_irq(fdctrl);
    18881887    fdctrl->status0 = FD_SR0_RDYCHG;
    18891888}
     
    20832082    if (fdctrl->data_pos == 0) {
    20842083        /* Command */
     2084        fdctrl_reset_irq(fdctrl);   /* If pending from previous seek/recalibrate. */
    20852085        pos = command_to_handler[value & 0xff];
    20862086        FLOPPY_DPRINTF("%s command\n", handlers[pos].name);
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