OpenBoot 2.x Command Reference Manual
只搜寻这本书
以 PDF 格式下载本书

Index

Symbols

!53, 61, 128
" ccc"68, 140
",68, 140
#139
#>139
#line140
#out140
#s139
$find62, 136
$number139
%f090, 146
%fsr90, 146
%g090, 146
%i090, 146
%L090, 146
%npc90, 91, 146
%o090, 146
%pc90, 91, 92, 146
%psr90, 146
%tbr90, 146
%wim90, 146
%y90, 146
(50, 66
( ccc )66, 139
(.)139
(cr67, 140
(patch64, 137
(see)62, 136
(u.)139
)50, 66
*51, 125
*/51, 126
*/mod51, 126
+45, 51, 125
+!53, 128
+bp91, 93, 146
+dis89, 145
+loop79, 144
+n118
,63, 136
.45, 64, 138
."61, 67, 140
.(68, 140
.attributes8, 9, 105
.bp91, 146
.breakpoint92, 147
.calls61, 136
.d43, 61, 65, 138
.enet-addr21, 121
.fregisters90, 146
.h61, 65, 138
.idprom21, 121
.instruction92, 147
.locals90, 146
.mcr133
.mfsr133
.psr90, 146
.r64, 138
.registers90, 146
.s64, 138
.sfsr133
.sipr133
.step92, 147
.traps21, 121
.version21, 121
.window90, 91, 146
/51, 125
/c127
/c*127
/L127
/L*127
/mod51, 126
/n127
/n*127
/w127
/w*127
:49, 50, 59, 125, 135
;49, 59, 125, 135
<74, 142
<#139
<<52, 126
<=74, 142
<>74, 142
<w@53, 128
=74, 142
>74, 142
> =74, 142
>>51, 126
>>a51, 126
>body63, 136
>r48, 124
?117, 128
???117
?do79, 144
?dup48, 124
?go83, 145
?leave79, 144
@53, 54, 60, 61, 128
[63, 136
[']61, 136
[compile]63, 137
\66, 139
]63, 136
|117
~.99
"105
'61, 136

Numerics

0<74, 142
0<=74, 142
0<>74, 142
0=74, 75, 143
0>74, 143
0>=74, 143
1-51, 126
1+51, 126
2-51, 126
2!54, 128
2*51, 126
2+51, 126
2/51, 126
2@54, 128
2constant59, 135
2drop48, 124
2dup48, 124
2over48, 124
2rot48, 124
2swap48, 125
3drop48, 125
3dup48, 125
n118

A

abort81, 144
abort"81, 144
abs51, 126
acf117
adr117
adr16117
adr32117
adr64117
aerr!134
aerr@134
again77, 144
alias59, 135
aligned51, 126
alloc-mem56, 105, 129
allot63, 136
alternate address space commands134
and51, 126
arithmetic functions51, 125
ascii66, 139
ASCII constants141
assembly language commands137
auto-boot?23, 35, 121
aux!133, 134
aux@133, 134
averr!134
averr@134

B

b (boot)29, 30
banner21, 31, 36, 121
base65, 138
baud rate25, 34
begin77, 144
begin loops77
bell141
between74, 143
binary138
binary executable programs85, 87, 88
bl68, 140
blank54, 128
bljoin51, 126
body>63, 137
boot37, 83, 145
boot command options14, 120
boot -h92
boot-device23, 35, 105, 121
boot-file23, 35, 105, 121
boot-from23, 121
boot-from-diag23, 121
booting failures111 to 115
bounds51, 126
-bp91, 146
--bp91, 146
bpoff92, 147
breakpoint commands91, 146
bs141
buffer:59, 135
building bootable floppy disks101
bwjoin51, 126
byte b117
byte-load83, 145

C

c (continue)29, 30
c!54, 55, 128
c,63, 136
c;138
c?128
c@54, 79, 128
ca+127
ca1+127
cache manipulation commands131
cacheable130
cache-off131
cache-on131
call opcode89
callback148
carriage-return67
case76, 143
catch148
cd8, 105, 119
cdata!131
cdata@131
changing the number base138
char118
clear48, 125
clear_colormap21
clear-cache131
cmove54, 128
cmove>54, 128
cnt118
code137
colon definitions49
command completion105
command line editor71 to 73
command security mode28
comments in Forth code66
comp54, 128
comparison commands142
compile63, 137
compiling data into the dictionary136
configuration parameter primitives123
configuration parameters
.....displaying25
.....resetting to defaults25
.....setting25, 27
constant59, 60, 135
context!134
context@134
conversion operators127
count68, 140
cpeek54, 105, 128
cpoke54, 105, 128
CPU data register90
cr67, 140
create59, 135
creating
......custom banner31
......dictionary entries59
......new commands49
......new logo32
ctag!131
ctag@131
ctrace90, 146
cxr!133
cxr@133

D

d-51, 52
d!105, 128
d#65
d+51
d?105, 128
d@105, 128
dcontext@134
debug93, 148
debug-off93, 148
decimal43, 65, 138
default values25
defer59, 61, 135
defining words59, 135
depth48, 125
determining SCSI devices16, 120
devalias7, 118
device
......aliases7, 15, 107
......node characteristics4
......path names5
......tree display/traversal8, 119
device-end8, 22, 119
device-specifier14, 16
diag-device35, 106
diag-file24, 35, 106, 121
diagnostic
......boot from device35
......boot from file35
.....routines16
.....switch setting35
diagnostic test commands16, 120
diag-switch?24, 35, 121
dictionary of commands59
digit139
dis89, 145
disassembler commands89, 145
displaying current parameter settings26
displaying registers90
dl83, 145
dlbin83, 145
dload83, 92, 145
do79, 144
do loops79
does>59, 135
drop48, 125
dump42, 54, 55, 128
dup48, 49, 125

E

editing NVRAMRC contents37
eeprom utility28, 32
eject-floppy18, 148
else75, 143
emergency keyboard commands111, 149
emit67, 140
enable!134
enable@134
endcase76, 143
end-code138
endof76, 143
erase128
Ethernet
.....displaying the address21
.....testing the controller19
eval81, 83, 144, 145
execute81, 145
exit81, 145
exit?67, 140
expect66, 139

F

fakeboot86
false74, 143
FCode interpreter2
FCode programs84, 86, 88
fcode-debug?24, 121
field59, 135
file loading commands83, 145
fill128
find62, 136
finish-loop92, 147
firmware-version148
flag73, 118
flip52, 126
flush-cache131
forget63, 137
formatted output commands140
Forth
......command format41
......programs84, 86, 87
......reference materialxix
......Source-level Debugger93, 147
forth148
Forth Monitor3
frame buffer69
free-mem56, 129
free-virtual56, 129
ftrace94, 148
full security mode30

G

get-msecs148
go37, 83, 91, 92, 93, 145, 147
gos92, 147

H

h#65, 138
hardware-revision24, 121
help10, 119
here63, 137
hex43, 65, 138
history mechanism71
hold139
hop92, 147
hops92, 147

I

i79, 80, 144
ID PROM21
if75, 143
immediate63, 137
init-program84, 145
input69, 141
input devices33
input-device24, 32, 69, 121
interrupt-enable!133, 134
interrupt-enable@133, 134
io69, 70, 141
iomap?130
iomap-page130
iomap-pages130
iommu-ctl!133
iommu-ctl@133
iopgmap!130
iopgmap@130
is137

J

j79, 144
jmp opcode89

K

key66, 139
key?66, 67, 79, 100, 139
keyboard33, 70
keyboard-click?24, 121
keymap24, 121

L

L!128
l!54
L,136
l,63
L?129
L@129
l@53, 54
La+127
La1+127
label138
last-hardware-update24, 121
lbsplit52, 126
lcc68, 140
leave79, 144
left-parse-string68, 141
len118
lflips54, 129
line editor commands71, 141
literal63, 137
load84, 145
load-base84, 145
loading/executing files
......FCode/Binary over serial port A88
......Forth over serial port A87
......over Ethernet84
......over hard disk/floppy/Ethernet85
local-mac-address?24, 121
long L118
loop79, 144
loops
......conditional77
......counted79
lpeek54, 106, 129
lpoke54, 106, 129
ls8, 106, 119
lwsplit52, 126

M

manipulating text strings140
map?129
map-page130
map-pages130
map-region130
map-regions130
map-segments130
max52, 126
mcr!133
mcr@133
memmap130
memory
.....accessing53, 128
.....mapping primitives130
.....testing35
mfg-switch?24, 35, 121
mfsr!133
mfsr@133
min52, 126
miscellaneous operations148
mod52, 126
module-info149
move54, 129
ms148
msafar@133
msafsr!133
msafsr@133
multiprocessor commands149

N

n118
n (enter Forth Monitor)29, 30
na+127
na1+127
negate52, 126
nip48, 125
nodefault-bytes106, 123
noop148
noshowstack44, 64
not52, 126
null modem cable98
number display138
numeric output primitives139
nvalias37, 106, 123
nvedit37, 39, 123
nvedit keystroke commands38, 124
nvquit37, 123
NVRAM23
NVRAMRC
......availability106
......editor commands37, 123
......nvramrc command24, 36, 121
nvrecover37, 123
nvrun37, 124
nvstore37, 124
nvunalias37, 106, 124

O

o#65
obio130
obmem130
octal43, 65
oem-banner24, 30, 121
oem-banner?24, 30, 32, 121
oem-logo24, 30, 31, 122
oem-logo?24, 30, 32, 122
of76, 143
off54, 129
old-mode4, 148
on54, 129
or52, 126
origin63, 137
output69, 141
output devices33
output-device24, 32, 69, 122
over48, 125

P

p"68, 141
pack68, 141
pagesize131
parentheses66, 139
password29, 37
patch63, 106, 137
pgmap!131
pgmap?131
pgmap@131
phys118
physical address53
pick48, 125
plug-in device drivers1
power cycle41, 69
power-on banner21, 31
power-on initialization sequence109
printenv25, 26, 123
probe-scsi11, 16, 17, 120
probe-scsi-all16, 17, 106, 120
program counter91
program execution controlcommands144
PROM version and date21
prompt76
pstr118
pwd8, 106, 119

Q

quit81, 145

R

r>48, 125
r@48, 125
ramforth149
reading/writing registers
.....Sun-4C machines134
.....Sun-4D machines132
.....Sun-4M machines133
recursive64, 137
redirecting input/output141
repeat78, 144
reset11, 21, 37, 148
resetting
......parameter defaults27
......the system21
restoring color tables21
Restricted Monitor commands3, 118
resume93, 148
return92, 147
returnL92, 147
rmap!131
rmap@131
roll48, 125
romforth149
-rot48, 124
rot48, 125
running extended diagnostics35

S

saving data after a system crash111
sbus130
sbus-probe-list24, 122
screen33, 70
screen-#columns24, 32, 122
screen-#rows24, 32, 122
scsi-initiator-id24, 122
sd-targets24, 122
searching the dictionary136
security
......command28
......full30
......none28
......password29
security-#badlogins24, 28, 122
security-mode24, 27, 122
security-password24, 28, 122
see46, 62, 136
segmentsize131
selftest-#megs24, 35, 122
serial ports33, 34, 69
serr!134
serr@134
set-default25, 27, 123
set-defaults25, 27, 123
setenv25, 27, 123
setenv security-mode exception37
set-pc90, 91, 146
setting
.....default input/output devices33
.....firmware security27
.....security password29
sfar!133
sfar@133
sfsr!133
sfsr@133
show123
show-devs8, 9, 106, 119
show-sbus21, 106, 121
showstack44, 64, 106, 138
sift62, 136
sifting62, 136
sign139
size118
skip92, 147
skip-vme-loopback?24, 122
smap!131
smap?131
smap@131
Space93, 148
space67, 140
spacec!134
spacec?134
spacec@134
spaced!134
spaced?106, 134
spaced@134
spaceL!135
spaceL?135
spaceL@135
spaces67, 140
spacew!135
spacew?135
spacew@135
span66, 139
SPARC register commands90, 146
specifying auto-booting from Ethernet35
stack
......description44
......diagram45
......item notation117
......manipulation commands124
state64, 137
step92, 147
stepping93, 148
steps92, 147
Stop111, 149
Stop-A70, 90, 111, 149
Stop-D36, 106, 111, 149
Stop-F106, 111, 149
Stop-N106, 111, 149
strings, manipulating140
struct59, 135
st-targets24, 122
sunmon-compat?24, 122
sverr!134
sverr@134
swap48, 125
switch-cpu149
symbol table90
sync11, 111, 149
system configuration parameters,Seeconfiguration parameters
system information displaycommands121

T

terminal69
test16, 107, 120
test-all16, 120
testarea24, 122
testing
......clock16, 20, 120
......diskette drive16, 18, 120
......memory16, 18, 120
.....network connection16, 19, 120
.....SBus devices16, 120
text input commands66, 139
text output commands67, 140
then75, 143
throw149
till92, 147
time utilities148
TIP problems99
TIP window97
to32, 63, 90, 146
Tokenizer86
tpe-link-test?24, 122
tracing93, 148
-trailing68, 140
true74, 143
ttya33, 70
ttya-ignore-cd25, 122
ttya-mode25, 32, 34, 122
ttya-rts-dtr-off25, 122
ttyb33, 70
ttyb-ignore-cd25, 122
ttyb-mode25, 32, 34, 122
ttyb-rts-dtr-off25, 122
type67, 140

U

u*x126
u.64, 138
u.r64, 138
u/mod52, 126
u<74, 143
u<=74, 143
u>74, 143
u>=74, 143
u2/52, 126
um*52
unaligned-L!54, 129
unaligned-L@55, 129
unaligned-w!55, 129
unaligned-w@55, 129
until78, 144
upc68, 141
use-nvramrc?25, 36, 122
User Interface
......command line editor71 to 73

V

value59, 60, 135
variable59, 61, 135
version2?25, 122
virt118
virtual address53

W

w90, 91, 146
w!55, 129
w,63, 136
w?129
w@53, 55, 129
wa+127
wa1+127
watch-clock16, 20, 120
watchdog-reboot?25, 122
watch-net16, 20, 107, 120
ways to enter Forth Monitor2
wbflip52
wbsplit52, 127
wflip127
wflips55, 129
while78, 144
within74, 143
wljoin52, 127
word66, 118, 139
words8, 10, 42, 62, 119, 136
wpeek55, 107, 129
wpoke55, 107, 129

X

x-127
x+127
xor52, 127
xu/mod127