summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/doscmd.1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-10-13 23:48:35 +0000
committerimp <imp@FreeBSD.org>1999-10-13 23:48:35 +0000
commit54845d7d91ede831c0515e3331be2f1317c7b214 (patch)
tree3fe2565dcb8749da3cfbcc041bf04838e5f0a964 /usr.bin/doscmd/doscmd.1
parent83dbf599426ca60aaee525e0e5f34b80b2cb8ca8 (diff)
downloadFreeBSD-src-54845d7d91ede831c0515e3331be2f1317c7b214.zip
FreeBSD-src-54845d7d91ede831c0515e3331be2f1317c7b214.tar.gz
Allow in/out to work in DOS programs.
Submitted by: Parag Patel PR: bin/8486
Diffstat (limited to 'usr.bin/doscmd/doscmd.1')
-rw-r--r--usr.bin/doscmd/doscmd.125
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/doscmd/doscmd.1 b/usr.bin/doscmd/doscmd.1
index 4d039a4..0fa73f4 100644
--- a/usr.bin/doscmd/doscmd.1
+++ b/usr.bin/doscmd/doscmd.1
@@ -188,6 +188,18 @@ to
.\"
.\"
.\"
+.It Fl p Ar port Ns Xo
+.Op : Ns Ar cnt
+.Xc
+Map the requested io
+.Ar port
+(with optional range up to to
+.Ar port+cnt Ns No -1 )
+to the real hardware I/O port(s).
+This will likely require root privs to access them.
+.\"
+.\"
+.\"
.It Fl P
Enable tracing of io port calls (such as
.Li inb ,
@@ -434,6 +446,19 @@ This code is lightly tested and may not suit all needs.
.\"
.\"
.\"
+.It Cm portmap Xo
+.Ar port
+.Op Ar count
+.Xc
+Map the requested io
+.Ar port
+(with optional range up to to
+.Ar port+count Ns No -1 )
+to the real hardware I/O port(s).
+This will likely require root privs to access them.
+.\"
+.\"
+.\"
.It Cm "setver command version"
Cause doscmd, when emulating DOS, to report
.Cm version
OpenPOWER on IntegriCloud