trunk/src/mame/drivers/shangha3.c
r18254 | r18255 | |
21 | 21 | - attract mode tries to read at 0x80000-0xfffff area, returning 0 in there |
22 | 22 | freezes the demo play for some frames (MT #00985). For now I've returned $ff, |
23 | 23 | but needs HW tests to check out what lies in there (maybe a ROM mirror). |
24 | | - how to play screen is bogus, it basically doesn't follow the ball at all. |
| 24 | - how to play screen is bogus, it basically loses sync pretty soon. |
25 | 25 | |
26 | 26 | ***************************************************************************/ |
27 | 27 | |
r18254 | r18255 | |
63 | 63 | } |
64 | 64 | |
65 | 65 | |
66 | | READ16_MEMBER(shangha3_state::heberpop_gfxrom_r) |
67 | | { |
68 | | UINT8 *ROM = memregion("gfx1")->base(); |
69 | 66 | |
70 | | return ROM[2*offset] | (ROM[2*offset+1] << 8); |
71 | | } |
72 | | |
73 | | |
74 | | |
75 | 67 | WRITE16_MEMBER(shangha3_state::shangha3_coinctrl_w) |
76 | 68 | { |
77 | 69 | if (ACCESSING_BITS_8_15) |
r18254 | r18255 | |
157 | 149 | AM_RANGE(0x300000, 0x30ffff) AM_RAM AM_SHARE("ram") /* gfx & work ram */ |
158 | 150 | AM_RANGE(0x340000, 0x340001) AM_WRITE(shangha3_flipscreen_w) |
159 | 151 | AM_RANGE(0x360000, 0x360001) AM_WRITE(shangha3_gfxlist_addr_w) |
160 | | AM_RANGE(0x800000, 0xb7ffff) AM_READ(heberpop_gfxrom_r) |
| 152 | AM_RANGE(0x800000, 0xb7ffff) AM_ROM AM_REGION("gfx1", 0) |
161 | 153 | ADDRESS_MAP_END |
162 | 154 | |
163 | 155 | static ADDRESS_MAP_START( blocken_map, AS_PROGRAM, 16, shangha3_state ) |
r18254 | r18255 | |
173 | 165 | AM_RANGE(0x300000, 0x30ffff) AM_RAM AM_SHARE("ram") /* gfx & work ram */ |
174 | 166 | AM_RANGE(0x340000, 0x340001) AM_WRITE(shangha3_flipscreen_w) |
175 | 167 | AM_RANGE(0x360000, 0x360001) AM_WRITE(shangha3_gfxlist_addr_w) |
176 | | AM_RANGE(0x800000, 0xb7ffff) AM_READ(heberpop_gfxrom_r) |
| 168 | AM_RANGE(0x800000, 0xb7ffff) AM_ROM AM_REGION("gfx1", 0) |
177 | 169 | ADDRESS_MAP_END |
178 | 170 | |
179 | 171 | |
r18254 | r18255 | |
616 | 608 | ROM_REGION( 0x10000, "audiocpu", 0 ) |
617 | 609 | ROM_LOAD( "hbpic34.bin", 0x0000, 0x10000, CRC(0cf056c6) SHA1(9992cd3879d9a57fcb784fc1e11d6b6d87e5a366) ) |
618 | 610 | |
619 | | ROM_REGION( 0x380000, "gfx1", 0 ) /* don't dispose, read during tests */ |
| 611 | ROM_REGION( 0x380000, "gfx1", ROMREGION_ERASEFF ) |
620 | 612 | ROM_LOAD( "hbpic98.bin", 0x000000, 0x80000, CRC(a599100a) SHA1(f2e517256a42b3fa4a047bbe742d714f568cc117) ) |
621 | 613 | ROM_LOAD( "hbpic99.bin", 0x080000, 0x80000, CRC(fb8bb12f) SHA1(78c1fec1371d312e113d92803dd59acc36604989) ) |
622 | 614 | ROM_LOAD( "hbpic100.bin", 0x100000, 0x80000, CRC(05a0f765) SHA1(4f44cf367c3697eb6c245297c9d05160d7d94e24) ) |
r18254 | r18255 | |
637 | 629 | ROM_REGION( 0x10000, "audiocpu", 0 ) |
638 | 630 | ROM_LOAD( "ic34.bin", 0x0000, 0x10000, CRC(23e446ff) SHA1(82c03b45b337696b0f8293c446544d7ee080d415) ) |
639 | 631 | |
640 | | ROM_REGION( 0x380000, "gfx1", 0 ) /* don't dispose, read during tests */ |
| 632 | ROM_REGION( 0x380000, "gfx1", ROMREGION_ERASEFF ) |
641 | 633 | ROM_LOAD( "ic98j.bin", 0x000000, 0x80000, CRC(35dda273) SHA1(95850d12ca1557c14bc471ddf925aaf423313ff0) ) |
642 | 634 | ROM_LOAD( "ic99j.bin", 0x080000, 0x80000, CRC(ce43762b) SHA1(e1c51ea0b54b5febdee127619e15f1cda650cb4c) ) |
643 | 635 | /* 100000-1fffff empty */ |