Friday, August 6, 2010

BIOS interrupt Encyclopaedia (2) uggs for cheap

(13), functional 0CH

Features: Search

entry parameters: AH = 0CH

CH = low 8 bits of cylinder

CL ( 7-6 bit) = cylinders of high-2

DH = head

DL = 80H ~ 0FFH: Hard

export parameters: CF = 0 - successful operation , AH = 00H, otherwise, AH = status code, see the instructions in the function of No. 01H

(14), function 0DH

Features: Hard system reset

entrance Parameter: AH = 0DH

DL = 80H ~ 0FFH: Hard

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code, see function No. 01H described in

(15), function 0EH

Function Description: Read sector buffer

entry parameters: AH = 0EH

ES: BX = buffer address

export parameters: CF = 0 - successful operation, otherwise, AH = status code,uggs for cheap, see the instructions in the function of No. 01H

(16), function 0FH

Function Description: Write sector buffer

entry parameters: AH = 0FH

ES: BX = buffer address

export parameters: CF = 0 - operation is successful, otherwise, AH = status code, see the instructions in the function of No. 01H

(17), function 10H

Function Description: Read drive status

entry parameters: AH = 10H

DL = 80H ~ 0FFH: Hard

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code, see the feature number 01H described in

(18), function 11H

Features: Calibration parameters of the drive

entry: AH = 11H

DL = 80H ~ 0FFH : Hard

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code, see the instructions in the function of No. 01H

(19), function 12H < br>
Features: Controller RAM diagnostic

entry parameters: AH = 12H

export parameters: CF = 0 - successful operation, otherwise, AH = status code, see function No. 01H described in

(20), function 13H

Features: controller drive diagnostic

entry parameters: AH = 13H

export parameters : CF = 0 - successful operation, otherwise, AH = status code, see the instructions in the function of No. 01H

(21), function 14H

Features: Controller internal diagnostic

entry parameters: AH = 14H

export parameters: CF = 0 - successful operation, otherwise, AH = status code, see the instructions in the function of No. 01H

(22) , function 15H

Function Description: Read the disk type

entry parameters: AH = 15H

DL = drive, 00H ~ 7FH: floppy; 80H ~ 0FFH: Hard < br>
export parameters: CF = 1 - operation failed, AH = status code, see the features described in No. 01H, otherwise, AH = 00H - no installation drive

= 01H - no change in line support the floppy drive

= 02H - change the line with support for floppy disk drive

= 03H - hard, CX: DX = 512-byte sector number

( 23), function 16H

Function Description: Read the disk change state

entry parameters: AH = 16H

DL = 00H ~ 7FH: Floppy

Export parameters: CF = 0 - the disk does not change, AH = 00H,cheap uggs, otherwise, AH = 06H, see the features described in No. 01H

(24), function 17H

Function Description: set the disk type

entry parameters: AH = 17H

DL = 00H ~ 7FH: Floppy AL = 00H - unused

= 01H - 360K in 360K drive

= 02H - 360K in 1.2M drive

= 03H - 1.2M in 1.2M drive

= 04H - 720K in 720K drive

exports Parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code, see the instructions in the function No. 01H

(25), function 18H

Function Description: Set

entry format media type parameters: AH = 18H

CH = cylinder number

CL = number of sectors per track

DL = 00H ~ 7FH: floppy

export parameters: CF = 0 - Operation successful, AH = 00H, ES: DI = media type parameter list address, otherwise, AH = status code, see the features described in No. 01H < br>
(26), function 19H

Function Description: head protection, only in the PS / 2 effectively in this omitted

(27), function 1AH

Function Description: Format ESDI drive, only PS / 2 effectively in this omitted

3, serial port service (Serial Port Service - INT 14H)

00H - initialize the communication port 03H - read the communication port state

01H - output character to the communication port 04H - initialize the communication port expansion

02H - read characters from the communication port < br>
(1), Function 00H

Features: initialize communications port parameters

entry: AH = 00H

DX = initialize communication slogan (0 = COM1, 1 = COM2, ... ...)

AL = initializing parameters, parameters as follows: baud rate parity bits stop bit word

76543210

000 = 110X0 = None0 = 1 bit10 = 7 bits

001 = 15001 = Odd1 = 2 bits11 = 8 bits

010 = 30011 = Even

011 = 600

100 = 1200

101 = 2400

110 = 4800

111 = 9600

for PS / 2, available INT 14H functions 04H and 05H to initialize its communication speed is greater than 9600.

export parameters: AH = communication port status, the status bit is 1, the following meanings: bit 7 - bit out

6 - Transfer shift register empty

bit 5 - transfer to maintain registers empty

bit 4 - found terminate bit 3 - find frame error

bit 2 - Parity error found

bit 1 - found in cross-border fault

bit 0 - Data is ready to accept

AL = Modem status

bit 7 - to accept one-way signal diagnosis

bit 6 - Ring Indicator

bit 5 - Data Send Ready

bit 4 - clear the data, then send bit 3 - to change the signal in the receiving line diagnostic

bit 2 - after the boundary ring indicator

bit 1 - change the \Features: Output character to the communication port parameters

entry: AH = 01H

AL = character

DX = initialize communication slogan (0 = COM1, 1 = COM2 , ... ...)

export parameters: AL the value of the constant

AH bit 7 = 0 - successful operation, communication port state, AH bit 6 ~ 0 is the status bits < br>
(3), function 02H

Features: read character from the communication port parameters

entry: AH = 02H

DX = initialize communication slogan (0 = COM1, 1 = COM2, ... ...)

export parameters: AL = received character

AH bit 7 = 0 - successful operation,ugg boots store, communication port state, AH's Bit 6 ~ 0 is the status bits

(4), function 03H

Function Description: Read communication port state

entry parameters: AH = 03H
< br> DX = initialize communication slogan (0 = COM1, 1 = COM2, ... ...)

export parameters: AH = communication port status, AL = Modem status, see the features described in No. 00H

(5), function 04H

Features: Expansion initialize communications port, only in the PS / 2 effectively in this omitted

4, Miscellaneous System Services ( Miscellaneous System Service - INT 15H)

00H - open cassette tape drive motor 85H - System request (SysReq) key

01H - off cassette tape drive motor 86H - delay

02H - Reading cassette tape machine 87H - Move extended memory block

03H - Write a cassette tape machine 88H - read the extended memory size

0FH - Format ESDI drive periodic interrupt 89H - into protected mode

21H - read / write self test (POST) Error Record 90H - Equipment wait

4FH - keyboard intercept 91H - Device Power On Self Test

80H - Equipment Open C0H - read system environment

81H - Equipment Close C1H - Read Extended BIOS Data Area address

82H - the process terminates C2H - mouse graphics

83H - Event Wait C3H - set WatcHdog out

84H - Reading Joystick C4H - Programmable option select

(1), Function 00H

Features: open cassette tape drive motor

entry parameters: AH = 00H

export parameters: CF = 0 - successful operation, otherwise, AH = status (86H, If you do not install the cassette tape drive)

(2), function 01H

Features: off cassette tape motor

entry parameters: AH = 01H

export parameters: CF = 0 - Operation successful, otherwise, AH = status (86H, If you do not install the cassette tape drive)

(3), function 02H

Features: Reading cassette tape drive

entry parameters: AH = 02H

CX = number of bytes read

ES: BX = store data buffer address

export parameters: CF = 0 - Operation successful, DX = actual number of bytes read, ES: BX point to the back of the last byte address, otherwise, AH = status code, meaning its value is as follows: 01H

- CRC checksum error 80H - Illegal command

02H - digital signal confusion 86H - not installed cassette tape drive

04H - no discovery data

( 4), function 03H

Features: write cassette tape

entry parameters: AH = 03H

CX = number of bytes to write
< br> ES: BX = Saved data buffer address

export parameters: CF = 0 - Operation successful, CX = 00H, ES: BX point to the back of the last byte address, otherwise, AH = status code, meaning its value is as follows: 80H -

illegal command 86H - not installed cassette tape drive

(5), functional 0FH

Function Description: Format periodic interruptions of ESDI drive, only PS / 2 effectively in this omitted

(6), function 21H

Features: Read / write self test (POST) error record only in the PS / 2 effectively in this omitted

(7), functional 4FH

Features: Keyboard intercept, only PS / 2 effectively in this omitted < br>
(8), function 80H

Features: Open the device

entry parameters: AH = 80H

BX = device number

CX = process ID

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code

(9), function 81H

function Description: Turn off equipment

entry parameters: AH = 81H

BX = device No.

CX = process ID

export parameters: CF = 0 - operation is successful, AH = 00H, otherwise, AH = status code

(10), function 82H

Function Description: Process termination

entry parameters: AH = 81H

BX = process ID

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code

(11), function 83H

Function Description: Event wait

entry parameters: AH = 83H If you need to wait for the event, then: AL = 00H

CX: DX = 1000 Minutes

ES : BX = address of byte semaphore

Otherwise, the call parameters for the AL = 01H

export parameters: If called, AL = 00H, operation is successful - CF = 0, otherwise CF = 1

(12), function 84H

Function Description: Read Joystick

entry parameters: AH = 84H

DX = 00H - Read switch settings

= 01H - read the resistance of input

export parameters: CF = 1H - operation failed, otherwise,

DX = 00H when, AL = switch settings (bit 7 ~ 4)

DX = 01H when, AX, BX, CX and DX, respectively A (x), A (y), B (x) and B (y) the value of < br>
(13), function 85H

Function Description: The system request (SysReq) key

entry parameters: AH = 85H

AL = 00H - key Press

= 01H - key release

export parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code

(14 ), function 86H

Features: Delayed

entry parameters: AH = 86H

CX: DX = 1000 Minutes

export parameters: CF = 0 - Operation successful, AH = 00H

(15), function 87H

Function Description: From the conventional memory and extended memory extended memory block to move between entry parameters

: AH = 87H

CX = number of words moved

ES: SI = GDT (Global Descriptor Table) address, its structure is defined as follows: offset information stored

00h-0Fh reserved, but now all is 0

10h-11h segment length (2CX-1 or greater)

12h-14h24-bit source address

15h access byte (a value of 93h)

16h-17h reserved, but now all is 0

18h-19h segment length (2CX-1 or greater)
< br> 1Ah-1Ch 24 bit object and the source address

1Dh access bytes (a value of 93h)

1Eh-2Fh reservations, but now all is 0

exports Parameters: CF = 0 - Operation successful, AH = 00H, otherwise, AH = status code, its meaning is as follows:

01H - RAM parity error

02H - aborts wrong < br>
03H - 20 gate address line failure

(16),ugg boots store, function 88H

Function Description: Read extended memory size

entry parameters: AH = 88H

export parameters: AX = number of bytes of extended memory (in K units)

(17), function 89H

Features: access to protected mode, CPU from real mode into protected mode

entry parameters: AH = 89H

BH = IRQ0 interrupt No.

BL = IRQ8 interrupt No.

ES: SI = GDT's address (see the function of No. 87H)

export parameters: CF = 1 - operation failed, AH = 0FFH, otherwise, AH = 00H, CS, DS, ES and SS are user-defined options device

(18), function 90H

Function Description: Equipment wait

entry parameters: AH = 90H AL = drive type, drive type concrete is defined as follows:

= 00H ~ 7FH - and then reuse the equipment serial

= 80H ~ 0BFH - reentrant devices

= 0C0H ~ 0FFH - waiting for access to equipment, not self- check function

00h - disk

02h - Keyboard

80h - network

FDh - floppy disk motor start 01h - Floppy

03h - Point Equipment (Pointing Device)

FCh - Hard Reset

FEh - printer

ES: BX = on the drive type 80H ~ 0FFH request block address
< br> Output Parameters: CF = 1 - operation failed, otherwise, AH = 00H

(19), function 91H

Features: Power On Self Test Equipment

entry parameters: AH = 91H

AL = 00H ~ 7FH - Serial longer reuse equipment

= 80H ~ 0BFH - reentrant devices

export parameters: AH = 00H

(20), function 0C0H

Function Description: Read the system environment

entry parameters: AH = 0C0H

export parameters: ES : BX = configuration table address, configure the table are defined as follows: explain the meaning of the offset

00h-01h table size (bytes)

02h model

03h system sub-model

04hBIOS version

05h configuration flag, which is 1 when you stated the following:

bit 7-DMA channel 3 used

bit 6 - there is a subordinate 8259

bit 5 - real-time clock and effective

bit 4 - Keyboard interception effective

bit 3 - wait for external events, effective

bit 2 - extended BIOS data area

bit 1 - micro-channel facilities

bit 0 - reserved

06h-09h reserved

(21), function C1H

Function Description: Read Extended BIOS Data Area address, only PS / 2 effectively in this omitted

(22), function C2H

function Description: Mouse graphics, only the PS / 2 effectively in this omitted

(23), function C3H

Function Description: Set WatcHdog out, only in PS / 2 in the effective In this omitted

(24), functional C4H

Features: programmable option selection, only the PS / 2 effectively in this omitted

5, the keyboard service (Keyboard Service - INT 16H)

00H, 10H - from the keyboard characters 03H - set the repeat rate

01H, 11H - read keyboard status 04H - set the keyboard Click

02H,ugg adirondack tall, 12H - read keyboard symbol 05H - character and scan code into the stack

(1),chi flat irons, Function 00H and 10H

Features: from the keyboard entrance into the character

parameters: AH = 00H - Reading keyboard

= 10H - Reading extended keyboard, can determine the contents of cell 0000:0496 H: extended keyboard is valid
< br> Export parameters: AH = keyboard scan code

AL = ASCII character code

(2), function 01H and 11H

Function Description: Read keyboard status

entry parameters: AH = 01H - Check ordinary keyboard

= 11H - check extended keyboard

export parameters: ZF = 1 - no character input, otherwise, AH = keyboard scan code, AL = ASCII code.

(3),ugg australia sale, function 02H and 12H

Function Description: Read keyboard symbol

entry parameters: AH = 02H - Common keyboard shift flags

= 12H - extended keyboard shift flags

export parameters: AL = keyboard symbol (02H and 12H are valid), the Members of the meaning of a value of 1 is as follows: bit 7-INS opened Status bit 3-ALT key is pressed

bit 6-CAPS LOCK-opened state-bit 2-CTRL key pressed

open spaces 5-NUM LOCK state bit 1 - Left SHIFT key is pressed < br>
-bit 4-SCROLL LOCK open status bits 0 - Right SHIFT key is pressed

AH = extended keyboard symbol (12H effective), the Members of the meaning of a value of 1 is as follows:

bit 7-SysReq key pressed bit 3 - the right ALT key is pressed

bit 6-CAPS LOCK key is pressed, bit 2 - the right CTRL key is pressed

bit 5-NUM LOCK key pressed bit 1 - the left ALT key is pressed

bit 4-SCROLL key is pressed, bit 0 - the left CTRL key is pressed

(4), function 03H

Function Description : Set the repeat rate

entry parameters: AH = 03H for PC / AT and PS / 2: AL = 05H

BH = repeat delay

BL = repeat rate

for the PCjr: AL = 00H - into the default rate and delay

= 01H - increase the initial delay

= 02H - repetition rate cut in half

= 03H - increased delays and lower half of the repetition frequency

= 04H - turn off keyboard repeat function

export parameters: None

(5), functional 04H

Function Description: Set the keyboard click

entry parameters: AH = 04H AL = 00H - turn off keyboard click function

= 01H - Click to open the keyboard function

Output Parameters: None

(6), function 05H

Features: scan code characters and their entry into the stack

parameters: AH = 05H

CH = character description code

CL = ASCII character code

export parameters: CF = 1 - operation is successful, AL = 00H, otherwise, AL = 01H

6, parallel port services (Parallel Port Service - INT 17H)

00H - to printer output character

01H - initialize the printer port

02H - read the printer status

(1), Function 00H

Function Description: to the printer output character

entry parameters: AH = 00H

AL = Output character

DX = printer number (0-LPT1 ,1-LPT2 ,2-LPT3, ... ...)

export parameters: AH = printer status. Its Members to 1, the following meanings: bit 7 - printer spare bit 3-I / O error

bit 6 - the printer to respond to bit 2 - reserved

bit 5 - no paper bit 1 - reservations

bit 4 - printer selected bit 0 - printer timeout

(2), function 01H

Function Description: Initialize the printer port

import parameters: AH = 01H

DX = printer number (0-LPT1 ,1-LPT2 ,2-LPT3, ... ...)

export parameters: AH = printer status. You define the following functions 00H shown

(3), function 02H

Features: reading printer status

entry parameters: AH = 02H

DX = printer number (0-LPT1 ,1-LPT2 ,2-LPT3, ... ...)

export parameters: AH = printer status. You define the following functions 00H shown

7, the clock service (Clock Service - INT 1AH)

00H - read the clock \01H - set the clock \04H - read date 80H - set the sound source information

05H - set the date

(1), Function 00H

Function Description: Read clock \br>
entry parameters: AH = 00H

export parameters: AL = 00H - not over night, otherwise, that has passed midnight

CX: DX = clock \

(2), function 01H

Function Description: Set the clock \\

export parameters: CH = BCD code format of the hour

CL = BCD code format of the minutes

DH = BCD code format of the second

DL = 00H - standard time, or, daylight saving time

CF = 0 - clock in the walk, otherwise, the clock stopped

(4), function 03H

Function Description: set the time

entry parameters: AH = 03H

CH = BCD code format of the hour

CL = BCD code format of the minutes

DH = BCD code format of the second

DL = 00H - standard time, or, daylight saving time

export parameters: None

(5), function 04H

function Description: Read Date

entry parameters: AH = 04H

export parameters: CH = BCD code format of the century

CL = BCD code format in
< br> DH = BCD code format of the month

DL = BCD code format on

CF = 0 - clock in the walk, otherwise, the clock stopped

(6) , function 05H

Function Description: Set the date

entry parameters: AH = 05H

CH = BCD code format of the century

CL = BCD code format annual

DH = BCD code format on

DL = BCD code format on

export parameters: None

(7), function 06H

Function Description: Set the alarm clock

entry parameters: AH = 06H

CH = BCD code format of the hour

CL = BCD code format of the minutes of < br>
DH = BCD code format of the second

export parameters: CF = 0 - successful operation, otherwise, alarm clock has been set or clock stopped

(8), Function 07H

Features: Alarm reset

entry parameters: AH = 07H

export parameters: None

(9), function 0AH

Function Description: Read the number of days counted, only PS / 2 and effective, in this omitted

(10), function 0BH

Function Description: Set the number of days counted only in the PS / 2 effective, in this omitted

(11), function 80H

Function Description: Set the sound source information

entry parameters: AH = 80H

AL = sound source

= 00H - 8253 programmable timer, channel 2

= 01H - cassette tape input

= 02H - I / O channels The \> INT 00H - \>
INT 04H - Arithmetic overflow error

INT 05H - Print Screen and BOUND cross-border

INT 06H - Illegal Instruction error

INT 07H - Processor Extension invalid < br>
INT 08H - clock interrupt

INT 09H - keyboard input

INT 0BH - communication port (COM2:)

INT 0CH - communication port (COM1: )

INT 0EH - the disk drive input / output

INT 11H - read the device configuration

INT 12H - read conventional memory size (return value of AX to memory capacity, to K as the unit)

INT 18H-ROM BASIC

INT 19H - reboot the system

INT 1BH-CTRL + BREAK handler

INT 1CH - Users clock service

INT 1DH - point to display parameter table pointer

INT 1EH - point to the disk drive parameter table pointer

INT 1FH - graphics character mode table pointer to point < PIXTEL_MMI_EBOOK_2005> 6


相关的主题文章:

No comments:

Post a Comment