summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ddealer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ddealer.c')
-rw-r--r--src/mame/drivers/ddealer.c88
1 files changed, 44 insertions, 44 deletions
diff --git a/src/mame/drivers/ddealer.c b/src/mame/drivers/ddealer.c
index af92f0d6f23..644bf39f986 100644
--- a/src/mame/drivers/ddealer.c
+++ b/src/mame/drivers/ddealer.c
@@ -1,65 +1,65 @@
/*********************************************************************************************************
- Double Dealer (c)NMK 1991
+ Double Dealer (c)NMK 1991
- driver by Angelo Salese & David Haywood, based on early work by Tomasz Slanina
+ driver by Angelo Salese & David Haywood, based on early work by Tomasz Slanina
- Appears to be a down-grade of the nmk16 HW
+ Appears to be a down-grade of the nmk16 HW
- TODO:
- -When you use the "gun card" the game gives "minus" points,but points are always added,inaccurate protection?
- -Understand better the video emulation and convert it to tilemaps;
- -A Double Dealer manual is needed for the coinage settings and coin/credit simulation;
- -Decap + emulate MCU, required if the random number generation is going to be accurate;
+ TODO:
+ -When you use the "gun card" the game gives "minus" points,but points are always added,inaccurate protection?
+ -Understand better the video emulation and convert it to tilemaps;
+ -A Double Dealer manual is needed for the coinage settings and coin/credit simulation;
+ -Decap + emulate MCU, required if the random number generation is going to be accurate;
==========================================================================================================
- --
+ --
- pcb marked GD91071
+ pcb marked GD91071
- 68000P10
- YM2203C
- 91071-3 (Mask ROM)
- NMK-110 8131 ( Mitsubishi M50747 MCU ?)
- NMK 901
- NMK 902
- NMK 903 x2
- 82S135N ("5")
- 82S129N ("6")
- xtals 16.000 MHz and 6.000 MHz
- DSW x2
+ 68000P10
+ YM2203C
+ 91071-3 (Mask ROM)
+ NMK-110 8131 ( Mitsubishi M50747 MCU ?)
+ NMK 901
+ NMK 902
+ NMK 903 x2
+ 82S135N ("5")
+ 82S129N ("6")
+ xtals 16.000 MHz and 6.000 MHz
+ DSW x2
- --
+ --
- Few words about protection:
+ Few words about protection:
- - Work RAM at $fe000 - $fffff is shared with MCU . Maybe whole $f0000-$fffff is shared ...
- - After boot, game writes random-looking data to work RAM:
+ - Work RAM at $fe000 - $fffff is shared with MCU . Maybe whole $f0000-$fffff is shared ...
+ - After boot, game writes random-looking data to work RAM:
- 00052C: 33FC 1234 000F E086 move.w #$1234, $fe086.l
- 000534: 33FC 5678 000F E164 move.w #$5678, $fe164.l
- 00053C: 33FC 9CA3 000F E62E move.w #$9ca3, $fe62e.l
- 000544: 33FC ABA2 000F E734 move.w #$aba2, $fe734.l
- 00054C: 33FC B891 000F E828 move.w #$b891, $fe828.l
- 000554: 33FC C760 000F E950 move.w #$c760, $fe950.l
- 00055C: 33FC D45F 000F EA7C move.w #$d45f, $fea7c.l
- 000564: 33FC E32E 000F ED4A move.w #$e32e, $fed4a.l
+ 00052C: 33FC 1234 000F E086 move.w #$1234, $fe086.l
+ 000534: 33FC 5678 000F E164 move.w #$5678, $fe164.l
+ 00053C: 33FC 9CA3 000F E62E move.w #$9ca3, $fe62e.l
+ 000544: 33FC ABA2 000F E734 move.w #$aba2, $fe734.l
+ 00054C: 33FC B891 000F E828 move.w #$b891, $fe828.l
+ 000554: 33FC C760 000F E950 move.w #$c760, $fe950.l
+ 00055C: 33FC D45F 000F EA7C move.w #$d45f, $fea7c.l
+ 000564: 33FC E32E 000F ED4A move.w #$e32e, $fed4a.l
- Some (or maybe all ?) of above enables random generator at $fe010 - $fe017
+ Some (or maybe all ?) of above enables random generator at $fe010 - $fe017
- - There's also MCU response (write/read/test) test just after these writes.
- (probably data used in the check depends on above writes). It's similar to
- jalmah.c tests, but num of responses is different, and shared ram is
- used to communicate with MCU
+ - There's also MCU response (write/read/test) test just after these writes.
+ (probably data used in the check depends on above writes). It's similar to
+ jalmah.c tests, but num of responses is different, and shared ram is
+ used to communicate with MCU
- - After last check (or maybe durning tests ... no idea)
- MCU writes $4ef900000604 (jmp $604) to $fe000 and game jumps to this address.
+ - After last check (or maybe durning tests ... no idea)
+ MCU writes $4ef900000604 (jmp $604) to $fe000 and game jumps to this address.
- - code at $604 writes $20.w to $fe018 and $1.w to $fe01e.
- As result shared ram $fe000 - $fe007 is cleared.
+ - code at $604 writes $20.w to $fe018 and $1.w to $fe01e.
+ As result shared ram $fe000 - $fe007 is cleared.
- Also many, many other reads/writes from/to shared mem.
- Few checks every interrupt:
+ Also many, many other reads/writes from/to shared mem.
+ Few checks every interrupt:
interrupt, lvl1