Previous 199869 Revisions Next

r21482 Thursday 28th February, 2013 at 18:53:03 UTC by Angelo Salese
Check-point
[src/mame/drivers]gunpey.c

trunk/src/mame/drivers/gunpey.c
r21481r21482
6464   0x7ffd: 0x43
6565   0x7ffe: 0xf0
6666   0x7fff: 0x15
67Then, it fills the following work RAMs (with 0 except where noted):
680x5e36, 0x5e38, 0x5e44, 0x5e46 (4), 0x5e48, 0x5e4a, 0x5e40, 0x5e42, 0x5b68 (0x9c8), 0x5b6a (0x9c8), 0x59c4 (1)
690x8473b: call 0x81415 (TODO)
67   Then, it fills the following work RAMs (with 0 except where noted):
68   0x5e36, 0x5e38, 0x5e44, 0x5e46 (4), 0x5e48, 0x5e4a, 0x5e40, 0x5e42, 0x5b68 (0x9c8), 0x5b6a (0x9c8), 0x59c4 (1)
690x8473b: call 0x81415
70   reads [0x500e] -> [0xf0bc]
71   reads [0x5010] -> [0xf0be]
72   (does it twice, shrug -.-")
73   reads 0xf0bc / 0xf0be
74   AW = 0xb3c9, CW = 0x10
75   0x81447: call 0xb3aa0
76      moves RAM from 0xb3c90-0xb3c9f to RAM 0x400-0x40f
77   writes 0x800 to [0xf0b8] writes 0 to [0xf0ba]
78   loops while writing to [0xf0b8] [0xf0ba] for 0x200 times, filling a table at [0x800][0x27f0] with a 1
79   writes 0x800 to [0xf0b8] writes 0 to [0xf0ba] again
80   reads the [0xf0b8][0xf0ba]
81   0x81484: call 0xb3aa0
82      moves RAM from 0xb3ca0-0xb3caf to RAM 0x800-0x80f
83   writes 0x2800 to [0xf0b8] writes 0 to [0xf0ba]
84   loops while writing to [0xf0b8] [0xf0ba] for 0x200 times, filling a table at [0x2800][0x47f0] with a 1
85   0x81484: call 0xb3aa0
86      moves RAM from 0xb3ca0-0xb3caf to RAM 0x2800-0x280f
870x84740: call 0x821cd
88   fills 0x5c88-0x5c9a with this pattern (byte writes):
89   [+0x00] 0x00
90   [+0x02] 0x00
91   [+0x08] 0x00
92   [+0x04] 0x00
93   [+0x0c] 0x00
94   [+0x0e] 0x0c
95   [+0x06] 0x00
96   [+0x10] 0x00
97   [+0x12] 0x0c
98   does the same with 0x5c89-0x5c9b
990x84745: call 0x82026 (TODO)
70100
101
71102=============================================================================================
72103
73104Gunpey

Previous 199869 Revisions Next


© 1997-2024 The MAME Team