Contents: fcode manual
fcode manual
fcode manual
Preface Who Should Use This Book
How This Book Is Organized
Related Books
Forth and Forth Programming
SBus/SCSI Developer's Kit
Ordering Sun Documents
Sun Welcomes Your Comments
1 : SBus Cards and FCode FCode PROM Format
Interpreting FCode
Device Identification
Creating and Executing FCode Definitions
2 : Elements of FCode Programming Colon Definitions
Stack Operations
Programming Style
Coding Style
A Minimal FCode Program
FCode Classes
Primitive FCode Functions
System FCode Functions
Interface FCode Functions
Local FCode Functions
3 : Testing FCode Programs FCode Source
Tokenizing FCode Source
FCode Binary Format
Testing FCode Programs on the Target Machine
Configuring the Target Machine
Using the Command Line Editor of the Forth Monitor
Using the Forth Monitor to Test FCode Programs
Using dl to Load Forth Over Serial Port A
Using the Forth Monitor to Interpret an FCode Program
Using the Forth Monitor to Browse a Device Node
Using the Forth Monitor to Test a Device Driver
Testing FCode Programs in Source Form
Producing an FCode PROM
Exercising an Installed FCode PROM
4 : Packages Package Instances
Plug-in Device Drivers
Common Package Methods
Package Data Definitions
Instance Arguments and Parameters
Standard Support Packages
5 : Properties Standard FCode Properties
Detailed Descriptions of Standard Properties
Manipulating Properties
Property-Specific FCodes
6 : Block and Byte Devices Block Devices
Byte Devices
Required Methods
Required Properties
Device Driver Examples
7 : Display Devices Required Methods
Required Properties
Device Driver Examples
Complete Display Device Drive
8 : Memory-Mapped Buses Required Methods
SBus Addressing
SBus Required Properties
Device Driver Examples
9 : Network Devices Required Methods
Required Device Properties
Optional Device Properties
Device Driver Examples
10 : Serial Devices Required Methods
Required Properties
Device Driver Examples
Simple Serial FCode Program
11 : FCode Dictionary
A : FCode Reference FCode Primitives
FCodes by Function
FCodes by Byte Value
FCodes by Name
B : FCode Memory Allocation
C : Coding Style Typographic Conventions
Use of Spaces
if...then...else
do...loop
begin...while...repeat
begin...until...again
Block Comments
Stack Comments
Return Stack Comments
Numbers
fcode manual
fcode manual