Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>int 16h, 05h (5) keyboard write many</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 16h,  05h (5)        Keyboard Write                                  many

    Puts a scan code/character code combination in the keyboard buffer.

       On entry:      AH         05h
                      CH         Scan code
                      CL         ASCII character code

       Returns:       AL         00h - Operation successful
                                 01h - Buffer full

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

       Notes:         This service is available only for ATs dated
                      11/15/85 and after, and XT 286s.

                      This service "fools" a program into thinking that
                      keys have come from the keyboard. A good example of
                      this would be the operation needed by a program that
                      implements keyboard macros.

                      For a description and list of scan codes, see "Scan
                      Codes."

See Also: INT 16h, 00h INT 16h, 10h

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