Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Programmers Reference 0.02b - <b>0:43fh diskette drive motor status</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
0:43Fh                   Diskette Drive Motor Status

 Length: 1 byte

    This byte indicates which diskette drive is currently selected and
    which diskette drive motors are on.

                     Diskette Drive Motor Status

            7 6 5 4 3 2 1 0
            x . . . . . . .      Read/Write Operation
            . x . . . . . .      Reserved
            . . x x . . . .      Diskette Drive Select Status (see below)
            . . . . x . . .      Diskette Drive 3 Motor On Status
            . . . . . x . .      Diskette Drive 2 Motor On Status
            . . . . . . x .      Diskette Drive 1 Motor On Status
            . . . . . . . x      Diskette Drive 0 Motor On Status

    Bits 3 through 0 control the motor status of the different diskette
    drives. If set, then the specified drive motor is on.

                 Diskette Drive Select Status (bits 5 and 4)

                      00 --  Diskette Drive 0 Selected
                      01 --  Diskette Drive 1 Selected
                      10 --  Diskette Drive 2 Selected
                      11 --  Diskette Drive 3 Selected

    INT 08h will turn the Motor On bits off (bits 3 - 0) when the motor
    counter (0:440h) reaches 0.

See Also: INT 08h 0:440h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson