Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
日本語
ホーム
>
Solaris 2.5.1 Driver Developer AnswerBook
> Writing FCode 3.x Programs
Writing FCode 3.x Programs
この本のみを検索
検索のヘルプ
内に含ま
Solaris 2.5.1 Driver Developer AnswerBook
その他のドキュメント
タイトル
製品カテゴリ
サポート リソース
Sun のトレーニングコース
BigAdmin システム管理ポータル
Sun サポートセンター
Sun Solve
PDF 文書ファイルをダウンロードする (777 KB)
Writing FCode 3.x Programs
Cover
Credits
Contents
Tables
Figures
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
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
delete-characters
fb1-delete-characters
fb1-draw-character
fb1-insert-characters
fb1-invert-screen
fb1-toggle-cursor
fb8-delete-characters
fb8-draw-character
fb8-insert-characters
fb8-invert-screen
fb8-toggle-cursor
get-inherited-property
get-package-property
insert-characters
left-parse-string
memory-test-suite
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
D Differences Between FCode 2.x and 3.x
Fr_Credits
Index
comments
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.