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>int 15h, 84h (132) joystick support many</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 15h,  84h (132)      Joystick Support                                many

    Reads the current joystick switch settings or reports the current
    joystick resistive inputs.

       On entry:      AH         84h
                      DX         Subservice
                                 00h - Read current switch settings
                                 01h - Read resistive inputs

       Returns:       Carry      Set if error, else cleared
                      If DX = 00h (Read current switch settings):
                                 AL     Bits 7 to 4 contain switch settings
                      If DX = 01h (Read resistive inputs):
                                 AX     A(x) value
                                 BX     A(y) value
                                 CX     B(x) value
                                 DX     B(y) value

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

       Notes:         This service is available only for the AT, XT dated
                      after 11/08/82, and XT-286.

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