Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 15 - system - pointing device bios interface (ps) - get/set scaling factor http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 15 - SYSTEM - POINTING DEVICE BIOS INTERFACE (PS) - GET/SET SCALING FACTOR
        AX = C206h
        BH = subfunction
            00h return device status
                Return: BL = status
                           bit 0: right button pressed
                           bit 1: reserved
                           bit 2: left button pressed
                           bit 3: reserved
                           bit 4: 0 if 1:1 scaling, 1 if 2:1 scaling
                           bit 5: device enabled
                           bit 6: 0 if stream mode, 1 if remote mode
                           bit 7: reserved
                        CL = resolution (see AX=C203h)
                        DL = sample rate, reports per second
            01h set scaling at 1:1
            02h set scaling at 2:1
Return: CF set on error
            AH = status (see AX=C200h)

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