-
Notifications
You must be signed in to change notification settings - Fork 0
/
debuger.inc
72 lines (62 loc) · 2.21 KB
/
debuger.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
; D386_Load_Segment type equates:
ST_code_sel equ 0
ST_data_sel equ 1
ST_code_seg equ 10h
ST_data_seg equ 11h
ST_dual_code equ 40h
ST_dual_data equ 41h
; D386_Load_Segment device load parameters structure
D386_Device_Params STRUC
DD_logical_seg dw ?
DD_actual_sel dw ?
DD_base dd ?
DD_length dd ?
DD_name df ?
DD_sym_name df ?
DD_alias_sel dw ?
D386_Device_Params ENDS
Debug_Serv_Int equ 41h
DS_Out_Char equ 0
DS_In_Char equ 1
DS_Out_Str equ 2
DS_Is_Char equ 3
DS_Out_Str16 equ 12h
DS_ForcedGO16 equ 40h
DS_IsAutoLoadSym equ 48h
DS_DebLoaded equ 4Fh
DS_DebPresent equ 0F386h
DS_LoadSeg equ 50h
DS_LoadSeg_32 equ 0150h
DS_MoveSeg equ 51h
DS_FreeSeg equ 52h
DS_FreeSeg_32 equ 0152h
DS_DLL equ 58h
DS_StartTask equ 59h
DS_ReleaseSeg equ 5ch
DS_User_Vars equ 5dh
DS_POSTLOAD = 60h
DS_EXITCALL = 62h
DS_LOADDLL = 64h ;
DS_DELMODULE = 65h
DS_CondBP equ 0F001h
DS_ForcedBP equ 0F002h
DS_ForcedGO equ 0F003h
;410000 INT 41 CPU - MS Windows debugging kernel - OUTPUT CHARACTER FOR USER
;410001 INT 41 CPU - MS Windows debugging kernel - INPUT CHARACTER
;41000D INT 41 CPU - MS Windows debugging kernel - TASK GOING OUT
;41000E INT 41 CPU - MS Windows debugging kernel - TASK COMING IN
;410012 INT 41 CPU - MS Windows debugging kernel - "OutputDebugString"
;41004F INT 41 CPU - MS Windows debugging kernel - DEBUGGER INSTALLATION CHECK
;410050 INT 41 P - MS Windows debugging kernel - "DefineDebugSegment"
;410051 INT 41 CPU - MS Windows debugging kernel - MOVE SEGMENT
;410052 INT 41 CPU - MS Windows debugging kernel - FREE SEGMENT
;410059 INT 41 CPU - MS Windows debugging kernel - LOAD TASK
;41005C INT 41 CPU - MS Windows debugging kernel - FREE INITIAL SEGMENT
;410060 INT 41 CPU - MS Windows debugging kernel - END OF SEGMENT LOAD
;410061 INT 41 CPU - MS Windows debugging kernel - END OF SEGMENT DISCARD
;410062 INT 41 CPU - MS Windows debugging kernel - APPLICATION TERMINATING
;410063 INT 41 CPU - MS Windows debugging kernel - ASYNCHRONOUS STOP (Ctrl-Alt-SysReq)
;410064 INT 41 CPU - MS Windows debugging kernel - DLL LOADED
;410065 INT 41 CPU - MS Windows debugging kernel - MODULE REMOVED
;410066 INT 41 CPU - MS Windows debugging kernel - ERROR
;410067 INT 41 CPU - MS Windows debugging kernel - PARAMETER ERROR