Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>device driver function 0ah output status c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Device driver function 0Ah      Output Status               C

    Output Status specifies whether any characters are in the device
    output buffer.

    This function is required for character device drivers only.

    ------------------------------------------------------------------

    srStatus
    Specifies the status of the completed function. If the output
    buffer has any characters, the driver must set the busy bit (bit
    9), indicating that the device is busy. If the output buffer has
    no characters, the busy bit must be zero. In both cases, the
    driver must set the done bit (bit 8).

    If the function is not successful, the driver must set both the
    error and done bits (bits 15 and 8) and copy an error value to the
    low-order byte.

See Also: StatusRequest Dev06h 4407h Dev*

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