summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-11 23:48:36 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-11 23:48:36 +0000
commit9275af812f2acb29e3c8eda5caf63956be2f6130 (patch)
treec66d61c7182a96c15f009da89533f78499c8ba8b
parent476c94a1f3491a91f624758532bf800cc5233928 (diff)
downloadmdk-9275af812f2acb29e3c8eda5caf63956be2f6130.tar.gz
mdk-9275af812f2acb29e3c8eda5caf63956be2f6130.tar.bz2
the paper tape is really an input device.
-rw-r--r--doc/mdk_mixvm.texi4
-rw-r--r--mixlib/xmix_device.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/mdk_mixvm.texi b/doc/mdk_mixvm.texi
index fd0c8ac..b32a76d 100644
--- a/doc/mdk_mixvm.texi
+++ b/doc/mdk_mixvm.texi
@@ -4,7 +4,7 @@
@c Free Software Foundation, Inc.
@c See the file mdk.texi for copying conditions.
-@c $Id: mdk_mixvm.texi,v 1.15 2004/06/10 20:47:30 jao Exp $
+@c $Id: mdk_mixvm.texi,v 1.16 2004/06/11 23:48:57 jao Exp $
@node mixvm, gmixvm, mixasm, Top
@comment node-name, next, previous, up
@@ -780,7 +780,7 @@ directory @file{~/.mdk}; this location can be changed using the
@item Card writer @tab 17 @tab @file{cardwr.dev} @tab char out
@item Line printer @tab 18 @tab @file{printer.dev} @tab char out
@item Terminal @tab 19 @tab @code{stdout} @tab char in/out
-@item Paper tape @tab 20 @tab @file{paper.dev} @tab char out
+@item Paper tape @tab 20 @tab @file{paper.dev} @tab char in
@end multitable
Devices of type @i{char} are stored as ASCII files, using one line per
diff --git a/mixlib/xmix_device.c b/mixlib/xmix_device.c
index 79e7313..622a092 100644
--- a/mixlib/xmix_device.c
+++ b/mixlib/xmix_device.c
@@ -54,7 +54,7 @@ const mix_fmode_t FMODES_[] = {
mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT,
mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT,
mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT, mix_io_RDWRT,
- mix_io_READ, mix_io_WRITE, mix_io_WRITE, mix_io_RDWRT, mix_io_WRITE
+ mix_io_READ, mix_io_WRITE, mix_io_WRITE, mix_io_RDWRT, mix_io_READ
};
/* constructors */