summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-07-26 10:12:50 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-07-26 10:12:50 -0400
commit38ec7ab5330596f03fbac530cff27de529b75e20 (patch)
treee9c63f9931a18506b503bbc9dcf306cb77e3702f
parent7f784f365d36c7645c9d35ee24fa727861e2f61a (diff)
COP command fix for minor heatbrl regression; misc. notes (nw)
-rw-r--r--src/mame/machine/seibucop/seibucop.cpp1
-rw-r--r--src/mame/machine/seibucop/seibucop_cmd.hxx2
-rw-r--r--src/mame/machine/seicop.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/machine/seibucop/seibucop.cpp b/src/mame/machine/seibucop/seibucop.cpp
index 876802db3c4..72594e43513 100644
--- a/src/mame/machine/seibucop/seibucop.cpp
+++ b/src/mame/machine/seibucop/seibucop.cpp
@@ -70,6 +70,7 @@
013F66: 1140 003D move.b D0, ($3d,A0) // move angle value to [0x3d]
013F6A: 4E75 rts
Zero Team
+ - Some faulty collision detection, e.g. crate in front of aquarium in stage 1
- Bird Boss jumps to wrong direction
the sequence called is:
write to reg 4 then execute 0xfc84 and 0xf790, finally reads the distance.
diff --git a/src/mame/machine/seibucop/seibucop_cmd.hxx b/src/mame/machine/seibucop/seibucop_cmd.hxx
index 2dfa303cd85..c007437ab3d 100644
--- a/src/mame/machine/seibucop/seibucop_cmd.hxx
+++ b/src/mame/machine/seibucop/seibucop_cmd.hxx
@@ -153,6 +153,8 @@ void raiden2cop_device::execute_338e(int offset, UINT16 data)
int dx = m_host_space->read_dword(cop_regs[1] + 4) - m_host_space->read_dword(cop_regs[0] + 4);
int dy = m_host_space->read_dword(cop_regs[1] + 8) - m_host_space->read_dword(cop_regs[0] + 8);
+ cop_status = 7;
+
if (!dy) {
cop_status |= 0x8000;
cop_angle = 0;
diff --git a/src/mame/machine/seicop.cpp b/src/mame/machine/seicop.cpp
index e0ea5cb717f..5b1ba2b44a4 100644
--- a/src/mame/machine/seicop.cpp
+++ b/src/mame/machine/seicop.cpp
@@ -6,7 +6,7 @@
- Seibu Cup Soccer (bootleg)
Notice that only the bare minimum is supported, which is what the bootleg device actually
- do.
+ provides. Unlike the original device and many other Seibu customs, it has no DMA.
Apparently it's an Actel PL84c FPGA programmed to be a Seibu COP clone.
The internal operations are actually loaded via the ROMs, we use the original algorithm
for the trigger until we find the proper hookup.