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, 0fh (15) set mickey/pixel ratio</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 33h,  0Fh (15)       Set Mickey/Pixel Ratio

    Sets the Mickey to pixel ratio.

       On entry:      AX         0Fh
                      CX         Horizontal Mickey/Pixel ratio
                      DX         Vertical Mickey/Pixel ratio

       Returns:       Nothing

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

    Function 0Fh sets the Mickey to pixel ratio for horizontal and vertical
    mouse motion. The ratios specify the number of Mickeys per 8 pixels. The
    values must be in the range 1 to 32767.

    The default value for the horizontal ratio is 8 Mickeys to 8 pixels.
    With this ratio, the mouse must travel 3.2 inches to move the cursor all
    the way across the screen horizontally (640 pixels).

    The default value for the vertical ratio is 16 Mickeys to 8 pixels. With
    this ratio, the mouse must travel 2 inches to move the cursor from top
    to bottom on a screen with a vertical resolution of 200 pixels.

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