Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
Italiano
Pagina iniziale
>
Solaris 2.5.1 Driver Developer AnswerBook
> Writing FCode 2.x Programs
Writing FCode 2.x Programs
Cerca solo questo libro
Aiuto alla Ricerca
Contained Within
Solaris 2.5.1 Driver Developer AnswerBook
Driver Developer Site 1.0 AnswerBook
Find More Documentation
Titolo
Prodotto
Featured Support Resources
Corsi di formazione Sun
Portale BigAdmin System Admin
Centro di assistenza Sun
Sun Solve
Scarica il manuale in formato PDF (708 KB)
Writing FCode 2.x Programs
Cover
Credits
Contents
Tables
Preface
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
Additional Information
Programming Style
A Minimum FCode Program
FCode Classes
Primitive FCodes
System FCodes
Interface FCodes
Local FCodes
3 Producing FCode
FCode Source
Tokenizing FCode Source
FCode Binary Format
Testing FCode on the Target Machine
Configuring the Target Machine
Using the Forth Monitor to Download FCode
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 Node Driver
Testing FCode in Source Form
Producing an FCode PROM
Exercising an Installed FCode PROM
4 Packages
Package Definitions, Package Instances, and Device Nodes
Plug-in Device Drivers
Package Methods
Package Data Definitions
Accessing Other Packages
Debugging Packages
Standard Support Packages
5 Properties
Standard FCode Properties
Standard Properties
"clock-frequency"
"down-burst-sizes"
"local-mac-address"
"one-pending-retry"
"parity-generated"
"scsi-initiator-id"
"slave-burst-sizes"
"slot-address-bits"
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
8 Hierarchical Devices
Required Methods
SBus Addressing
SBus Required Properties
VMEBus Addressing
VMEBus 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
11 FCode Dictionary
delete-characters ( n -- ) code# 1 5e
fb1-draw-character ( char -- ) code# 1 70
fb1-invert-screen ( -- ) code# 1 75
fb1-toggle-cursor ( -- ) code# 1 72
fb8-draw-character ( char -- ) code# 1 80
fb8-invert-screen ( -- ) code# 1 85
fb8-toggle-cursor ( -- ) code# 1 82
insert-characters ( n -- ) code# 1 5d
left-parse-string ( adr len char -- adrR lenR adrL lenL ) code# 2 40
memory-test-suite ( adr len -- failed? ) code# 1 22
A FCode Reference
FCode Primitives
FCodes by Function
FCodes by Byte Value
FCodes by Name
Version 2 FCodes
B OpenBoot Interrupt Testing
C FCode Memory Allocation
For OpenBoot 2
For OpenBoot 1
D Changes in FCode Usage for OpenBoot 1
FCode For OpenBoot 1 Systems
Other OpenBoot 1 Restrictions
Index
Comment Card
French Credits
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.