trunk/src/mame/drivers/8080bw.c
| r19586 | r19587 | |
| 2154 | 2154 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 ) |
| 2155 | 2155 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2156 | 2156 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2157 | |
| 2158 | PORT_START("P2") |
| 2159 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 2160 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(2) |
| 2161 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(2) |
| 2162 | |
| 2163 | /* Dummy port for cocktail mode */ |
| 2164 | INVADERS_CAB_TYPE_PORT |
| 2157 | 2165 | INPUT_PORTS_END |
| 2158 | 2166 | |
| 2159 | 2167 | // 'no 1' which is displayed before each player plays actually refers to the wave number, not the player number! |
| r19586 | r19587 | |
| 2194 | 2202 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 ) |
| 2195 | 2203 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) |
| 2196 | 2204 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 2205 | |
| 2206 | PORT_START("P2") |
| 2207 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 2208 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(2) |
| 2209 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(2) |
| 2210 | |
| 2211 | /* Dummy port for cocktail mode */ |
| 2212 | INVADERS_CAB_TYPE_PORT |
| 2197 | 2213 | INPUT_PORTS_END |
| 2198 | 2214 | |
| 2215 | READ8_MEMBER( _8080bw_state::shuttlei_ff_r ) |
| 2216 | { |
| 2217 | UINT8 data = ioport("INPUTS")->read(); |
| 2218 | if (!m_c8080bw_flip_screen) return data; |
| 2219 | return (data & 0x3b) | ioport("P2")->read(); |
| 2220 | } |
| 2221 | |
| 2222 | WRITE8_MEMBER( _8080bw_state::shuttlei_ff_w ) |
| 2223 | { |
| 2224 | /* bit 0 goes high when first coin inserted |
| 2225 | bit 1 also goes high when subsequent coins are inserted |
| 2226 | These may be for indicator lamps under the start buttons. |
| 2227 | bit 2 goes high while player 2 is playing */ |
| 2228 | |
| 2229 | m_c8080bw_flip_screen = BIT(data, 2) & BIT(ioport(CABINET_PORT_TAG)->read(), 0); |
| 2230 | } |
| 2231 | |
| 2199 | 2232 | static ADDRESS_MAP_START( shuttlei_map, AS_PROGRAM, 8, _8080bw_state ) |
| 2200 | 2233 | AM_RANGE(0x0000, 0x1fff) AM_ROM |
| 2201 | 2234 | AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram") |
| r19586 | r19587 | |
| 2207 | 2240 | AM_RANGE(0xfc, 0xfc) AM_WRITENOP /* game writes 0xAA every so often (perhaps when base hit?) */ |
| 2208 | 2241 | AM_RANGE(0xfd, 0xfd) AM_WRITE(shuttlei_sh_port_1_w) |
| 2209 | 2242 | AM_RANGE(0xfe, 0xfe) AM_READ_PORT("DSW") AM_WRITE(shuttlei_sh_port_2_w) |
| 2210 | | AM_RANGE(0xff, 0xff) AM_READ_PORT("INPUTS") |
| 2243 | AM_RANGE(0xff, 0xff) AM_READWRITE(shuttlei_ff_r,shuttlei_ff_w) |
| 2211 | 2244 | ADDRESS_MAP_END |
| 2212 | 2245 | |
| 2213 | 2246 | |
| r19586 | r19587 | |
| 4286 | 4319 | GAME( 1979, solfight, ozmawars, invaders, ozmawars, driver_device, 0, ROT270, "bootleg", "Solar Fight (bootleg of Ozma Wars)", GAME_SUPPORTS_SAVE ) |
| 4287 | 4320 | GAME( 1979, yosakdon, 0, yosakdon, yosakdon, driver_device, 0, ROT270, "Wing", "Yosaku To Donbei (set 1)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 4288 | 4321 | GAME( 1979, yosakdona, yosakdon, yosakdon, yosakdon, driver_device, 0, ROT270, "Wing", "Yosaku To Donbei (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 4289 | | GAMEL(1979, shuttlei, 0, shuttlei, shuttlei, driver_device, 0, ROT270, "Omori Electric Co., Ltd.", "Shuttle Invader", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL, layout_shuttlei ) |
| 4290 | | GAMEL(1979, skylove, 0, shuttlei, skylove, driver_device, 0, ROT270, "Omori Electric Co., Ltd.", "Sky Love", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL, layout_shuttlei ) |
| 4322 | GAMEL(1979, shuttlei, 0, shuttlei, shuttlei, driver_device, 0, ROT270, "Omori Electric Co., Ltd.", "Shuttle Invader", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_shuttlei ) |
| 4323 | GAMEL(1979, skylove, 0, shuttlei, skylove, driver_device, 0, ROT270, "Omori Electric Co., Ltd.", "Sky Love", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_shuttlei ) |
| 4291 | 4324 | GAME (1978, claybust, 0, claybust, claybust, driver_device, 0, ROT0, "Model Racing", "Claybuster", GAME_SUPPORTS_SAVE | GAME_NO_SOUND ) // no titlescreen, Claybuster according to flyers |
| 4292 | 4325 | GAME (1980, gunchamp, 0, claybust, gunchamp, driver_device, 0, ROT0, "Model Racing", "Gun Champ", GAME_SUPPORTS_SAVE | GAME_NO_SOUND ) // no titlescreen, Gun Champ according to original cab |
| 4293 | 4326 | GAME( 19??, astropal, 0, astropal, astropal, driver_device, 0, ROT0, "Sidam?", "Astropal", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |