WINDOWS ASSEMBLY LANGUAGE & SYSTEMS PROGRAMMING - and -bit low-level programming for the PC and Windows -- 2nd edition
bY
Barry Kauler
Power-up the PC
The System Files
Number Systems
Registers and Memory
MemoryMapofthePC
The CPU & Support Chips
Conventional and Extended Memory
Segments
Real Mode
DOS Real Mode Programming
DOS Protected Mode Programming
Coding Restraints
Inside the /l/etc
CPU Registers
Instructions
Real and Protected Modes
Memory Management
Segmentation Only
Shadow Registers
Descriptors
Paging
Virtual-
Contention Issues
Privileges
I/O Privilege
Task Switching
Interrupts
Real Mode Interrupts
Protected Mode Interrupts
Postamble
Basic Assembly Language
Preamble
Stack Instructions
Transfer of Control
Conditional Jump
Addressing Modes
Segment Registers
String Instructions
Arithmetic Instructions
Logical Instructions
Code and Data Labels
Code Labels
Data Labels
Accessing Data
Pointers
LES, LDS, and LEA Instructions
Local Data
Type Override
Structures
Label Equates
Postamble
Opening Windows
DOS versus Windows Programming
Internal Differences
Building a Windows Application
Library Functions
The Mechanics of Assembling and Linking
The Link Step
Two Steps for Resources
Windows Programming Mechanics
Objects
Handles
Instances
Messages
C Syntax
Message Loop
Callback Functions
Data Types
The Bare Bones
Preamble
Getting Started
Tools Required
Source Files
Resource and Definition Files
Message Format
Make File
Development Cycle
Application Structure
Preliminary Code
Startup Code
WINMAIN{)
Callback Function
High-Level Assembly
Preamble
Include Files
Microsoft versus Borland
Skeleton Analysis
MODEL Directive
Private and Global Data
MASM versus TASM Scope
TASM’s @@
Life of Automatic Data
Assembling and Linking
MASM versus TASM
WINDOWS Qualifier
Prototypes
Callback Design
Other Incompatibilities
MASM Assembling and Linking l
MASM Program Listing
Program Design
Object Addressing
Calling a Function
Early Binding
Late Binding
C++ Binding
Assembly Language Binding
Use of THIS
Interfacing with C++
Compiling to ASM O/P
In-Line Assembly
In-Line DOS and Don’ts
The ASM Stub
Compile and Assemble Steps
The Amazing -Line Program
A Skeleton Program
Overrides
Kickstart
Message Handling
The WINDOW Object
WINMAIN )
Callback
MA=( )
Inheritance
Getting it Together
Postamble
PC Hardware
Preamble
CPU bus
Control Bus
Address Decoder
I/OPorts
I/O Instructions
Keyboard Interface
AT-Class Keyboard Port Enhancements
PC Expansion Buses
Industry Standard Architecture (ISA)
Peripheral Connect Interface (PCI)
Postamble
BIOS, DOS, & Windows Low-Level Services
BIOS and DOS Services
Standard DOS Interrupts
DOS Protected Mode Interface (DPMI)
INT-Fh Extensions
Windows Functions
Thunking
Generic Thunking
More Win “Improvements”
Device I/O Control
Dynamically Loadable Drivers
Threads
Memory Mapped Files
Postamble
Direct Hardware Access
Preamble
Initialisation
Addressing Segments
Direct Video
Restore Video
Change Video Mode
A Direct-Video Text-Mode Routine
Call REPAINTSCREEN
Ordinal Coordinates
To and From Text Mode
Video Output Issues
MessageInput
Experimenting
A Direct-Video Window Program
I/O Ports
Real-Time Events
TSRs
Hooking a Vector
Service Routine (ISR)
bY
Barry Kauler
Power-up the PC
The System Files
Number Systems
Registers and Memory
MemoryMapofthePC
The CPU & Support Chips
Conventional and Extended Memory
Segments
Real Mode
DOS Real Mode Programming
DOS Protected Mode Programming
Coding Restraints
Inside the /l/etc
CPU Registers
Instructions
Real and Protected Modes
Memory Management
Segmentation Only
Shadow Registers
Descriptors
Paging
Virtual-
Contention Issues
Privileges
I/O Privilege
Task Switching
Interrupts
Real Mode Interrupts
Protected Mode Interrupts
Postamble
Basic Assembly Language
Preamble
Stack Instructions
Transfer of Control
Conditional Jump
Addressing Modes
Segment Registers
String Instructions
Arithmetic Instructions
Logical Instructions
Code and Data Labels
Code Labels
Data Labels
Accessing Data
Pointers
LES, LDS, and LEA Instructions
Local Data
Type Override
Structures
Label Equates
Postamble
Opening Windows
DOS versus Windows Programming
Internal Differences
Building a Windows Application
Library Functions
The Mechanics of Assembling and Linking
The Link Step
Two Steps for Resources
Windows Programming Mechanics
Objects
Handles
Instances
Messages
C Syntax
Message Loop
Callback Functions
Data Types
The Bare Bones
Preamble
Getting Started
Tools Required
Source Files
Resource and Definition Files
Message Format
Make File
Development Cycle
Application Structure
Preliminary Code
Startup Code
WINMAIN{)
Callback Function
High-Level Assembly
Preamble
Include Files
Microsoft versus Borland
Skeleton Analysis
MODEL Directive
Private and Global Data
MASM versus TASM Scope
TASM’s @@
Life of Automatic Data
Assembling and Linking
MASM versus TASM
WINDOWS Qualifier
Prototypes
Callback Design
Other Incompatibilities
MASM Assembling and Linking l
MASM Program Listing
Program Design
Object Addressing
Calling a Function
Early Binding
Late Binding
C++ Binding
Assembly Language Binding
Use of THIS
Interfacing with C++
Compiling to ASM O/P
In-Line Assembly
In-Line DOS and Don’ts
The ASM Stub
Compile and Assemble Steps
The Amazing -Line Program
A Skeleton Program
Overrides
Kickstart
Message Handling
The WINDOW Object
WINMAIN )
Callback
MA=( )
Inheritance
Getting it Together
Postamble
PC Hardware
Preamble
CPU bus
Control Bus
Address Decoder
I/OPorts
I/O Instructions
Keyboard Interface
AT-Class Keyboard Port Enhancements
PC Expansion Buses
Industry Standard Architecture (ISA)
Peripheral Connect Interface (PCI)
Postamble
BIOS, DOS, & Windows Low-Level Services
BIOS and DOS Services
Standard DOS Interrupts
DOS Protected Mode Interface (DPMI)
INT-Fh Extensions
Windows Functions
Thunking
Generic Thunking
More Win “Improvements”
Device I/O Control
Dynamically Loadable Drivers
Threads
Memory Mapped Files
Postamble
Direct Hardware Access
Preamble
Initialisation
Addressing Segments
Direct Video
Restore Video
Change Video Mode
A Direct-Video Text-Mode Routine
Call REPAINTSCREEN
Ordinal Coordinates
To and From Text Mode
Video Output Issues
MessageInput
Experimenting
A Direct-Video Window Program
I/O Ports
Real-Time Events
TSRs
Hooking a Vector
Service Routine (ISR)
0 comments:
Post a Comment