Posted by: Pham Tuan Vu | April 30, 2010

[ECE 341] Assignment 2

Untitled

http://vitaly_filatov.tripod.com/ng/asm/asm_028.1.html

INT 17h,  00h (0)        Send One Byte to Printer

    Sends one character to the specified parallel printer and returns the
    current status of the printer.

       On entry:      AH         00h
                      AL         Character to print
                      DX         Parallel printer number (0 - LPT1, 1 - LPT2,
                                 etc)

       Returns:       AH         Printer status (see Service 02h)

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

    For the AT, XT-286, and PC Convertible, INT 15h, Service 90h (Device
    Busy), is called when the printer is busy. This notifies the operating
    system that a time-out loop is going to begin.
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.