Index for interrupt INT 5F
Table of Contents by Order
5F - INT 5F - IRQ15 relocated by DESQview 2.26+
5F - INT 5F - IRQ7 relocated by DoubleDOS
5F - INT 5F C - TI Professional PC - KEYBOARD QUEUEING VECTOR
5F00 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET VIDEO MODE
5F01 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET FILL MASK
5F02 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET CURRENT GRAPHICS INFO
5F03 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET LOGICAL ORIGIN
5F04 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET CLIP REGION
5F05 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - DRAW RECTANGLE
5F06 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - DRAW LINE
5F07 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - PLOT POINT
5F08 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - MOVE PEN
5F09 - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET PEN COLOR
5F0A - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET REPLACEMENT RULE
5F0B - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET LINE TYPE
5F0C - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET PIXEL
5F0D - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET IMAGE
5F0E - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - PUT IMAGE
5F0F - INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - WRITE TEXT
5F10 - INT 5F - HP 100LX/200LX GRAPHICS PRIMITIVES - GET FONT POINTER
5F11 - INT 5F - HP 100LX/200LX GRAPHICS PRIMITIVES - SET CURRENT FONT
INT 5F - IRQ15 relocated by DESQview 2.26+ Range: INT 5F to INT FF, selected automatically Note: this is the default, but other INTs may be used (see INT 50"DESQview") SeeAlso: INT 50"DESQview",INT 5E"DESQview",INT 77Top
INT 5F - IRQ7 relocated by DoubleDOS SeeAlso: INT 0F,INT 5E"DoubleDOS"Top
INT 5F C - TI Professional PC - KEYBOARD QUEUEING VECTOR Return: all registers preserved Desc: hook for multitaskers to be informed when a keypress is placed in the keyboard buffer Note: the default handler is a simple IRET instruction SeeAlso: INT 09,INT 4A/AH=00h"TI",INT 59"TI Professional" SeeAlso: INT 5B"TI Professional",INT 5C"TI Professional" SeeAlso: INT 5D"TI Professional",INT 5E"TI Professional"Top
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET VIDEO MODE AH = 00h AL = video mode 03h text,CGA color (100LX/200LX) 06h 640x200 CGA graphics (100LX/200LX) 07h text, system manager compliant 20h 240x128 mono graphics, system manager compliant 87h text, not system manager compliant A0h 240x128 mono graphics, not system manager compliant Notes: the defaults after setting the mode to graphics are (0,0) logical origin, full-screen clip region, (0,0) pen location, pen color 1, pixel replacement FORCE, line type and fill mask all bits set modes 03h and 06h can also be set with the standard INT 10/AH=00h SeeAlso: INT 0F"HP 95LX",INT 10/AH=00h,INT 15/AX=4DD4hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET FILL MASK AH = 01h ES:DI -> 8-byte fill mask Note: the fill mask represents an 8x8 pixel box and is repeated as necessary when drawing filled rectangles; it is always aligned with the byte boundaries of video memory, regardless of the actual boundaries of the rectangle SeeAlso: AH=02hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET CURRENT GRAPHICS INFO AH = 02h ES:DI -> graphics info record (see #03260) Return: DX:AX -> filled graphics info record (for return to high-level langs) Format of HP 95LX graphics info record: Offset Size Description (Table 03260) 00h BYTE current video mode 01h BYTE default video mode 02h WORD display width in pixels 04h WORD display height in pixels 06h WORD current pen column 08h WORD current pen row 0Ah WORD current line type 0Ch WORD current replacement rule 0Eh WORD current pen color 10h WORD current leftmost column of clip region 12h WORD current rightmost column of clip region 14h WORD current topmost row of clip region 16h WORD current bottommost row of clip region 18h WORD current column of logical origin 1Ah WORD current row of logical origin 1Ch 8 BYTEs current fill maskTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET LOGICAL ORIGIN AH = 03h CX = column DX = row SeeAlso: AH=04hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET CLIP REGION AH = 04h CX = left-most column DX = top-most row SI = right-most column DI = bottom-most row SeeAlso: AH=03hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - DRAW RECTANGLE AH = 05h AL = fill type 00h outline, using current line type and color 01h solid, using current color 02h pattern, using current fill mask and color DX,CX = row,column of other corner of rectangle Note: the rectangle is drawn starting at the current pen position SeeAlso: AH=01h,AH=06h,AH=07hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - DRAW LINE AH = 06h DX,CX = row,column of end point Note: the line is drawn starting at the current pen position SeeAlso: AH=05h,AH=07hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - PLOT POINT AH = 07h DX,CX = row,column of point Note: also sets pen position to the specified point SeeAlso: AH=06h,AH=08h,AH=0ChTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - MOVE PEN AH = 08h DX,CX = row,column of new pen position SeeAlso: AH=07h,AH=09hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET PEN COLOR AH = 09h AL = new color (00h = white, 01h = black) SeeAlso: AH=08h,AH=0Ah,AH=0BhTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET REPLACEMENT RULE AH = 0Ah AL = new replacement rule 00h force 01h AND 02h OR 03h XOR ---100LX/200LX--- 04h InvForce 05h InvAND 06h InvOR 07h InvXOR 08h Txt SeeAlso: AH=01h,AH=09h,AH=0BhTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - SET LINE TYPE AH = 0Bh CX = new line type Note: the line type specifies 16 bits which are repeated over and over while drawing the pixels of a line SeeAlso: AH=09h,AH=0AhTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET PIXEL AH = 0Ch DX,CX = row,column of pixel to read Return: AX = pixel color SeeAlso: AH=07hTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - GET IMAGE AH = 0Dh DX,CX = row,column of first corner BP,SI = row,column of second corner ES:DI -> image buffer (see #03261) Note: the specified corners are included in the saved image SeeAlso: AH=0Eh Format of HP 95LX image buffer: Offset Size Description (Table 03261) 00h WORD number of planes (always 01h on HP 95LX) 02h WORD number of bits/pixel (always 01h on HP 95LX) 04h WORD image width in pixels 06h WORD image height in pixels 08h N BYTEs image data requires (WIDTH+7)/8 * HEIGHT bytesTop
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - PUT IMAGE AH = 0Eh AL = replacement rule (see #03262) DX,CX = row,column of top left corner ES:DI -> image buffer (see #03261) Note: if the specified image does not fit completely on the screen, this call does nothing SeeAlso: AH=0Dh Bitfields for replacement rule: Bit(s) Description (Table 03262) 2 invert image before applying rule 1-0 function (00 force, 01 AND, 10 OR, 11 XOR)Top
INT 5F - HP 95LX/100LX/200LX GRAPHICS PRIMITIVES - WRITE TEXT AH = 0Fh AL = rotate flag (if nonzero, rotate 90 degrees counter-clockwise) DX,CX = row,column of first character's top left corner ES:DI -> ASCIZ textTop
INT 5F - HP 100LX/200LX GRAPHICS PRIMITIVES - GET FONT POINTER AH = 10h CX = font size of desired font 0808h 8x8 small (80x25 text) 0A0Bh 11x10 medium (64x18 text) 100Ch 12x16 large (40x16 text) Return: DX:AX -> ptr to font or 0000h:fontID# if built-in font SeeAlso: AH=11hTop
INT 5F - HP 100LX/200LX GRAPHICS PRIMITIVES - SET CURRENT FONT AH = 11h ES:DI -> ptr to font or 0000h:fontID# for built-in font Note: this function should be called immediately after AH=10h with the pointer supplied by that call SeeAlso: AH=10hTop