Preface |
|
xi | |
|
|
1 | (36) |
|
|
1 | (1) |
|
|
2 | (4) |
|
|
3 | (3) |
|
|
6 | (3) |
|
|
9 | (5) |
|
|
12 | (1) |
|
|
12 | (2) |
|
Conventional and Extended Memory |
|
|
14 | (7) |
|
|
14 | (3) |
|
|
17 | (1) |
|
DOS Real Mode Programming |
|
|
18 | (1) |
|
DOS Protected Mode Programming |
|
|
18 | (2) |
|
|
20 | (1) |
|
Inside the 286/386/486/etc |
|
|
21 | (4) |
|
|
22 | (1) |
|
|
23 | (2) |
|
|
25 | (1) |
|
|
25 | (6) |
|
|
25 | (1) |
|
|
26 | (2) |
|
|
28 | (1) |
|
|
28 | (1) |
|
|
29 | (2) |
|
|
31 | (2) |
|
|
31 | (1) |
|
|
31 | (1) |
|
|
32 | (1) |
|
|
33 | (3) |
|
|
33 | (1) |
|
Protected Mode Interrupts |
|
|
34 | (2) |
|
|
36 | (1) |
|
2 Basic Assembly Language |
|
|
37 | (32) |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
39 | (5) |
|
|
43 | (1) |
|
|
44 | (3) |
|
|
46 | (1) |
|
|
47 | (3) |
|
|
50 | (4) |
|
|
54 | (2) |
|
|
56 | (7) |
|
|
56 | (2) |
|
|
58 | (1) |
|
|
58 | (1) |
|
|
59 | (1) |
|
LES, LDS, and LEA Instructions |
|
|
60 | (2) |
|
|
62 | (1) |
|
|
63 | (2) |
|
|
65 | (2) |
|
|
66 | (1) |
|
|
67 | (2) |
|
|
69 | (16) |
|
|
69 | (1) |
|
DOS versus Windows Programming |
|
|
70 | (2) |
|
|
71 | (1) |
|
Building a Windows Application |
|
|
72 | (3) |
|
|
72 | (1) |
|
The Mechanics of Assembling and Linking |
|
|
73 | (1) |
|
|
74 | (1) |
|
|
74 | (1) |
|
Windows Programming Mechanics |
|
|
75 | (7) |
|
|
75 | (1) |
|
|
76 | (1) |
|
|
76 | (1) |
|
|
77 | (1) |
|
|
78 | (1) |
|
|
78 | (1) |
|
|
79 | (3) |
|
|
82 | (3) |
|
|
85 | (24) |
|
|
85 | (1) |
|
|
86 | (8) |
|
|
86 | (3) |
|
|
89 | (1) |
|
Resource and Definition Files |
|
|
89 | (1) |
|
|
90 | (1) |
|
|
91 | (1) |
|
|
92 | (2) |
|
|
94 | (15) |
|
|
94 | (2) |
|
|
96 | (2) |
|
|
98 | (4) |
|
|
102 | (7) |
|
|
109 | (28) |
|
|
109 | (1) |
|
|
109 | (2) |
|
|
110 | (1) |
|
|
111 | (8) |
|
|
119 | (1) |
|
|
120 | (3) |
|
|
121 | (1) |
|
|
121 | (1) |
|
|
122 | (1) |
|
|
123 | (2) |
|
|
125 | (7) |
|
|
126 | (1) |
|
|
127 | (2) |
|
|
129 | (1) |
|
|
130 | (1) |
|
MASM Assembling and Linking |
|
|
131 | (1) |
|
|
132 | (5) |
|
|
137 | (42) |
|
|
137 | (1) |
|
|
138 | (7) |
|
|
138 | (3) |
|
|
141 | (1) |
|
|
142 | (1) |
|
|
142 | (3) |
|
Assembly Language Binding |
|
|
145 | (1) |
|
|
145 | (2) |
|
|
147 | (6) |
|
|
147 | (1) |
|
|
148 | (1) |
|
|
149 | (1) |
|
|
150 | (1) |
|
Compile and Assemble Steps |
|
|
151 | (2) |
|
The Amazing 9-Line Program |
|
|
153 | (1) |
|
|
154 | (4) |
|
|
156 | (1) |
|
|
157 | (1) |
|
|
157 | (1) |
|
|
158 | (4) |
|
|
162 | (3) |
|
|
165 | (3) |
|
|
168 | (3) |
|
|
171 | (4) |
|
|
175 | (3) |
|
|
178 | (1) |
|
|
179 | (16) |
|
|
179 | (1) |
|
|
179 | (4) |
|
|
180 | (2) |
|
|
182 | (1) |
|
|
183 | (1) |
|
|
184 | (1) |
|
|
184 | (3) |
|
AT-Class Keyboard Port Enhancements |
|
|
186 | (1) |
|
|
187 | (4) |
|
Industry Standard Architecture (ISA) |
|
|
188 | (3) |
|
Peripheral Connect Interface (PCI) |
|
|
191 | (3) |
|
|
194 | (1) |
|
8 BIOS, DOS, & Windows Low-Level Services |
|
|
195 | (30) |
|
|
195 | (2) |
|
|
197 | (6) |
|
|
200 | (3) |
|
DOS Protected Mode Interface (DPMI) |
|
|
203 | (2) |
|
|
205 | (2) |
|
|
207 | (12) |
|
|
219 | (3) |
|
|
219 | (3) |
|
More Win95 "Improvements" |
|
|
222 | (2) |
|
|
222 | (1) |
|
Dynamically Loadable Drivers |
|
|
223 | (1) |
|
|
223 | (1) |
|
|
224 | (1) |
|
|
224 | (1) |
|
|
225 | (24) |
|
|
225 | (1) |
|
|
226 | (1) |
|
|
227 | (2) |
|
|
229 | (15) |
|
|
231 | (1) |
|
|
232 | (1) |
|
A Direct-Video Text-Mode Routine |
|
|
232 | (2) |
|
|
234 | (1) |
|
|
235 | (1) |
|
|
236 | (1) |
|
|
237 | (1) |
|
|
238 | (1) |
|
|
239 | (1) |
|
A Direct- Video Window Program |
|
|
239 | (5) |
|
|
244 | (5) |
|
|
249 | (18) |
|
|
249 | (1) |
|
|
250 | (6) |
|
|
251 | (2) |
|
|
253 | (2) |
|
|
255 | (1) |
|
|
256 | (8) |
|
|
256 | (1) |
|
|
257 | (1) |
|
Windows' Standard Mode Hardware Interrupts |
|
|
258 | (2) |
|
|
260 | (3) |
|
Enhanced Mode Hardware Interrupts |
|
|
263 | (1) |
|
|
264 | (3) |
|
|
267 | (20) |
|
|
267 | (1) |
|
Accessing Real Mode from Protected Mode |
|
|
268 | (7) |
|
Accessing Real Mode via the IVT |
|
|
269 | (2) |
|
|
271 | (2) |
|
|
273 | (2) |
|
Accessing Protected Mode from Real Mode |
|
|
275 | (12) |
|
Signalling a WinApp from a DOSApp |
|
|
276 | (2) |
|
Passing Control to the WinApp |
|
|
278 | (2) |
|
|
280 | (3) |
|
Hooking a Real Mode Interrupt from a WinApp |
|
|
283 | (4) |
|
|
287 | (20) |
|
|
287 | (1) |
|
16- and 32-Bit Programming |
|
|
288 | (3) |
|
Ring Transition Mechanism |
|
|
291 | (9) |
|
|
292 | (2) |
|
Ring Transition Example Code |
|
|
294 | (6) |
|
|
300 | (5) |
|
|
305 | (2) |
|
|
307 | (12) |
|
|
307 | (1) |
|
|
308 | (1) |
|
|
309 | (1) |
|
|
310 | (4) |
|
|
314 | (4) |
|
|
318 | (1) |
|
|
319 | (22) |
|
|
319 | (1) |
|
|
320 | (10) |
|
Example Protected Mode ISR Code |
|
|
321 | (2) |
|
Problems/Issues with the Protected Mode ISRs |
|
|
323 | (1) |
|
|
324 | (6) |
|
DOS-to-Win Device Driver/TSR |
|
|
330 | (9) |
|
Automatic Loading of Windows Programs/Drivers |
|
|
330 | (1) |
|
|
331 | (7) |
|
|
338 | (1) |
|
|
339 | (2) |
|
15 Advanced Systems Programming |
|
|
341 | (28) |
|
|
341 | (2) |
|
|
343 | (5) |
|
Mapping the 4.3G Linear Address Space of a VM to Physical Memory |
|
|
344 | (4) |
|
The Windows/DOS/DPMI Relationship |
|
|
348 | (2) |
|
Windows Extensions to INT-2Fh Relationship |
|
|
349 | (1) |
|
The Windows/INT-2Fh Relationship |
|
|
349 | (1) |
|
Writing Windows-Aware DOSApps |
|
|
349 | (1) |
|
Sharing Memory Between 16- and 32-bit WinApps |
|
|
350 | (1) |
|
|
351 | (7) |
|
|
358 | (1) |
|
|
359 | (4) |
|
Disadvantages of Lab View |
|
|
360 | (2) |
|
Integration with Assembly |
|
|
362 | (1) |
|
|
363 | (4) |
|
|
364 | (1) |
|
Integrating with Assembly |
|
|
365 | (2) |
|
Assembly versus High-Level Languages |
|
|
367 | (2) |
|
|
369 | (10) |
|
|
379 | (6) |
|
|
379 | (3) |
|
|
382 | (1) |
|
|
383 | (2) |
|
|
385 | (16) |
|
DPMI INT-31h Functions Listed by Functional Group |
|
|
385 | (4) |
|
|
389 | (12) |
|
|
401 | (12) |
|
|
403 | (10) |
Index |
|
413 | |
Product & Publication References |
|
419 | (1) |
People |
|
419 | |