Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
한국어
docs.sun.com Home
>
Solaris 2.4 Driver Developer AnswerBook
> Writing FCode Programs
Writing FCode Programs
검색에만이 책은
검색 도움말
Contained Within
Solaris 2.4 Driver Developer AnswerBook
Find More Documentation
문서 제목 찾기
제품 설명서 찾기
Featured Support Resources
Sun 교육 과정
BigAdmin 시스템 관리 포털
Sun 지원 센터
Sun Solve
PDF로 이 문서 다운로드 (683 KB)
Writing FCode 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 OpenBoot 1 FCode Usage
FCode For OpenBoot 1 Systems
Other OpenBoot 1 Restrictions
Index
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.