精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>○ DOS>>中断大全>>中断大全之一(Preview)

主题:中断大全之一(Preview)
发信人: kingfox()
整理人: yangcs(1999-12-12 11:47:19), 站内信件
--------!---FLAGS----------------------------
The use of -> instead of = signifies that the indicated register or re
gister
pair contains a pointer to the specified item, rather than the item it
self.
Register pairs (such as AX:BX) indicate that the item is split across 
the
registers, with the high-order half in the first register.

One or more letters may follow the interrupt number; they have the fol
lowing
meanings:  U - undocumented function, u - partially documented functio
n,
P - available only in protected mode, R - available only in real or V8
6 mode,
C - callout or callback (usually hooked rather than called),
O - obsolete (no longer present in current versions)
--------!---CATEGORIES-----------------------
The ninth column of the divider line preceding an entry usually contai
ns a
classification code (the entry has not been classified if that charact
er is
a dash).  The codes currently in use are:
A - applications, a - access software (screen readers, etc),
B - BIOS, b - vendor-specific BIOS extensions,
C - CPU-generated, c - caches/spoolers,
D - DOS kernel, d - disk I/O enhancements,
E - DOS extenders, e - electronic mail, F - FAX,
f - file manipulation, G - debuggers/debugging tools, g - games,
H - hardware, h - vendor-specific hardware,
I - IBM workstation/terminal emulators, i - system info/monitoring,
J - Japanese, j - joke programs,
K - keyboard enhancers, k - file/disk compression,
l - shells/command interpreters,
M - mouse/pointing device, m - memory management,
N - network, n - non-traditional input devices,
O - other operating systems,
P - printer enhancements, p - power management,
Q - DESQview/TopView and Quarterdeck programs,
R - remote control/file access, r - runtime support,
S - serial I/O, s - sound/speech,
T - DOS-based task switchers/multitaskers, t - TSR libraries
U - resident utilities, u - emulators,
V - video, v - virus/antivirus,
W - MS Windows,
X - expansion bus BIOSes, x - non-volatile config storage
y - security, * - reserved (and not otherwise classified)
--------C-00---------------------------------
INT 00 C - CPU-generated - DIVIDE ERROR
Desc: generated if the divisor of a DIV or IDIV instruction is zero or
 the
  quotient overflows the result register; DX and AX will be unchanged
.
Notes: on an 8086/8088, the return address points to the following ins
truction
on an 80286+, the return address points to the divide instruction
an 8086/8088 will generate this interrupt if the result of a division

  is 80h (byte) or 8000h (word)
SeeAlso: INT 04,OPCODE "AAD"
--------G-00---------------------------------
INT 00 - Zenith - ROM DEBUGGER
Desc: invokes the ROM Debugger when at the BIOS level; equivalent to
  pressing Ctrl-Alt-Ins on booting.
Note: since DOS revectors INT 00, it is necessary to restore this vect
or to
  its original ROM BIOS value in order to invoke the debugger once DO
S
  loads
SeeAlso: INT 03"Columbia"
--------C-01---------------------------------
INT 01 C - CPU-generated - SINGLE STEP
Desc: generated after each instruction if TF (trap flag) is set; TF is

  cleared on invoking the single-step interrupt handler
Notes: interrupts are prioritized such that external interrupts are in
voked
  after the INT 01 pushes CS:IP/FLAGS and clears TF, but before the
  first instruction of the handler executes
used by debuggers for single-instruction execution tracing, such as
  MS-DOS DEBUG's T command
SeeAlso: INT 03"CPU"
--------C-01---------------------------------
INT 01 C - CPU-generated (80386+) - DEBUGGING EXCEPTIONS
Desc: generated by the CPU on various occurrences which may be of inte
rest
  to a debugger program
Note: events which may trigger the interrupt:
  Instruction address breakpoint fault - will return to execute inst

  Data address breakpoint trap - will return to following instruction

  General detect fault, debug registers in use
  Task-switch breakpoint trap
  undocumented 386/486 opcode F1h - will return to following instruc

SeeAlso: INT 03"CPU"
--------H-02---------------------------------
INT 02 C - external hardware - NON-MASKABLE INTERRUPT
Desc: generated by the CPU when the input to the NMI pin is asserted
Notes: return address points to start of interrupted instruction on 80
286+
on the 80286+, further NMIs are disabled until the next IRET
  instruction, but one additional NMI is remembered by the hardware
  and will be serviced after the IRET instruction reenables NMIs
maskable interrupts may interrupt the NMI handler if interrupts are
  enabled
although the Intel documentation states that this interrupt is
  typically used for power-failure procedures, it has many other uses

  on IBM-compatible machines:
Memory parity error: all except Jr, CONV, and some machines
  without memory parity
Breakout switch on hardware debuggers
Coprocessor interrupt: all except Jr and CONV
Keyboard interrupt: Jr, CONV
I/O channel check: CONV, PS50+
Disk-controller power-on request: CONV
System suspend: CONV
Real-time clock: CONV
System watch-dog timer, time-out interrupt: PS50+
DMA timer time-out interrupt: PS50+
Low battery: HP 95LX
Module pulled: HP 95LX
--------m-02----SI0714-----------------------
INT 02 U - STB RAPIDMAP.SYS - ???
SI = 0714h
ES:DI -> ???
Return: ???
SeeAlso: INT 67/AX=6100h"STB",PORT 00E1h"STB"
--------C-03---------------------------------
INT 03 C - CPU-generated - BREAKPOINT
Desc: generated by the one-byte breakpoint instruction (opcode CCh)
Notes: used by debuggers to implement breakpoints, such as MS-DOS DEBU
G's G
  command
also used by Turbo Pascal versions 1,2,3 when {$U+} specified
return address points to byte following the breakpoint instruction
called by Novell DOS 7 EMM386 after displaying an exception error
  message (GPF, illegal opcodes, etc.) and before waiting for user
  input
called by QEMM-386 if the user presses 'I' (undocumented) when prompt
ed
  after an exception error message
SeeAlso: INT 01"CPU"
--------G-03---------------------------------
INT 03 - Columbia PCs (desktop,VP portables) - ROM DEBUGGER
Desc: invokes the ROM Debugger if INT 03 has not been revectored; equi
valent
  to pressing Esc on booting.
SeeAlso: INT 00"Zenith",INT 03"Realia"
--------G-03---------------------------------
INT 03 - Realia COBOL - DEBUGGER SUPPORT
Note: Realia COBOL checks for a signature eight bytes prior to the int
errupt
  handler when it starts up
BUG: if the offset of the INT 03 vector is less than 8, the compiler a
nd
  all executables generated by it will crash the system
SeeAlso: INT 03"Columbia"
--------G-03---------------------------------
INT 03 U - Watcom WVIDEO, Watcom WD - OUTPUT DEBUGGING MESSAGE
STACK: DWORD selector
DWORD offset of ASCIZ message to display
Notes: the INT 03h instruction which invokes the debugger must be foll
owed by
  a JMP SHORT and the signature string "WVIDEO"
to check whether this interface is available, define a public byte
  variable named ___WD_Present, which the debugger will set to 01h
  before running the program
SeeAlso: AX=0910h
--------U-03---------------------------------
INT 03 - DTown Utilities - POP UP
Program: DTown Software Development's DTown Utilities contains various
 tools
  which are useful to programmers, such as a memory viewer and
  disassembler
Note: DTU pops up on INT 03 (if not hooked by a debugger) to allow the

  user to inspect memory or code when the machine crashes; various
  memory managers will invoke INT 03 when displaying a CPU exception

  error message (either automatically or when the user presses a
  particular key)
SeeAlso: INT 2D/AL=20h"DTown"
--------G-030000-----------------------------
INT 03 - Soft-ICE - BACK DOOR COMMANDS - GET Soft-ICE VERSION
AX = 0000h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: SI = BCD version (0280h = v2.80)
SeeAlso: INT 03/AX=0910h
--------G-0301-------------------------------
INT 03 - Soft-ICE - BACK DOOR COMMANDS - ???
AH = 01h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: ???
SeeAlso: AX=0000h,AX=090Bh,INT 03/AH=10h
--------G-030900-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 0900h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: AX=0000h,AH=01h,AX=0902h,AX=0914h
--------G-030902-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - POPUP & START A DEBUG S
ESSION
AX = 0902h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> initial register values (see #00001)
Return: registers as specified in initial register values table
Note: This function is called by LDR.EXE in loading a program to
  be debugged. After executing the function, Soft-ICE pops up its
  debugging window and you may start debugging your program.
Return: ???
SeeAlso: AX=0000h,AX=090Ah,AX=0910h,AX=0914h

Format of Soft-ICE initial register values:
Offset Size Description (Table 00001)
 00h WORD initial value of SP
 02h WORD initial value of SS
 04h WORD initial value of IP
 06h WORD initial value of CS
 08h WORD initial value of DS and ES
 0Ah WORD ???
 0Ch WORD ???
 0Eh WORD ???
 10h WORD initial value of AX
 12h WORD ??? (defaults to 000AH ???)
 14h WORD ??? (defaults to 0001H ???)
 16h WORD ??? (defaults to 0100H ???)
--------G-030903-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 0903h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: AX=0000h,AX=0902h,AX=0907h,AX=0914h
--------G-030907-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 0907h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: AX=0000h,AX=0903h,AX=090Ah,AX=0914h
--------G-03090A-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 090Ah
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: AX=0000h,AX=0907h,AX=090Bh,AX=0914h
--------G-03090B-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 090Bh
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: AX=0000h,AX=090Ah,AX=0910h,AX=0914h
--------G-030910-----------------------------
INT 03 - Soft-ICE - BACK DOOR COMMANDS - DISPLAY STRING IN Soft-ICE WI
NDOW
AX = 0910h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:DX -> ASCIZ string to display (max 100 bytes, 0Dh OK)
Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
SeeAlso: INT 03"WVIDEO"
--------G-030911-----------------------------
INT 03 - Soft-ICE - BACK DOOR COMMANDS - EXECUTE Soft-ICE COMMAND
AX = 0911h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:DX -> ASCIZ command string (max 100 bytes, 0Dh OK)
Return: nothing
SeeAlso: AX=0912h,AX=0913h
--------G-030912-----------------------------
INT 03 - Soft-ICE - BACK DOOR COMMANDS - GET BREAKPOINT INFORMATION
AX = 0912h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: BH = entry number of last breakpoint set
BL = type of last breakpoint set (see #00002)
DH = entry number of last breakpoint to be triggered
DL = type of last triggered breakpoint (see #00002)
Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
SeeAlso: AX=0911h,AX=0913h,AX=0914h

(Table 00002)
Values for Soft-ICE breakpoint type:
 00h BPM (breakpoint register types)
 01h I/O
 02h INTerrupt
 03h BPX (INT 03-style breakpoint)
 04h reserved
 05h range
--------G-030913-----------------------------
INT 03 - Soft-ICE v2.5x - BACK DOOR COMMANDS - SET Soft-ICE BREAKPOINT

AX = 0913h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:DX -> breakpoint structure (see #00003)
Return: AX = status
    00h successful
BX = breakpoint number
    03h breakpoint table full
    06h memory limit error
    07h I/O limit error
    09h range limit error
    16h duplicate breakpoint
SeeAlso: AX=0911h,AX=0912h,AX=0914h

Format of Soft-ICE breakpoint structure:
Offset Size Description (Table 00003)
 00h BYTE breakpoint type (see #00004)
 01h DWORD breakpoint address 1
(lower range limit for memory BPs,
interrupt number for interrupt BPs,
address of BP for execution BPs,
I/O address (only word) for I/O BPs)
 05h DWORD breakpoint address 2
(upper range limit for memory BPs,
optional value to check for for interrupt BPs,
overlay number (0 = root) for execution BPs)
 09h DWORD breakpoint address 3
 0Dh BYTE breakpoint mode 1 (see #00005)
(for interrupt BPs = register to check
    00h  no value checking
    01h  check AL
    02h  check AH
    03h  check AX)
 0Eh BYTE breakpoint mode 2 (see #00005)
 0Fh BYTE breakpoint size (00h byte, 01h word, 03h dword)
 10h BYTE breakpoint pass count before program stop
 11h BYTE breakpoint state
Note: all unused fields should contain zeros

(Table 00004)
Values for Soft-ICE breakpoint type:
 00h memory location
 01h memory range
 03h I/O
 04h interrupt
 05h execution break

(Table 00005)
Values for Soft-ICE breakpoint mode:
 01h read
 02h write
 04h execution
--------G-030914-----------------------------
INT 03 - Soft-ICE v2.5x - BACK DOOR COMMANDS - REMOVE Soft-ICE BREAKPO
INT
AX = 0914h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
BX = breakpoint number (returned by AX=0913h)
Return: BX = ???
Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
SeeAlso: AX=0912h,AX=0913h
--------G-030918-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 0918h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
DS:BX -> ???
CX = ???
DX = ???
Return: ???
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AX=0914h,INT 03/AH=10h

--------G-0310-------------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AH = 10h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: ???
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AH=01h,INT 03/AH=11h
--------G-0311-------------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AH = 11h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: none???
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AH=10h,INT 03/AX=130Ch

--------G-03130C-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 130Ch
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
BX = ???
CX = ???
DX = ???
Return: AX = ??? (1300h)
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AH=11h,INT 03/AX=130Eh

--------G-03130E-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 130Eh
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
BX = ???
CX = ???
DX = ???
Return: AX = ??? (1300h)
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AX=130Ch,INT 03/AX=131
3h
--------G-031313-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 1313h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
BX = ???
CX = ???
DX = ???
Return: AX = ??? (1300h)
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AX=130Eh
--------G-030900-----------------------------
INT 03 - Soft-ICE v2.80 - BACK DOOR COMMANDS - ???
AX = 0900h
SI = magic value 4647h ('FG')
DI = magic value 4A4Dh ('JM')
Return: none???
SeeAlso: INT 03/AX=0000h,INT 03/AX=0910h,INT 03/AH=10h,INT 03/AH=12h

--
------------------------------------------------------------
有缘则聚,缘尽则散,随缘而定,随遇而安。
------------------------------------------------------------
欢迎光临“电子工程师园地”http://kingfox.163.net

※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.101.20.166]

[关闭][返回]