File:  [Qemu by Fabrice Bellard] / qemu / roms / openbios / packages / cmdline.fs
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:19:38 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, HEAD
qemu 1.0.1

\ tag: Utility functions
\ 
\ deblocker / filesystem support
\ 
\ Copyright (C) 2003, 2004 Samuel Rydh
\ 
\ See the file "COPYING" for further information about
\ the copyright and warranty status of this work.
\ 

\ -------------------------------------------------------------
\ command line editor (/packages/cmdline)
\ -------------------------------------------------------------

[IFDEF] CONFIG_CMDLINE

dev /packages
new-device
  " cmdline" device-name

  :noname
    " " [active-package], open-package
    ?dup if
      " cmdline" rot $call-method
    else
      ." cmdline is missing!" cr
    then
    \ cmdline must close itself upon return
  ;

  :noname
    [ ['] (lit) , swap , ] to outer-interpreter
  ; SYSTEM-initializer

  external
  : prepare 0 to my-self ;

finish-device

[THEN]
device-end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.