Esp

1 Introduction to Esp
1.1 What is Esp?
1.2 Should I Use Esp?
1.3 Roadmap to the Esp Book

2 Esp Basics
2.1 The Purpose of Esp
2.2 Esp Ground Rules
2.2.1 GEOS is a Multitasking Environment
2.2.2 Upward and Downward Compatibility
2.2.3 Flags
2.3 Differences from MASM
2.3.1 Data Types
2.3.2 Symbols and Labels
2.3.3 Segments and dgroup
2.3.4 Miscellaneous Enhancements
2.4 Defining Classes
2.4.1 Defining a Class
2.4.2 Creating a Class’s Class Structure
2.4.3 Defining your Process Class
2.5 Error-Checking Code

3 Routine Writing
3.1 GEOS Conventions
3.1.1 Parameters and Local Variables
3.1.2 The “uses” Directive
3.1.3 .enter and .leave
3.1.4 Inheriting a Stack Frame 3.2 LMem Heaps and Chunks 3.3 Objects and Classes
3.3.1 Object Structure
3.3.2 Messages

4 The UI Compiler
4.1 UIC Overview
4.2 Declaring Classes
4.2.1 Declaring Fields
4.2.2 Changing a Default Value
4.3 Creating Objects and Chunks
4.3.1 Setting Up a Resource
4.3.2 Creating Objects
4.3.3 Creating Chunks
4.3.4 Creating VisMonikers

E Mixing C and Assembly
E.1 Adding Esp Code to a Goc Geode
E.2 Writing an Esp Library


Table of contents