summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/pdp1
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2010-01-30 14:29:45 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2010-01-30 14:29:45 +0000
commit3c294740894905fd338986e12b3665b7e952fb12 (patch)
treeba68335e285bd48498dcee9158cce16f903b5601 /src/emu/cpu/pdp1
parent6e568917c881bd48cf5c643dc050c0ab6c509a73 (diff)
Fixed disassembly of PDP1,TX0 and APEXC [Robbbert]
Diffstat (limited to 'src/emu/cpu/pdp1')
-rw-r--r--src/emu/cpu/pdp1/pdp1dasm.c2
-rw-r--r--src/emu/cpu/pdp1/tx0dasm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/pdp1/pdp1dasm.c b/src/emu/cpu/pdp1/pdp1dasm.c
index 05e5e8eaac5..a712484537d 100644
--- a/src/emu/cpu/pdp1/pdp1dasm.c
+++ b/src/emu/cpu/pdp1/pdp1dasm.c
@@ -23,7 +23,7 @@ CPU_DISASSEMBLE( pdp1 )
int md;
//int etime = 0;
- md = *((UINT32 *) oprom);
+ md = oprom[0] << 24 | oprom[1] << 16 | oprom[2] << 8 | oprom[3];
y = md & 07777;
ib = (md >> 12) & 1; /* */
diff --git a/src/emu/cpu/pdp1/tx0dasm.c b/src/emu/cpu/pdp1/tx0dasm.c
index e05c35d6ec8..cbffead5fe8 100644
--- a/src/emu/cpu/pdp1/tx0dasm.c
+++ b/src/emu/cpu/pdp1/tx0dasm.c
@@ -6,7 +6,7 @@ CPU_DISASSEMBLE( tx0_64kw )
int md;
int x;
- md = *((UINT32 *) oprom);
+ md = oprom[0] << 24 | oprom[1] << 16 | oprom[2] << 8 | oprom[3];
x = md & 0177777;
switch (md >> 16)
@@ -32,7 +32,7 @@ CPU_DISASSEMBLE( tx0_8kw )
int md;
int x;
- md = *((UINT32 *) oprom);
+ md = oprom[0] << 24 | oprom[1] << 16 | oprom[2] << 8 | oprom[3];
x = md & 0017777;
switch (md >> 13)