The text of a manual · part 16 of 28
PEN*KEY 6400 Computer Programmer's Reference Guide: Section 5: BIOS Interrupt Support, pages 121 to 130
Pages 121 to 130 of 234, from PEN*KEY 6400 Computer Programmer's Reference Guide
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 6400
Page 121
BIOS Interrupt Support
SECTION 5
INT 10h, Function AH = 0Ah; Write Character (no attribute) at Current Cursor Position
BIOS Writes the character (only) at the current cursor position for the selected page. If the number of characters exceeds the end of a line, they wrap to the next line. In graphics modes, wrapping does not take place. All ASCII values from 0–256 produces a display, including control characters. Control characters do not produce control functions, but the special characters are displayed. Control characters do not alter the cursor position. The cursor is not advanced. This function works in all display modes. The page does not need to be active for the function to operate correctly. On Entry: AH = 0Ah AL = Value of the character BH = Display page number CX = Count of characters to write
On Return: None
INT 10h, Function AH = 0Ch; Write Graphics Dot
BIOS Writes a specified pixel to video memory at the location represented by registers CX and DX. The value in register AL is the color value for graphic modes. If bit 7 of register AL is set, the color value is XORed with the current screen location contents. The range of pixel values depends on the current video mode. On Entry: AH = 0Ch AL = Dot value 0 = off 1 = on BH = Page number CX = Dot column number 0–320 = Modes 4–5 0–640 =Mode 6 DX = Dot row number
On Return:
AL = Color value
PEN*KEYR 6400 Programmer’s Reference Guide
5-11
Page 122
SECTION 5
BIOS Interrupt Support
INT 10h, Function AH = 0Dh; Read Graphics Dot
BIOS Reads the picture element value at the location specified by registers CX and DX. The value returned in register AL depends on the current video mode. On Entry: AH = 0Dh BH = Page number CX = Dot column number 0–320 = Modes 4–5 0–640 = Mode 6 DX = Dot row number
On Return:
AL = Dot value 0 = off 1 = on
INT 10h, Function AH = 0Eh; Teletype Character Write
BIOS Writes characters to the display, as a serial terminal, in all display modes. Carriage return homes the cursor on the current line. Line feed advances the cursor to the next line. Tab advances the cursor to the next tab stop (every 8 spaces). Backspace backs the cursor, but only to the beginning of the current line. Bell beeps the buzzer. All other characters are displayable characters. The cursor advances after a character is written. If the end of a line is reached, the cursor advances to the next line. If the position of thelast line of the display is written to, the display scrolls up one line. On Entry: AH = 0Eh AL = Character to write BH = Page number BL = Foreground color in graphics mode
On Return: None
INT 10h, Function AH = 0Fh; Read Current Video Mode
BIOS Returns information stored in locations maintained by Function AH=00h and Function AH=05h. On Entry: AH = 0Fh
On Return:
AH = Number of columns on screen AL = Current video mode BH = Current active display page
5-12
PEN*KEYR 6400 Programmer’s Reference Guide
Page 123
BIOS Interrupt Support
SECTION 5
INT 10h, Function AX = 1200h; Turn Display On Subfunction BL = 36h: Alternate Function
BIOS Turns the video display on. On Entry:
AH = 12h AL = 00h BL = 36h
On Return:
AL = 12h (function supported)
INT 10h, Function AX = 1201h; Turn Display Off Subfunction BL = 36h: Alternate Function
BIOS Turns the video display off. On Entry: AH = 12h AL = 01h BL = 36h
On Return:
AL = 12h (function supported)
INT 10h, Function AX = 1200h; Set Viewport Position to Lower-Left Corner Subfunction BL = F6h: Alternate Function
BIOS Positions the viewport to the lower-left corner of the full VGA screen. On Entry: AH = 12h AL = 00h BH = 00h BL = 0F6h
On Return: None
INT 10h, Function AX = 1201h; Set Viewport Position to Upper-Left Corner Subfunction BL = F6h: Alternate Function
BIOS Positions the viewport to the upper-left corner of the full VGA screen. On Entry: AH = 12h AL = 01h BH = 00h BL = 0F6h
On Return: None
PEN*KEYR 6400 Programmer’s Reference Guide
5-13
Page 124
SECTION 5
BIOS Interrupt Support
INT 10h, Function AX = 1202h; Set Viewport to Follow Cursor Subfunction BL = F6h: Alternate Function
BIOS Sets the viewport to follow the cursor. On Entry: AH = 12h AL = 02h BH = 00h BL = 0F6h CH = Top line CL = Left column DH = Bottom line DL = Right column
; Window in which cursor can move ; without the viewport moving. ; Once the cursor moves outside, ; the viewport follows.
On Return: None
INT 10h, Function AX = 1203h; Reset Annunciator Line to Current Keyboard Settings Subfunction BL = F6h: Alternate Function
BIOS Resets the annunciator line to the current keyboard settings. On Entry: AH = 12h AL = 03h BH = 00h BL = 0F6h
On Return: None
Note: This was implemented in flash version 1.14, in the event the annunciator display becomes altered. INT 10h, Function AX = 1204h; Enable/Disable Annunciator Panning Subfunction BL = F6h; Alternate Function
BIOS Enables and disables the annunciator panning. On Entry: AH = 12h AL = 04h BH = 00h BH = 0F6h CL = Switch value 0 (disable) 1 (enable)
On Return: None
5-14
PEN*KEYR 6400 Programmer’s Reference Guide
Page 125
BIOS Interrupt Support
SECTION 5
INT 10h, Function AX = 1205h; Get Current Viewport Location Subfunction BL = F6h: Alternate Function
BIOS Returns the location of the viewport (the visible window). On Entry: AH = 12h AL = 05h BH = 00h BL = 0F6h
On Return:
CH = Line CL = Column
INT 10h, Function AX = 1206h; Lock Viewport Subfunction BL = F6h: Alternate Function
BIOS Locks the viewport into the current position and size. On Entry: AH = 12h AL = 06h BH = 00h BL = 0F6h
On Return: None
INT 10h, Function AX = 1207h; Unlock Viewport Subfunction BL = F6h: Alternate Function
BIOS Unlocks the viewport so the position and size can be changed. On Entry: AH = 12h AL = 07h BH = 00h BL = 0F6h
On Return: None
PEN*KEYR 6400 Programmer’s Reference Guide
5-15
Page 126
SECTION 5
BIOS Interrupt Support
INT 10h, Function AH = 12h; Write BIOS Annunciator Values (with attribute) Subfunction BL = F8h: Alternate Function
BIOS RFBIOS Writes the annunciator number and its bitmap, including the display attribute, to the annunciator. On Entry: AH = 12h BH = 00h BL = 0F8h AL = Annunciator number CXDX = Annunciator bitmap SI = Attribute 0 = Normal 4 = Blinking
On Return: None
INT 10h, Function AH = 12h; Write BIOS Annunciator Values (without attribute) Subfunction BL = F9h; Alternate Function
BIOS RFBIOS Writes the annunciator number and its bitmap to the annunciator, without changing the display attribute. On Entry: AH = 12h BH = 00h BL = 0F9h AL = Annunciator number CXDX = Annunciator bitmap
On Return: None
INT 10h, Function AH = 12h; Set Physical Display Size Subfunction BL = FAh; Alternate Function
BIOS Changes the number of lines and columns in the viewport and the font size. On Entry: AH = 12h BH = 00h BL = 0FAh CH = Number of lines CL = Number of columns
On Return:
CH = Actual number of lines CL = Actual number of columns
Note: Refer to The Standard Display and The Wide Display paragraphs, in the Communications and Device Support section of this publication, for details concerning available lines and columns. 5-16
PEN*KEYR 6400 Programmer’s Reference Guide
Page 127
BIOS Interrupt Support
SECTION 5
INT 10h, Function AH = 12h; Return Pointer to Current Display Parameter Packet and Font Information; Subfunction BL = FBh; Alternate Function
BIOS Returns a pointer to the current display parameter packet and font information. On Entry: AH = 12h BH = 00h BL = 0FBh
On Return:
ES:DI = Address of display parameter packet CX = Maximum number of programmable characters DS:SI = Address of current font table BH = Number of bytes per character in font table
Note: If CX = 0, then DS:SI and BH have no meaning. INT 10h, Function AX = 12E0h; Select Chase Mode Subfunction BL = FCh; Alternate Function (select 3x4x specific display mode)
BIOS Selects a 3x4x specific display mode. On Entry:
AH = 12h AL = 0E0h (display mode = MODE_CHASE) BH = 00h BL = 0FCh
On Return: None
INT 10h, Function AX = 12E1h; Select Fixed Mode Subfunction BL = FCh; Alternate Function (select 3x4x specific display mode)
BIOS Selects a 3x4x specific display mode. On Entry:
AH = 12h AL = 0E1h (display mode = MODE_FIXED ) BH = 00h BL = 0FCh DH = Window coordinate (Line) DL = Window coordinate (Column)
On Return: None
PEN*KEYR 6400 Programmer’s Reference Guide
5-17
Page 128
SECTION 5
BIOS Interrupt Support
INT 10h, Function AX = 12E2h; Select Setparms Mode Subfunction BL = FCh; Alternate Function (select 3x4x specific display mode)
BIOS Selects a 3x4x specific display mode. On Entry:
AH = 12h AL = 0E2h (display mode = MODE_SETPARMS) BH = 00h BL = 0FCh ES:DI = Pointer to display parameter packet
On Return: None
INT 10h, Function AX = 12E3h; Select Graphics Mode Subfunction BL = FCh; Alternate Function (select 3x4x specific display mode)
BIOS Selects a 3x4x specific display mode. On Entry:
AH = 12h AL = 0E3h (display mode = MODE_GRAFIX) BH = 00h BL = 0FCh
On Return: None
INT 10h, Function AH = 12h; Return Physical Display Size Subfunction BL = FDh; Alternate Function
BIOS RFBIOS Returns the physical display size set by the “Set Physical Display Size” function. On Entry: AH = 12h BH = 00h BL = 0FDh
On Return:
AH = Number of columns AL = Number of lines ES:DI = Address of table of the supported sizes
5-18
PEN*KEYR 6400 Programmer’s Reference Guide
Page 129
BIOS Interrupt Support
SECTION 5
INT 10h, Function AX = 1200h; Get Contrast (temperature compensated) Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry:
AH = 12h AL = 00h (Get contrast function) BH = 00h BL = 0FEh
On Return:
BH = Contrast value (range: 0 = lightest to 255 = darkest)
INT 10h, Function AX = 1201h; Set Contrast (temperature compensated) Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry:
AH = 12h AL = 01h (Set contrast function) BL = 0FEh BH = Contrast value (range: 0 = lightest to 255 = darkest)
On Return: None
INT 10h, Function AX = 1202h; Get Contrast (absolute, no compensation ) Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry: AH = 12h AL = 02h (Get contrast function) BH = 00h BL = 0FEh
On Return:
BH = Contrast value (range: 0 = lightest to 255 = darkest)
PEN*KEYR 6400 Programmer’s Reference Guide
5-19
Page 130
SECTION 5
BIOS Interrupt Support
INT 10h, Function AX = 1203h; Set Contrast (absolute, no compensation ) Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry:
AH = 12h AL = 03h (Set Contrast function) BL = 0FEh BH = Contrast value (range: 0 = lightest to 255 = darkest)
On Return: None
INT 10h, Function AX = 1205h; Compensate Contrast Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry:
AH = 12h AL = 05h (Compensate Contrast function) BH = 00h BL = 0FEh
On Return: None
INT 10h, Function AX = 1203h; Turn Contrast Heater Off Subfunction BL = FEh; Alternate Function
BIOS This is a Contrast Control function. On Entry:
AH = 12h AL = 06h (Turn Contrast Heater Off function) BL = 0FEh BH = Off time for heater
On Return: None
" NOTE:
5-20
The function, described above, is NOT currently supported.
PEN*KEYR 6400 Programmer’s Reference Guide