summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cocoloco.cpp
diff options
context:
space:
mode:
author RobertoFresca <robbie@mamedev.org>2016-03-21 22:46:12 -0300
committer RobertoFresca <robbie@mamedev.org>2016-03-21 22:46:12 -0300
commit8b03ca10d8b877b04344eb44bd8b247c8db6c6d9 (patch)
tree62662ed6f1ce19471bbe43105d668e9d4c2cbca7 /src/mame/drivers/cocoloco.cpp
parent95f865828622aafa52e1d9156b09e8b91a8426d0 (diff)
Coco Loco: Added technical notes [Roberto Fresca]
Diffstat (limited to 'src/mame/drivers/cocoloco.cpp')
-rw-r--r--src/mame/drivers/cocoloco.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index 9bde8d678d8..8108cbb2b7d 100644
--- a/src/mame/drivers/cocoloco.cpp
+++ b/src/mame/drivers/cocoloco.cpp
@@ -394,6 +394,17 @@ ADDRESS_MAP_END
All 3 instances of A005 reads (d07e, d355 and dca8),
discard the read in a non-sense way....
+ IE (from set 2):
+
+ D7B6: A9 00 ; lda #$00
+ D7B8: 85 EE ; sta $EE
+ D7BA: AD 05 A0 ; lda $A005 <--- Load A with $A005 contents...
+ D7BD: AD 00 A0 ; lda $A000 <--- Load again A with $A000 contents.
+ D7C0: 10 FB ; bpl $D7BD
+ D7C2: AD 00 A0 ; lda $A000
+ D7C5: 30 FB ; bmi $D7C2
+ D7C7: 60 ; rts
+
There is another register (8005h), that is written by the code
(bit3 on/off) after coin-in, and checking the inputs too...
Seems coin counter, but the input check is suspicious.