console doc updates
This commit is contained in:
parent
ece51a4ced
commit
02084e8b5b
|
@ -149,6 +149,13 @@ EXAMPLE PROGRAM FRAGMENTS
|
||||||
@exit ( -- BRK )
|
@exit ( -- BRK )
|
||||||
#80 .System/halt DEO BRK ( ; exit immediately with code 0 )
|
#80 .System/halt DEO BRK ( ; exit immediately with code 0 )
|
||||||
|
|
||||||
|
@quit-immediately ( -- BRK )
|
||||||
|
#00 .running STZ ( ; note that we are stopping )
|
||||||
|
#02 .Console/opts DEO ( ; set host action to use child 2 )
|
||||||
|
#03 .Console/host-put BRK ( ; kill child process 2 )
|
||||||
|
( ; this will trigger on-console )
|
||||||
|
( ; and then on-child-exit. )
|
||||||
|
|
||||||
@run-mpg123 ( path* -- )
|
@run-mpg123 ( path* -- )
|
||||||
;mpg123-cmd/buf scpy ( ; copy path into cmd buffer )
|
;mpg123-cmd/buf scpy ( ; copy path into cmd buffer )
|
||||||
;mpg123-cmd .Console/param DEO2 ( ; set up `mpg123 <path>` cmd to run )
|
;mpg123-cmd .Console/param DEO2 ( ; set up `mpg123 <path>` cmd to run )
|
||||||
|
|
Loading…
Reference in New Issue