Standard Video Services

The Standard Video services are described on the following pages. An application should specify the desired function code in register AH (or AX), with additional parameters passed in other registers as indicated in the table. In some cases the service is a compatible extension of the standard service to provide a HP palmtop-specific feature like Zoom Text modes.

AH = 00h: Set Video Mode

AH = 01h - Set Cursor Size

AH = 02h: Set Cursor Position

AH = 03h: Read Cursor Position

AH = 04h: Read Light Pen Position

AH = 05h: Set Display Page

AH = 06h: Scroll Window Up

AH = 07h: Scroll Window Down

AH = 08h: Read Character and Attribute at Cursor Position

AH = 09h: Write Character and Attribute at Cursor Position

AH = 0Ah: Write Character at Cursor Position

AH = 0Bh: Set Color Palette

AH = 0Ch: Write Graphics Pixel

AH = 0Dh: Read Graphics Pixel

AH = 0Eh: Write Teletype Character

AH = 0Fh: Get Video State and Mode

AH = 13h: Write Teletype String