I1401: Fix tape to call sim_tape_attach to attach tapes

This commit is contained in:
Mark Pizzolato 2016-10-20 12:50:13 -07:00
parent 0630db4207
commit 8178816c3f

View file

@ -1,6 +1,6 @@
/* i1401_mt.c: IBM 1401 magnetic tape simulator /* i1401_mt.c: IBM 1401 magnetic tape simulator
Copyright (c) 1993-2011, Robert M. Supnik Copyright (c) 1993-2016, Robert M. Supnik
Permission is hereby granted, free of charge, to any person obtaining a Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"), copy of this software and associated documentation files (the "Software"),
@ -25,6 +25,7 @@
mt 7-track magtape mt 7-track magtape
20-Oct-16 RMS Must call sim_tape_attach to use library (Mark Pizzolato)
03-Sep-13 RMS Read TMK does not write GM+WM to memory 03-Sep-13 RMS Read TMK does not write GM+WM to memory
19-Mar-11 RMS Restored lost edit to insert EOF in memory on read EOF 19-Mar-11 RMS Restored lost edit to insert EOF in memory on read EOF
Reverted multiple tape indicator implementation Reverted multiple tape indicator implementation
@ -170,7 +171,7 @@ DEVICE mt_dev = {
"MT", mt_unit, mt_reg, mt_mod, "MT", mt_unit, mt_reg, mt_mod,
MT_NUMDR, 10, 31, 1, 8, 8, MT_NUMDR, 10, 31, 1, 8, 8,
NULL, NULL, &mt_reset, NULL, NULL, &mt_reset,
&mt_boot, NULL, NULL, &mt_boot, &sim_tape_attach, &sim_tape_detach,
NULL, DEV_DEBUG NULL, DEV_DEBUG
}; };