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, 00h (0) mouse installed flag and reset</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 33h,  00h (0)        Mouse installed flag and reset

    Returns the current status of the Mouse hardware and software

       On entry:      AX         00h

       Returns:       AX         Mouse Status - 0 if not installed
                                                -1 if installed
                      BX         Number of Buttons

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

    The mouse status is 0 (false) if the mouse hardware and software are
    not installed or -1 if the hardware and software are installed.

    The function also resets the mouse driver to the following default
    parameters:

        FUNCTION                                PARAMETER
      ------------------------------------------------------------------
        cursor position                         screen center
        internal cursor flag                    -1 (not displayed)
        graphics cursor                         arrow/(-1,-1)
        text cursor                             inverting box
        interrupt call mask                     all 0 (no interupts)
        light pen emulation mode                enabled
        mickey/pixel ratio (horizontal)         8 to 8
        mickey/pixel ratio (vertical)           16 to 8
        min/max cursor position (horizontal)    depends on video mode
        min/max cursor position (vertical)      depends on video mode

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