diff options
Diffstat (limited to 'src/devices/cpu/pdp1/pdp1.cpp')
-rw-r--r-- | src/devices/cpu/pdp1/pdp1.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp index 2d04709a4a9..f16985610f0 100644 --- a/src/devices/cpu/pdp1/pdp1.cpp +++ b/src/devices/cpu/pdp1/pdp1.cpp @@ -386,6 +386,8 @@ pdp1_device::pdp1_device(const machine_config &mconfig, const char *tag, device_ , m_program_config("program", ENDIANNESS_BIG, 32, 18, -2) // data is actually 18 bits wide , m_extern_iot(*this) , m_io_sc_callback(*this) + , m_program(nullptr) + , m_reset_param(nullptr) { m_program_config.m_is_octal = true; } @@ -783,7 +785,7 @@ void pdp1_device::execute_run() /* read first word as instruction */ MB = 0; /* data will be transferred to IO register in response to RPB */ - m_extern_iot[2](2, 0, 1, IO, AC); + m_extern_iot[2](2, 1, MB, IO, AC); m_rim_step = 1; m_ios = 0; break; @@ -827,9 +829,8 @@ void pdp1_device::execute_run() case 2: /* read second word as data */ - MB = 0; /* data will be transferred to IO register in response to RPB */ - m_extern_iot[2](2, 0, 1, IO, AC); + m_extern_iot[2](2, 1, MB, IO, AC); m_rim_step = 3; m_ios = 0; break; |