User guide
1
Installing and Configuring Enhanced OS-9
Enhanced OS-9 for X86 PCAT 125
In order for a user state program to be granted I/O port access by
GIMMEIO, the user state program module must be supervisor state
(owned by 0.x).
NoteNote
Although the GIMMEIO trap handler was required as of v2.1 of OS-9 for
X86, users may now disable I/O protection system wide if desired, by
selecting
Allow User State I/O
in the Configuration Wizard’s
Init Options
dialog box.
LOOP
The loop command may be used to create repetitive commands.
Usage: loop -?
Usage: loop [-t] [-n<count>] [-m] [-s<count>] [<prog>] [..<progx>]
-t will report time used.
-x if error show value.
-i don't exit on errors.
-n loop count.
-s sleep for count
-m sleep count is in milliseconds : default is seconds
Example
Create a file and test for the file removal. Check once every two
seconds.
Super)[/h0/>] copy SYS/startup -w=/r0
copying SYS/startup to /r0/startup
(Super)[/h0/>] loop -t -x -s2 "dir /r0/startup >>>/nil"
98/11/08 22:52:25 up for: 0 days 0 hours 0 minutes 0 seconds
Wait 2 Seconds
98/11/08 22:52:27 up for: 0 days 0 hours 0 minutes 2 seconds
Wait 2 Seconds
98/11/08 22:52:29 up for: 0 days 0 hours 0 minutes 4 seconds
Wait 2 Seconds