Microsoft Developer Network
▶
Highlights
▶
Technical Articles
▶
Sample Code
▶
Resource and Strategy
▶
Knowledge Base and Bug Lists
▼
Books and Magazine Articles
▶
Programming Windows 3.0 (Petzold)
▼
Advanced MS-DOS Programming
Title Page
▶
Introduction
▶
PART 1 PROGRAMMING FOR MS-DOS
▶
PART 2 MS-DOS FUNCTIONS REFERENCE
▼
PART 3 IBM ROM BIOS AND MOUSE FUNCTIONS REFERENCE
PART 3 IBM ROM BIOS AND MOUSE FUNCTIONS REFERENCE
Notes to the Reader
Summary of ROM BIOS and Mouse Function Calls
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 00H Set video mode
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 01H Set cursor type
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 02H Set cursor position
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 03H Get cursor position
Int 10H [CGA] [PCjr] [EGA] Function 04H Get light pen position
Int 10H [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 05H Set display page
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 06H Initialize or scroll window up
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 07H Initialize or scroll window down
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 08H Read character and attribute at cursor
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 09H Write character and attribute at cursor
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0AH (10) Write character at cursor
Int 10H [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0BH (11) Set palette, background, or border
Int 10H [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0CH (12) Write graphics pixel
Int 10H [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0DH (13) Read graphics pixel
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0EH (14) Write character in teletype mode
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0FH (15) Get video mode
Int 10H [PCjr] [EGA] [MCGA] [VGA] Function 10H (16) Subfunction 00H Set palette register
Int 10H [PCjr] [EGA] [VGA] Function 10H (16) Subfunction 01H Set border color
Int 10H [PCjr] [EGA] [VGA] Function 10H (16) Subfunction 02H Set palette and border
Int 10H [PCjr] [EGA] [MCGA] [VGA] Function 10H (16) Subfunction 03H Toggle blink/intensity bit
Int 10H [VGA] Function 10H (16) Subfunction 07H Get palette register
Int 10H [VGA] Function 10H (16) Subfunction 08H Get border color
Int 10H [VGA] Function 10H (16) Subfunction 09H Get palette and border
Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 10H (16) Set color register
Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 12H (18) Set block of color registers
Int 10H [VGA] Function 10H (16) Subfunction 13H (19) Set color page state
Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 15H (21) Get color register
Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 17H (23) Get block of color registers
Int 10H [VGA] Function 10H (16) Subfunction 1AH (26) Get color page state
Int 10H [MCGA] [VGA] Function 10H (16) Subfunction 1BH (27) Set gray-scale values
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunctions 00H and 10H (16) Load user font
Int 10H [EGA] [VGA] Function 11H (17) Subfunctions 01H and 11H (17) Load ROM 8-by-14 font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunctions 02H and 12H (18) Load ROM 8-by-8 font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 03H Set block specifier
Int 10H [MCGA] [VGA] Function 11H (17) Subfunctions 04H and 14H (20) Load ROM 8-by-16 font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 20H (32) Set Int 1FH font pointer
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 21H (33) Set Int 43H for user's font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 22H (34) Set Int 43H for ROM 8-by-14 font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 23H (35) Set Int 43H for ROM 8-by-8 font
Int 10H [MCGA] [VGA] Function 11H (17) Subfunction 24H (36) Set Int 43H for ROM 8-by-16 font
Int 10H [EGA] [MCGA] [VGA] Function 11H (17) Subfunction 30H (48) Get font information
Int 10H [EGA] [VGA] Function 12H (18) Subfunction 10H (16) Get configuration information
Int 10H [EGA] [VGA] Function 12H (18) Subfunction 20H (32) Select alternate printscreen
Int 10H [VGA] Function 12H (18) Subfunction 30H (48) Set scan lines
Int 10H [MCGA] [VGA] Function 12H (18) Subfunction 31H (49) Enable/disable default palette loading
Int 10H [MCGA] [VGA] Function 12H (18) Subfunction 32H (50) Enable/disable video
Int 10H [MCGA] [VGA] Function 12H (18) Subfunction 33H (51) Enable/disable gray-scale summing
Int 10H [VGA] Function 12H (18) Subfunction 34H (52) Enable/disable cursor emulation
Int 10H [MCGA] [VGA] Function 12H (18) Subfunction 35H (53) Switch active display
Int 10H [VGA] Function 12H (18) Subfunction 36H (54) Enable/disable screen refresh
Int 10H [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 13H (19) Write string in
Int 10H [PS/2] Function 1AH (26) Get or set display combination code
Int 10H [PS/2] Function 1BH (27) Get functionality/state information
Int 10H [PS/2] Function 1CH (28) Save or restore video state
Int 11H [PC] [AT] [PS/2] Get equipment configuration
Int 12H [PC] [AT] [PS/2] Get conventional memory size
Int 13H [PC] [AT] [PS/2] Function 00H Reset disk system
Int 13H [PC] [AT] [PS/2] Function 01H Get disk system status
Int 13H [PC] [AT] [PS/2] Function 02H Read sector
Int 13H [PC] [AT] [PS/2] Function 03H Write sector
Int 13H [PC] [AT] [PS/2] Function 04H Verify sector
Int 13H [PC] [AT] [PS/2] Function 05H Format track
Int 13H [PC] Function 06H Format bad track
Int 13H [PC] Function 07H Format drive
Int 13H [PC] [AT] [PS/2] Function 08H Get drive parameters
Int 13H [PC] [AT] [PS/2] Function 09H Initialize fixed disk characteristics
Int 13H [PC] [AT] [PS/2] Function 0AH (10) Read sector long
Int 13H [PC] [AT] [PS/2] Function 0BH (11) Write sector long
Int 13H [PC] [AT] [PS/2] Function 0CH (12) Seek
Int 13H [PC] [AT] [PS/2] Function 0DH (13) Reset fixed disk system
Int 13H [PC] Function 0EH (14) Read sector buffer
Int 13H [PC] Function 0FH (15) Write sector buffer
Int 13H [PC] [AT] [PS/2] Function 10H (16) Get drive status
Int 13H [PC] [AT] [PS/2] Function 11H (17) Recalibrate drive
Int 13H [PC] Function 12H (18) Controller RAM diagnostic
Int 13H [PC] Function 13H (19) Controller drive diagnostic
Int 13H [PC] [AT] [PS/2] Function 14H (20) Controller internal diagnostic
Int 13H [AT] [PS/2] Function 15H (21) Get disk type
Int 13H [AT] [PS/2] Function 16H (22) Get disk change status
Int 13H [AT] [PS/2] Function 17H (23) Set disk type
Int 13H [AT] [PS/2] Function 18H (24) Set media type for format
Int 13H [PS/2] Function 19H (25) Park heads
Int 13H [PS/2] Function 1AH (26) Format ESDI drive
Int 14H [PC] [AT] [PS/2] Function 00H Initialize communications port
Int 14H [PC] [AT] [PS/2] Function 01H Write character to communications port
Int 14H [PC] [AT] [PS/2] Function 02H Read character from communications port
Int 14H [PC] [AT] [PS/2] Function 03H Get communications port status
Int 14H [PS/2] Function 04H Extended initialize communications port
Int 14H [PS/2] Function 05H Extended communications port control
Int 15H [PC] Function 00H Turn on cassette motor
Int 15H [PC] Function 01H Turn off cassette motor
Int 15H [PC] Function 02H Read cassette
Int 15H [PC] Function 03H Write cassette
Int 15H [PS/2] Function 0FH (15) Format ESDI drive periodic interrupt
Int 15H [PS/2] Function 21H (33) Subfunction 00H Read POST error log
Int 15H [PS/2] Function 21H (33) Subfunction 01H Write POST error log
Int 15H [PS/2] Function 4FH (79) Keyboard intercept
Int 15H [AT] [PS/2] Function 80H (128) Device open
Int 15H [AT] [PS/2] Function 81H (129) Device close
Int 15H [AT] [PS/2] Function 82H (130) Process termination
Int 15H [AT] [PS/2] Function 83H (131) Event wait
Int 15H [AT] [PS/2] Function 84H (132) Read joystick
Int 15H [AT] [PS/2] Function 85H (133) SysReq key
Int 15H [AT] [PS/2] Function 86H (134) Delay
Int 15H [AT] [PS/2] Function 87H (135) Move extended memory block
Int 15H [AT] [PS/2] Function 88H (136) Get extended memory size
Int 15H [AT] [PS/2] Function 89H (137) Enter protected mode
Int 15H [AT] [PS/2] Function 90H (144) Device wait
Int 15H [AT] [PS/2] Function 91H (145) Device post
Int 15H [AT] [PS/2] Function COH (192) Get system environment
Int 15H [PS/2] Function C1H (193) Get address of extended BIOS data area
Int 15H [PS/2] Function C2H (194) Subfunction 00H Enable/disable pointing device
Int 15H [PS/2] Function C2H (194) Subfunction 01H Reset pointing device
Int 15H [PS/2] Function C2H (194) Subfunction 02H Set sample rate
Int 15H [PS/2] Function C2H (194) Subfunction 03H Set resolution
Int 15H [PS/2] Function C2H (194) Subfunction 04H Get pointing device type
Int 15H [PS/2] Function C2H (194) Subfunction 05H Initialize pointing device interface
Int 15H [PS/2] Function C2H (194) Subfunction 06H Set scaling or get status
Int 15H [PS/2] Function C2H (194) Subfunction 07H Set pointing device handler address
Int 15H [PS/2] Function C3H (195) Set watchdog time-out
Int 15H [PS/2] Function C4H (196) Programmable option select
Int 16H [PC] [AT] [PS/2] Function 00H Read character from keyboard
Int 16H [PC] [AT] [PS/2] Function 01H Get keyboard status
Int 16H [PC] [AT] [PS/2] Function 02H Get keyboard flags
Int 16H [PC] [AT] [PS/2] Function 03H Set repeat rate
Int 16H [PC] Function 04H Set keyclick
Int 16H [AT] [PS/2] Function 05H Push character and scan code
Int 16H [AT] [PS/2] Function 10H (16) Read character from enhanced keyboard
Int 16H [AT] [PS/2] Function 11H (17) Get enhanced keyboard status
Int 16H [AT] [PS/2] Function 12H (18) Get enhanced keyboard flags
Int 17H [PC] [AT] [PS/2] Function 00H Write character to printer
Int 17H [PC] [AT] [PS/2] Function 01H Initialize printer port
Int 17H [PC] [AT] [PS/2] Function 02H Get printer status
Int 18H [PC] [AT] [PS/2] ROM BASIC
Int 19H [PC] [AT] [PS/2] Reboot system
Int 1AH [AT] [PS/2] Function 00H Get tick count
Int 1AH [AT] [PS/2] Function 01H Set tick count
Int 1AH [AT] [PS/2] Function 02H Get time
Int 1AH [AT] [PS/2] Function 03H Set time
Int 1AH [AT] [PS/2] Function 04H Get date
Int 1AH [AT] [PS/2] Function 05H Set date
Int 1AH [AT] [PS/2] Function 06H Set alarm
Int 1AH [AT] [PS/2] Function 07H Reset alarm
Int 1AH [PS/2] Function 0AH (10) Get day count
Int 1AH [PS/2] Function 0BH (11) Set day count
Int 1AH [PC] Function 80H (128) Set sound source
Int 33H Microsoft Mouse driver
Int 33H Function 00H Reset mouse and get status
Int 33H Function 01H Show mouse pointer
Int 33H Function 02H Hide mouse pointer
Int 33H Function 03H Get mouse position and button status
Int 33H Function 04H Set mouse pointer position
Int 33H Function 05H Get button press information
Int 33H Function 06H Get button release information
Int 33H Function 07H Set horizontal limits for pointer
Int 33H Function 08H Set vertical limits for pointer
Int 33H Function 09H Set graphics pointer shape
Int 33H Function 0AH (10) Set text pointer type
Int 33H Function 0BH (11) Read mouse motion counters
Int 33H Function 0CH (12) Set user-defined mouse event handler
Int 33H Function 0DH (13) Turn on light pen emulation
Int 33H Function 0EH (14) Turn off light pen emulation
Int 33H Function 0FH (15) Set mickeys to pixels ratio
Int 33H Function 10H (16) Set mouse pointer exclusion area
Int 33H Function 13H (19) Set double speed threshold
Int 33H Function 14H (20) Swap user-defined mouse event handlers
Int 33H Function 15H (21) Get mouse save state buffer size
Int 33H Function 16H (22) Save mouse driver state
Int 33H Function 17H (23) Restore mouse driver state
Int 33H Function 18H (24) Set alternate mouse event handler
Int 33H Function 19H (25) Get address of alternate mouse event handler
Int 33H Function 1AH (26) Set mouse sensitivity
Int 33H Function 1BH (27) Get mouse sensitivity
Int 33H Function 1CH (28) Set mouse interrupt rate
Int 33H Function 1DH (29) Select pointer page
Int 33H Function 1EH (30) Get pointer page
Int 33H Function 1FH (31) Disable mouse driver
Int 33H Function 20H (32) Enable mouse driver
Int 33H Function 21H (33) Reset mouse driver
Int 33H Function 22H (34) Set language for mouse driver messages
Int 33H Function 23H (35) Get language number
Int 33H Function 24H (36) Get mouse information
▶
PART 4 LOTUS/INTEL/MICROSOFT EMS FUNCTIONS REFERENCE
▶
MS-DOS Programmer's Reference
▶
MS Systems Journal
▶
Product Documentation
▶
Unsupported Tools & Utilities