Lines Matching +full:ia32 +full:- +full:3 +full:a
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37 On IA32 (i386) architectures, it is a
41 .Xr libsa 3
45 It provides a scripting language that can be used to
46 automate tasks, do pre-configuration or assist in recovery
50 The smaller one is a set of commands
53 The main drive behind these commands is user-friendliness.
61 will probe for a console and set the
121 .Dq Li -1 ,
132 the only way to call them from a script is by using
134 on a string.
153 When a builtin command is executed, the rest of the line is taken
154 by it as arguments, and it is processed by a special parser which
158 .Bl -enum
161 .Bl -bullet
165 \es is converted to a space.
184 \e\e will be replaced with a single \e .
189 Every string between non-escaped quotes or double-quotes will be treated
190 as a single word for the purposes of the remaining steps.
199 Space-delimited arguments are passed to the called builtin command.
206 All builtin words are state-smart, immediate words.
219 with a space put between each one.
221 If no arguments are passed, a 0
225 While this behavior has benefits, it has its trade-offs.
226 If the execution token of a builtin is acquired (through
244 In this case, the use of a proxy is recommended.
249 is a Forth interpreter written in C, in the form of a forth
264 one line at a time.
285 .Bl -tag -width wid-set-super
288 .It Ic -roll
295 .It Ic compile-only
297 .It Ic forget-wid
298 .It Ic parse-word
302 .It Ic wid-set-super
307 .It Ic cell-
308 .It Ic -rot
311 .Bl -tag -width XXXXXXXX
312 .It Ic \&$ Pq --
314 .It Ic \&% Pq --
315 Evaluates the remainder of the input buffer under a
321 but without outputting a trailing space.
322 .It Ic fclose Pq Ar fd --
323 Closes a file.
324 .It Ic fkey Pq Ar fd -- char
325 Reads a single character from a file.
326 .It Ic fload Pq Ar fd --
327 Processes a file
329 .It Ic fopen Pq Ar addr len mode Li -- Ar fd
330 Opens a file.
331 Returns a file descriptor, or \-1 in case of failure.
342 indicating read only, write only, and read-write access, respectively.
345 .Pq Ar fd addr len -- len'
353 Returns the actual number of bytes read, or -1 in case of error or end of
355 .It Ic heap? Pq -- Ar cells
358 .It Ic inb Pq Ar port -- char
359 Reads a byte from a port.
360 .It Ic key Pq -- Ar char
361 Reads a single character from the console.
362 .It Ic key? Pq -- Ar flag
365 if there is a character available to be read from the console.
366 .It Ic ms Pq Ar u --
370 .It Ic outb Pq Ar port char --
371 Writes a byte to a port.
372 .It Ic seconds Pq -- Ar u
374 .It Ic tib> Pq -- Ar addr len
375 Returns the remainder of the input buffer as a string on the stack.
376 .It Ic trace! Pq Ar flag --
382 .Bl -tag -width Ds
383 .It arch-i386
385 if the architecture is IA32.
399 .Bl -bullet
423 to -1.
436 If MD available, a file system can be embedded into the
447 .Bl -tag -width /usr/share/examples/bootforth/ -compact
457 Extra builtin-like words.
479 .Dl boot -s
481 Load the kernel, a splash screen, and then autoboot in five seconds.
482 Notice that a kernel must be loaded before any other
485 .Bd -literal -offset indent
488 load -t splash_image_data /boot/chuckrulez.bmp
493 This would be needed in a system with two IDE disks,
495 .Bd -literal -offset indent
500 Set the default device used for loading a kernel from a ZFS filesystem:
501 .Bd -literal -offset indent
508 .Bl -tag -width XXXXX -offset indent
510 Any type of error in the processing of a builtin.
511 .It -1
514 .It -2
517 .It -56
520 .It -256
522 .It -257
523 Need more text to succeed -- will finish on next run.
524 .It -258
527 .It -259
531 .Xr libsa 3 ,
555 Memory-Allocation Extensions word set, Providing
566 from the Programming-Tools extension word set, Providing the
567 Search-Order extensions word set.
575 .An -nosplit