Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 27 of 38

PEN*KEY 6100 Computer Programmer's Reference Guide: Section 6: Conversions and Interfaces, pages 237 to 244

Pages 237 to 244 of 328, from PEN*KEY 6100 Computer Programmer's Reference Guide

The original document is the PDF (1.2 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 Norand 6100

Page 237

SECTION 6

Conversions and Interfaces

INT 33h, Function AX = 0004h: Set Cursor Position

6. Conversions and Interfaces

MOUSE Sets the position of the mouse cursor. On Entry: AH = 00h AL = 04h CX = coordinate of mouse cursor DX = coordinate of mouse cursor On Return: None INT 33h, Function AX = 0005h: Get Button Press Information MOUSE Gets the current status information relating to pressing of the pen or button. On Entry: AH = 00h AL = 05h BX = 0 For pen status information 1 For button status information On Return: AX = Pen or button status BX = Number of presses since last call CX = coordinate at last press DX = coordinate at last press INT 33h, Function AX = 0006h: Get Button Release Information MOUSE Gets the current status information relating to releasing of the pen or button. On Entry: AH = 00h AL = 06h BX = 0 For pen status information 1 For button status information On Return: AX = Pen or button status BX = Number of releases since last call CX = coordinate at last release DX = coordinate at last release INT 33h, Function AX = 0007h: Set Minimum & Maximum x Cursor Position MOUSE Sets both the minimum and the maximum x coordinate of the cursor position. On Entry: AH =00h AL = 07h CX = Minimum cursor position DX = Maximum cursor position On Return: None PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-101

Page 238

Conversions and Interfaces

SECTION 6

INT 33h, Function AX = 0008h: Set Minimum & Maximum y Cursor Position

6. Conversions and Interfaces

MOUSE Sets both the minimum and the maximum y coordinate of the cursor position. On Entry: AH = 00h AL = 08h CX = Minimum cursor position DX = Maximum cursor position On Return: None INT 33h, Function AX = 0009h: Set Graphics Cursor Block MOUSE On Entry: AH = 00h AL = 09h On Return: None INT 33h, Function AX = 000Ah: Set Text Cursor MOUSE No action taken. On Entry: AH = 00h AL = 0Ah On Return: None INT 33h, Function AX = 000Bh: Read Motion Counters MOUSE Reads the motion counters. On Entry: AH = 00h AL = 0Bh On Return: CX = mickey count (delta x since last call) DX = mickey count (delta y since last call) INT 33h, Function AX = 000Ch: Set Interrupt Subroutine Call Mask and Addr MOUSE Sets the call mask and address for the subroutine. On Entry: AH = 00h AL = 0Ch CX = Call mask ES:DX = Subroutine address On Return: None 6-102

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 239

SECTION 6

Conversions and Interfaces

INT 33h, Function AX = 000Dh: Light Pen Emulation Mode On

6. Conversions and Interfaces

MOUSE On Entry: AH = 00h AL = 0Dh On Return: None INT 33h, Function AX = 000Eh: Light Pen Emulation Mode Off MOUSE No action taken. On Entry: AH = 00h AL = 0Eh On Return: None INT 33h, Function AX = 000Fh: Set Mickey to Pixel Ratio MOUSE On Entry: AH = 00h AL = 0Fh On Return: None INT 33h, Function AX = 0010h: Conditional Off MOUSE No action taken. On Entry: AH = 00h AL = 10h On Return: None INT 33h, Function AX = 0013h: Set Double-Speed Threshold MOUSE No action taken. On Entry: AH = 00h AL = 13h On Return: None

PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-103

Page 240

Conversions and Interfaces

SECTION 6

INT 33h, Function AX = 0014h: Swap Interrupt Subroutines

6. Conversions and Interfaces

MOUSE Swaps interrupt mask and subroutine address for previous mask and subroutine address. On Entry: AH = 00h AL = 14h BX:DX = Subroutine address CX = Call mask On Return: BX:DX = Previous subroutine address CX = Previous call mask INT 33h, Function AX = 0015h: Get Status Block Size MOUSE Gets size of status block. On Entry: AH = 00h AL = 15h On Return: BX = Size INT 33h, Function AX = 0016h: Save Driver Status MOUSE Saves status of mouse driver. On Entry: AH = 00h AL = 16h On Return: ES:[DX] = Copy of status block INT 33h, Function AX = 0017h: Restore Driver Status MOUSE Restores status of mouse driver. On Entry: AH = 00h AL = 17h ES:[DX] = Copied to status block On Return: None INT 33h, Function AX = 0018h: Set Alternate Subroutine Call Mask and Addr MOUSE No action taken. On Entry: AH = 00h AL = 18h On Return: None 6-104

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 241

SECTION 6

Conversions and Interfaces

INT 33h, Function AX = 0019h: Get User Alternate Interrupt Address

6. Conversions and Interfaces

MOUSE On Entry: AH = 00h AL = 19h On Return: AX = 0 BX = 0 CX = 0 DX = 0 INT 33h, Function AX = 001Ah: Set Mouse Sensitivity MOUSE No action taken. On Entry: AH = 00h AL = 1Ah On Return: None INT 33h, Function AX = 001Bh: Get Mouse Sensitivity MOUSE Gets the mouse sensitivity. On Entry: AH = 00h AL = 1Bh On Return: BX = 50 CX = 50 DX = 50 INT 33h, Function AX = 001Ch: Set Mouse Interrupt Rate MOUSE No action taken. On Entry: AH = 00h AL = 1Ch On Return: None INT 33h, Function AX = 001Dh: Set Display Page Number MOUSE No action taken. On Entry: AH = 00h AL = 1Dh On Return: None PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-105

Page 242

Conversions and Interfaces

INT 33h, Function AX = 001Eh: Get Display Page Number MOUSE Gets current active page number. 6. Conversions and Interfaces

On Entry: AH = 00h AL = 1Eh On Return: BX = 0 INT 33h, Function AX = 001Fh: Disable Mouse Driver MOUSE Disables the mouse driver. On Entry: AH = 00h AL = 1Fh On Return: AX = -1 INT 33h, Function AX = 0020h: Enable Mouse Driver MOUSE Enables the mouse driver. No return values. On Entry: AH = 00h AL = 20h On Return: None INT 33h, Function AX = 0021h: Software Reset MOUSE Resets the mouse software values. On Entry: AH = 00h AL = 21h On Return: AX = -1 BX = 2 INT 33h, Function AX = 0022h: Set Language for Messages MOUSE No action taken. On Entry: AH = 00h AL = 22h On Return: None 6-106

PEN*KEY R 6100 Computer Programmer’s Reference Guide

SECTION 6

Page 243

SECTION 6

Conversions and Interfaces

INT 33h, Function AX = 0023h: Get Language Number

On Return: BX = 0 INT 33h, Function AX = 0024h: Get Driver Version, Mouse Type, and IRQ No. MOUSE Gets values for driver version, mouse type, and IRQ number. On Entry: AH = 00h AL = 24h On Return: BX = Version CH = 0 CL = IRQ " NOTE:

For indexes to all of the interrupt definitions within this section (organized alphabetically by topic), refer to the Interrupt Index, at the end of this publication.

PEN*KEY R 6100 Computer Programmer’s Reference Guide

6-107

6. Conversions and Interfaces

MOUSE On Entry: AH = 00h AL = 23h

Page 244

Conversions and Interfaces

6. Conversions and Interfaces 6-108

PEN*KEY R 6100 Computer Programmer’s Reference Guide

SECTION 6