mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
I7000, B5500: Make sure card reader devices always perform read-only.file opens
This commit is contained in:
parent
0b209d2383
commit
6bfad051a8
@ -31,8 +31,7 @@
|
||||
#include "sim_defs.h"
|
||||
#include "sim_console.h"
|
||||
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | UNIT_ROABLE | \
|
||||
MODE_029
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_029
|
||||
#define UNIT_CDP UNIT_ATTABLE | UNIT_DISABLE | MODE_029
|
||||
#define UNIT_LPR UNIT_ATTABLE | UNIT_DISABLE
|
||||
|
||||
|
||||
@ -34,8 +34,7 @@
|
||||
#include "sim_defs.h"
|
||||
#ifdef NUM_DEVS_CDR
|
||||
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | \
|
||||
UNIT_ROABLE | MODE_026
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_026
|
||||
|
||||
/* Flags for punch and reader. */
|
||||
#define ATTENA (1 << (UNIT_V_UF+7))
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
|
||||
#ifdef NUM_DEVS_CDR
|
||||
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | UNIT_ROABLE |\
|
||||
MODE_026
|
||||
#define UNIT_CDR UNIT_ATTABLE | UNIT_RO | UNIT_DISABLE | MODE_026
|
||||
|
||||
|
||||
/* std devices. data structures
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user