trunk/src/mame/drivers/expro02.c
| r243544 | r243545 | |
| 71 | 71 | clock input on any of the pins of these chips. They're not ROMs either |
| 72 | 72 | because the pinout doesn't match any known EPROMs. |
| 73 | 73 | There are no markings on the chips other than 'GP-U27' & 'GP-U41' |
| 74 | | If GP-U41 is removed, on bootup the PCB gives an error 'fg_ind8 ERROR' and |
| 74 | If GP-U41 is removed, on bootup the PCB gives an error 'BG ERROR' and |
| 75 | 75 | a memory address. If GP-U27 is removed, the PCB works but there are no |
| 76 | 76 | background graphics. |
| 77 | 77 | |
| r243544 | r243545 | |
| 255 | 255 | READ16_MEMBER(comad_timer_r); |
| 256 | 256 | READ8_MEMBER(comad_okim6295_r); |
| 257 | 257 | WRITE16_MEMBER(galpanica_6295_bankswitch_w); |
| 258 | | WRITE16_MEMBER(clear_bg_w); |
| 259 | 258 | }; |
| 260 | 259 | |
| 261 | 260 | |
| r243544 | r243545 | |
| 286 | 285 | { |
| 287 | 286 | UINT16 dat = (m_expro02_bg_rgb555_pixram[count] & 0xfffe)>>1; |
| 288 | 287 | dat+=2048; |
| 289 | | dest[x] = dat; |
| 288 | |
| 289 | // never seen to test |
| 290 | //if (!(m_expro02_bg_rgb555_pixram[count] & 0x0001)) |
| 291 | { |
| 292 | dest[x] = dat; |
| 293 | } |
| 294 | /* |
| 295 | else |
| 296 | { |
| 297 | dest[x] = 0x0000; |
| 298 | } |
| 299 | */ |
| 300 | |
| 290 | 301 | count++; |
| 291 | 302 | } |
| 292 | 303 | } |
| r243544 | r243545 | |
| 730 | 741 | ADDRESS_MAP_END |
| 731 | 742 | |
| 732 | 743 | |
| 733 | | WRITE16_MEMBER(expro02_state::clear_bg_w) |
| 734 | | { |
| 735 | | int i; |
| 736 | | for(i = 0; i < 8; i++) |
| 737 | | { |
| 738 | | m_expro02_bg_rgb555_pixram[offset * 8 + i] = 0x0000; |
| 739 | | } |
| 740 | | } |
| 741 | 744 | |
| 742 | 745 | |
| 743 | 746 | static ADDRESS_MAP_START( galhustl_map, AS_PROGRAM, 16, expro02_state ) |
| 744 | 747 | AM_RANGE(0x000000, 0x0fffff) AM_ROM |
| 745 | 748 | AM_RANGE(0x200000, 0x2fffff) AM_ROM AM_REGION("maincpudata", 0) |
| 746 | 749 | |
| 747 | | AM_RANGE(0x580000, 0x583fff) AM_RAM_WRITE(clear_bg_w) // I don't think this is correct, it would be associated with the unused VIEW02 tilemap, although this hardware could have implemented things differently as it's an original game, not a GP hack |
| 748 | | |
| 749 | 750 | AM_RANGE(0x800000, 0x800001) AM_READ_PORT("DSW1") |
| 750 | 751 | AM_RANGE(0x800002, 0x800003) AM_READ_PORT("DSW2") |
| 751 | 752 | AM_RANGE(0x800004, 0x800005) AM_READ_PORT("SYSTEM") |