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
commita97475af68eae98f6f508fe4da7f6d94a34f222d (patch)
treebfff504ad1b9a2e8eabc8e6504a1fa16c8ca41ff
parent93fc08a033b3fcc60d5a84288e58dfb7bdfc3876 (diff)
downloadmdk-a97475af68eae98f6f508fe4da7f6d94a34f222d.tar.gz
mdk-a97475af68eae98f6f508fe4da7f6d94a34f222d.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 */