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 33h, 0dh (13) light pen emulation mode on</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 33h,  0Dh (13)       Light Pen Emulation Mode On

    Switch Light Pen Emulation ON in BASIC.

       On entry:      AX         0Dh

       Returns:       Nothing

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

    Function 0Dh allows the mouse to emulate a light pen. When the mouse
    emulates a light pen, calls to the PEN function (described in the BASIC
    manual) return the cursor position at  the last "pen down".

    The mouse buttons control the "pen down" and "pen off the screen"
    states. The pen is down when both mouse buttons are down. The pen is off
    the screen when both mouse buttons are up.

    The mouse software enable light pen emulation after each reset.

See Also: INT 33h, 0Eh INT 33h, 00h

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