trunk/src/mame/drivers/famibox.c
| r32520 | r32521 | |
| 120 | 120 | UINT32 screen_update_famibox(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 121 | 121 | TIMER_CALLBACK_MEMBER(famicombox_attract_timer_callback); |
| 122 | 122 | TIMER_CALLBACK_MEMBER(famicombox_gameplay_timer_callback); |
| 123 | | void set_mirroring(famibox_state *state, int mirroring); |
| 123 | void set_mirroring(int mirroring); |
| 124 | 124 | void famicombox_bankswitch(UINT8 bank); |
| 125 | 125 | void famicombox_reset(); |
| 126 | 126 | void ppu_irq(int *ppu_regs); |
| r32520 | r32521 | |
| 133 | 133 | *******************************************************/ |
| 134 | 134 | |
| 135 | 135 | #if 0 |
| 136 | | void famibox_state::set_mirroring(famibox_state *state, int mirroring) |
| 136 | void famibox_state::set_mirroring(int mirroring) |
| 137 | 137 | { |
| 138 | 138 | switch(mirroring) |
| 139 | 139 | { |
trunk/src/mame/drivers/warpsped.c
| r32520 | r32521 | |
| 91 | 91 | public: |
| 92 | 92 | warpspeed_state(const machine_config &mconfig, device_type type, const char *tag) |
| 93 | 93 | : driver_device(mconfig, type, tag), |
| 94 | m_maincpu(*this, "maincpu"), |
| 95 | m_gfxdecode(*this, "gfxdecode"), |
| 94 | 96 | m_videoram(*this, "videoram"), |
| 95 | | m_workram(*this, "workram"), |
| 96 | | m_maincpu(*this, "maincpu"), |
| 97 | | m_gfxdecode(*this, "gfxdecode") { } |
| 97 | m_workram(*this, "workram") { } |
| 98 | 98 | |
| 99 | required_device<cpu_device> m_maincpu; |
| 100 | required_device<gfxdecode_device> m_gfxdecode; |
| 101 | |
| 99 | 102 | required_shared_ptr<UINT8> m_videoram; |
| 103 | required_shared_ptr<UINT8> m_workram; |
| 104 | |
| 100 | 105 | tilemap_t *m_text_tilemap; |
| 101 | 106 | tilemap_t *m_starfield_tilemap; |
| 102 | | required_shared_ptr<UINT8> m_workram; |
| 103 | 107 | UINT8 m_regs[0x28]; |
| 104 | 108 | DECLARE_WRITE8_MEMBER(warpspeed_hardware_w); |
| 105 | 109 | DECLARE_WRITE8_MEMBER(warpspeed_vidram_w); |
| r32520 | r32521 | |
| 109 | 113 | virtual void video_start(); |
| 110 | 114 | DECLARE_PALETTE_INIT(warpspeed); |
| 111 | 115 | UINT32 screen_update_warpspeed(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 112 | | required_device<cpu_device> m_maincpu; |
| 113 | | required_device<gfxdecode_device> m_gfxdecode; |
| 116 | void draw_circles(bitmap_ind16 &bitmap); |
| 114 | 117 | }; |
| 115 | 118 | |
| 116 | 119 | WRITE8_MEMBER(warpspeed_state::warpspeed_hardware_w) |
| r32520 | r32521 | |
| 192 | 195 | } |
| 193 | 196 | } |
| 194 | 197 | |
| 195 | | static void warpspeed_draw_circles(bitmap_ind16 &bitmap, warpspeed_state *state) |
| 198 | void warpspeed_state::draw_circles(bitmap_ind16 &bitmap) |
| 196 | 199 | { |
| 197 | 200 | for (int i = 0; i < 4; i++) |
| 198 | 201 | { |
| 199 | | UINT16 radius = state->m_regs[i*8] + state->m_regs[i*8 + 1]*256; |
| 202 | UINT16 radius = m_regs[i*8] + m_regs[i*8 + 1]*256; |
| 200 | 203 | radius = 0xffff - radius; |
| 201 | 204 | radius = sqrt((float)radius); |
| 202 | | INT16 midx = state->m_regs[i*8 + 2] + state->m_regs[i*8 + 3]*256; |
| 205 | INT16 midx = m_regs[i*8 + 2] + m_regs[i*8 + 3]*256; |
| 203 | 206 | midx -= 0xe70; |
| 204 | | INT16 midy = state->m_regs[i*8 + 4] + state->m_regs[i*8 + 5]*256; |
| 207 | INT16 midy = m_regs[i*8 + 4] + m_regs[i*8 + 5]*256; |
| 205 | 208 | midy -= 0xe70; |
| 206 | 209 | if ( radius == 0 || radius == 0xffff ) |
| 207 | 210 | { |
| 208 | 211 | continue; |
| 209 | 212 | } |
| 210 | | warpspeed_draw_circle(bitmap, midx + 128 + 16, midy + 128 + 16, radius, (state->m_regs[i*8 + 6] & 0x07) + 2); |
| 213 | warpspeed_draw_circle(bitmap, midx + 128 + 16, midy + 128 + 16, radius, (m_regs[i*8 + 6] & 0x07) + 2); |
| 211 | 214 | } |
| 212 | 215 | } |
| 213 | 216 | |
| 214 | 217 | UINT32 warpspeed_state::screen_update_warpspeed(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 215 | 218 | { |
| 216 | 219 | m_starfield_tilemap->draw(screen, bitmap, cliprect, 0, 0); |
| 217 | | warpspeed_draw_circles(bitmap, this); |
| 220 | draw_circles(bitmap); |
| 218 | 221 | m_text_tilemap->draw(screen, bitmap, cliprect, 0, 0); |
| 219 | 222 | return 0; |
| 220 | 223 | } |
trunk/src/mame/drivers/bmcbowl.c
| r32520 | r32521 | |
| 141 | 141 | virtual void machine_reset(); |
| 142 | 142 | virtual void video_start(); |
| 143 | 143 | UINT32 screen_update_bmcbowl(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 144 | void init_stats(const UINT8 *table, int table_len, int address); |
| 144 | 145 | }; |
| 145 | 146 | |
| 146 | 147 | |
| r32520 | r32521 | |
| 285 | 286 | }; |
| 286 | 287 | |
| 287 | 288 | |
| 288 | | static void init_stats(bmcbowl_state *state, const UINT8 *table, int table_len, int address) |
| 289 | void bmcbowl_state::init_stats(const UINT8 *table, int table_len, int address) |
| 289 | 290 | { |
| 290 | | int i; |
| 291 | | for (i=0; i<table_len; i++) |
| 292 | | state->m_stats_ram[address+2*i]=table[i]; |
| 291 | for (int i = 0; i < table_len; i++) |
| 292 | m_stats_ram[address+2*i]=table[i]; |
| 293 | 293 | } |
| 294 | 294 | #endif |
| 295 | 295 | |
| r32520 | r32521 | |
| 299 | 299 | for (int i = 0; i < m_stats_ram.bytes(); i++) |
| 300 | 300 | m_stats_ram[i] = 0xff; |
| 301 | 301 | |
| 302 | | init_stats(this,bmc_nv1,ARRAY_LENGTH(bmc_nv1),0); |
| 303 | | init_stats(this,bmc_nv2,ARRAY_LENGTH(bmc_nv2),0x3b0); |
| 304 | | init_stats(this,bmc_nv3,ARRAY_LENGTH(bmc_nv3),0xfe2); |
| 302 | init_stats(bmc_nv1,ARRAY_LENGTH(bmc_nv1),0); |
| 303 | init_stats(bmc_nv2,ARRAY_LENGTH(bmc_nv2),0x3b0); |
| 304 | init_stats(bmc_nv3,ARRAY_LENGTH(bmc_nv3),0xfe2); |
| 305 | 305 | #endif |
| 306 | 306 | } |
| 307 | 307 | |
trunk/src/mame/drivers/vega.c
| r32520 | r32521 | |
| 160 | 160 | virtual void machine_start(); |
| 161 | 161 | virtual void machine_reset(); |
| 162 | 162 | DECLARE_PALETTE_INIT(vega); |
| 163 | void draw_tilemap(screen_device& screen, bitmap_ind16& bitmap, const rectangle& cliprect); |
| 163 | 164 | UINT32 screen_update_vega(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 164 | 165 | }; |
| 165 | 166 | |
| r32520 | r32521 | |
| 489 | 490 | } |
| 490 | 491 | |
| 491 | 492 | |
| 492 | | static void draw_tilemap(vega_state *state, screen_device& screen, bitmap_ind16& bitmap, const rectangle& cliprect) |
| 493 | void vega_state::draw_tilemap(screen_device& screen, bitmap_ind16& bitmap, const rectangle& cliprect) |
| 493 | 494 | { |
| 494 | 495 | { |
| 495 | | UINT8 *map_lookup = state->memregion("tilemaps")->base(); |
| 496 | UINT8 *map_lookup = memregion("tilemaps")->base(); |
| 496 | 497 | |
| 497 | | int offset_y=state->m_tilemap_offset_y; |
| 498 | | int offset_x=state->m_tilemap_offset_x; |
| 498 | int offset_y=m_tilemap_offset_y; |
| 499 | int offset_x=m_tilemap_offset_x; |
| 499 | 500 | |
| 500 | 501 | //logerror("%d %d\n",offset_x, offset_y); |
| 501 | 502 | |
| r32520 | r32521 | |
| 507 | 508 | int y0=yy*32; |
| 508 | 509 | |
| 509 | 510 | |
| 510 | | int id=map_lookup[((yy+xx*8)+ ((state->m_tilemap_flags&2)?0x400:0) + (state->m_tilemap_top<<6 ) ) &0x7ff]; |
| 511 | int id=map_lookup[((yy+xx*8)+ ((m_tilemap_flags&2)?0x400:0) + (m_tilemap_top<<6 ) ) &0x7ff]; |
| 511 | 512 | |
| 512 | 513 | int flip=BIT(id,5); |
| 513 | 514 | |
| r32520 | r32521 | |
| 528 | 529 | { |
| 529 | 530 | //for(int x=0;x<4;++x) |
| 530 | 531 | { |
| 531 | | state->m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, num, 0, 1,flip?1:0, x*4+x0-offset_x, (flip?(3-y):y)*8+y0-offset_y, 0); |
| 532 | m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, num, 0, 1,flip?1:0, x*4+x0-offset_x, (flip?(3-y):y)*8+y0-offset_y, 0); |
| 532 | 533 | ++num; |
| 533 | 534 | } |
| 534 | 535 | } |
| r32520 | r32521 | |
| 550 | 551 | |
| 551 | 552 | bitmap.fill(0, cliprect); |
| 552 | 553 | |
| 553 | | draw_tilemap(this, screen, bitmap, cliprect); |
| 554 | draw_tilemap(screen, bitmap, cliprect); |
| 554 | 555 | |
| 555 | 556 | |
| 556 | 557 | { |
trunk/src/mame/drivers/coolpool.c
| r32520 | r32521 | |
| 291 | 291 | return data; |
| 292 | 292 | } |
| 293 | 293 | |
| 294 | | static int amerdart_trackball_direction(address_space &space, int num, int data) |
| 294 | int coolpool_state::amerdart_trackball_direction(int num, int data) |
| 295 | 295 | { |
| 296 | | coolpool_state *state = space.machine().driver_data<coolpool_state>(); |
| 297 | | |
| 298 | 296 | UINT16 result_x = (data & 0x0c) >> 2; |
| 299 | 297 | UINT16 result_y = (data & 0x03) >> 0; |
| 300 | 298 | |
| 301 | 299 | |
| 302 | | if ((state->m_dx[num] == 0) && (state->m_dy[num] < 0)) { /* Up */ |
| 303 | | state->m_oldy[num]--; |
| 300 | if ((m_dx[num] == 0) && (m_dy[num] < 0)) { /* Up */ |
| 301 | m_oldy[num]--; |
| 304 | 302 | result_x = amerdart_trackball_inc(result_x); |
| 305 | 303 | result_y = amerdart_trackball_inc(result_y); |
| 306 | 304 | } |
| 307 | | if ((state->m_dx[num] == 0) && (state->m_dy[num] > 0)) { /* Down */ |
| 308 | | state->m_oldy[num]++; |
| 305 | if ((m_dx[num] == 0) && (m_dy[num] > 0)) { /* Down */ |
| 306 | m_oldy[num]++; |
| 309 | 307 | result_x = amerdart_trackball_dec(result_x); |
| 310 | 308 | result_y = amerdart_trackball_dec(result_y); |
| 311 | 309 | } |
| 312 | | if ((state->m_dx[num] < 0) && (state->m_dy[num] == 0)) { /* Left */ |
| 313 | | state->m_oldx[num]--; |
| 310 | if ((m_dx[num] < 0) && (m_dy[num] == 0)) { /* Left */ |
| 311 | m_oldx[num]--; |
| 314 | 312 | result_x = amerdart_trackball_inc(result_x); |
| 315 | 313 | result_y = amerdart_trackball_dec(result_y); |
| 316 | 314 | } |
| 317 | | if ((state->m_dx[num] > 0) && (state->m_dy[num] == 0)) { /* Right */ |
| 318 | | state->m_oldx[num]++; |
| 315 | if ((m_dx[num] > 0) && (m_dy[num] == 0)) { /* Right */ |
| 316 | m_oldx[num]++; |
| 319 | 317 | result_x = amerdart_trackball_dec(result_x); |
| 320 | 318 | result_y = amerdart_trackball_inc(result_y); |
| 321 | 319 | } |
| 322 | | if ((state->m_dx[num] < 0) && (state->m_dy[num] < 0)) { /* Left & Up */ |
| 323 | | state->m_oldx[num]--; |
| 324 | | state->m_oldy[num]--; |
| 320 | if ((m_dx[num] < 0) && (m_dy[num] < 0)) { /* Left & Up */ |
| 321 | m_oldx[num]--; |
| 322 | m_oldy[num]--; |
| 325 | 323 | result_x = amerdart_trackball_inc(result_x); |
| 326 | 324 | } |
| 327 | | if ((state->m_dx[num] < 0) && (state->m_dy[num] > 0)) { /* Left & Down */ |
| 328 | | state->m_oldx[num]--; |
| 329 | | state->m_oldy[num]++; |
| 325 | if ((m_dx[num] < 0) && (m_dy[num] > 0)) { /* Left & Down */ |
| 326 | m_oldx[num]--; |
| 327 | m_oldy[num]++; |
| 330 | 328 | result_y = amerdart_trackball_dec(result_y); |
| 331 | 329 | } |
| 332 | | if ((state->m_dx[num] > 0) && (state->m_dy[num] < 0)) { /* Right & Up */ |
| 333 | | state->m_oldx[num]++; |
| 334 | | state->m_oldy[num]--; |
| 330 | if ((m_dx[num] > 0) && (m_dy[num] < 0)) { /* Right & Up */ |
| 331 | m_oldx[num]++; |
| 332 | m_oldy[num]--; |
| 335 | 333 | result_y = amerdart_trackball_inc(result_y); |
| 336 | 334 | } |
| 337 | | if ((state->m_dx[num] > 0) && (state->m_dy[num] > 0)) { /* Right & Down */ |
| 338 | | state->m_oldx[num]++; |
| 339 | | state->m_oldy[num]++; |
| 335 | if ((m_dx[num] > 0) && (m_dy[num] > 0)) { /* Right & Down */ |
| 336 | m_oldx[num]++; |
| 337 | m_oldy[num]++; |
| 340 | 338 | result_x = amerdart_trackball_dec(result_x); |
| 341 | 339 | } |
| 342 | 340 | |
| r32520 | r32521 | |
| 398 | 396 | m_dy[2] = (INT8)(m_newy[2] - m_oldy[2]); |
| 399 | 397 | |
| 400 | 398 | /* Determine Trackball 1 direction state */ |
| 401 | | m_result = (m_result & 0xf0ff) | (amerdart_trackball_direction(space, 1, ((m_result >> 8) & 0xf)) << 8); |
| 399 | m_result = (m_result & 0xf0ff) | (amerdart_trackball_direction(1, ((m_result >> 8) & 0xf)) << 8); |
| 402 | 400 | |
| 403 | 401 | /* Determine Trackball 2 direction state */ |
| 404 | | m_result = (m_result & 0x0fff) | (amerdart_trackball_direction(space, 2, ((m_result >> 12) & 0xf)) << 12); |
| 402 | m_result = (m_result & 0x0fff) | (amerdart_trackball_direction(2, ((m_result >> 12) & 0xf)) << 12); |
| 405 | 403 | |
| 406 | 404 | |
| 407 | 405 | // logerror("%08X:read port 6 (X=%02X Y=%02X oldX=%02X oldY=%02X oldRes=%04X Res=%04X)\n", space.device().safe_pc(), m_newx, m_newy, m_oldx, m_oldy, m_lastresult, m_result); |
trunk/src/mame/drivers/exterm.c
| r32520 | r32521 | |
| 95 | 95 | * |
| 96 | 96 | *************************************/ |
| 97 | 97 | |
| 98 | | static UINT16 exterm_trackball_port_r(address_space &space, int which, UINT16 mem_mask) |
| 98 | UINT16 exterm_state::exterm_trackball_port_r(int which, UINT16 mem_mask) |
| 99 | 99 | { |
| 100 | | exterm_state *state = space.machine().driver_data<exterm_state>(); |
| 101 | 100 | UINT16 port; |
| 102 | 101 | |
| 103 | 102 | /* Read the fake input port */ |
| 104 | | UINT8 trackball_pos = state->ioport(which ? "DIAL1" : "DIAL0")->read(); |
| 103 | UINT8 trackball_pos = ioport(which ? "DIAL1" : "DIAL0")->read(); |
| 105 | 104 | |
| 106 | 105 | /* Calculate the change from the last position. */ |
| 107 | | UINT8 trackball_diff = state->m_trackball_old[which] - trackball_pos; |
| 106 | UINT8 trackball_diff = m_trackball_old[which] - trackball_pos; |
| 108 | 107 | |
| 109 | 108 | /* Store the new position for the next comparision. */ |
| 110 | | state->m_trackball_old[which] = trackball_pos; |
| 109 | m_trackball_old[which] = trackball_pos; |
| 111 | 110 | |
| 112 | 111 | /* Move the sign bit to the high bit of the 6-bit trackball count. */ |
| 113 | 112 | if (trackball_diff & 0x80) |
| 114 | 113 | trackball_diff |= 0x20; |
| 115 | 114 | |
| 116 | 115 | /* Keep adding the changes. The counters will be reset later by a hardware write. */ |
| 117 | | state->m_aimpos[which] = (state->m_aimpos[which] + trackball_diff) & 0x3f; |
| 116 | m_aimpos[which] = (m_aimpos[which] + trackball_diff) & 0x3f; |
| 118 | 117 | |
| 119 | 118 | /* Combine it with the standard input bits */ |
| 120 | | port = state->ioport(which ? "P2" : "P1")->read(); |
| 119 | port = ioport(which ? "P2" : "P1")->read(); |
| 121 | 120 | |
| 122 | | return (port & 0xc0ff) | (state->m_aimpos[which] << 8); |
| 121 | return (port & 0xc0ff) | (m_aimpos[which] << 8); |
| 123 | 122 | } |
| 124 | 123 | |
| 125 | 124 | |
| 126 | 125 | READ16_MEMBER(exterm_state::exterm_input_port_0_r) |
| 127 | 126 | { |
| 128 | | return exterm_trackball_port_r(space, 0, mem_mask); |
| 127 | return exterm_trackball_port_r(0, mem_mask); |
| 129 | 128 | } |
| 130 | 129 | |
| 131 | 130 | |
| 132 | 131 | READ16_MEMBER(exterm_state::exterm_input_port_1_r) |
| 133 | 132 | { |
| 134 | | return exterm_trackball_port_r(space, 1, mem_mask); |
| 133 | return exterm_trackball_port_r(1, mem_mask); |
| 135 | 134 | } |
| 136 | 135 | |
| 137 | 136 | |
trunk/src/mame/includes/exterm.h
| r32520 | r32521 | |
| 11 | 11 | public: |
| 12 | 12 | exterm_state(const machine_config &mconfig, device_type type, const char *tag) |
| 13 | 13 | : driver_device(mconfig, type, tag), |
| 14 | | m_master_videoram(*this, "master_videoram"), |
| 15 | | m_slave_videoram(*this, "slave_videoram"), |
| 16 | 14 | m_maincpu(*this, "maincpu"), |
| 17 | 15 | m_audiocpu(*this, "audiocpu"), |
| 18 | 16 | m_audioslave(*this, "audioslave"), |
| 19 | 17 | m_slave(*this, "slave"), |
| 20 | | m_dac(*this, "dac") { } |
| 18 | m_dac(*this, "dac"), |
| 19 | m_master_videoram(*this, "master_videoram"), |
| 20 | m_slave_videoram(*this, "slave_videoram") { } |
| 21 | 21 | |
| 22 | required_device<cpu_device> m_maincpu; |
| 23 | required_device<cpu_device> m_audiocpu; |
| 24 | required_device<cpu_device> m_audioslave; |
| 25 | required_device<tms34010_device> m_slave; |
| 26 | required_device<dac_device> m_dac; |
| 27 | |
| 28 | required_shared_ptr<UINT16> m_master_videoram; |
| 29 | required_shared_ptr<UINT16> m_slave_videoram; |
| 30 | |
| 22 | 31 | UINT8 m_aimpos[2]; |
| 23 | 32 | UINT8 m_trackball_old[2]; |
| 24 | 33 | UINT8 m_master_sound_latch; |
| r32520 | r32521 | |
| 26 | 35 | UINT8 m_sound_control; |
| 27 | 36 | UINT8 m_dac_value[2]; |
| 28 | 37 | UINT16 m_last; |
| 29 | | required_shared_ptr<UINT16> m_master_videoram; |
| 30 | | required_shared_ptr<UINT16> m_slave_videoram; |
| 38 | |
| 31 | 39 | DECLARE_WRITE16_MEMBER(exterm_host_data_w); |
| 32 | 40 | DECLARE_READ16_MEMBER(exterm_host_data_r); |
| 33 | 41 | DECLARE_READ16_MEMBER(exterm_input_port_0_r); |
| r32520 | r32521 | |
| 49 | 57 | TMS340X0_FROM_SHIFTREG_CB_MEMBER(from_shiftreg_master); |
| 50 | 58 | TMS340X0_TO_SHIFTREG_CB_MEMBER(to_shiftreg_slave); |
| 51 | 59 | TMS340X0_FROM_SHIFTREG_CB_MEMBER(from_shiftreg_slave); |
| 52 | | required_device<cpu_device> m_maincpu; |
| 53 | | required_device<cpu_device> m_audiocpu; |
| 54 | | required_device<cpu_device> m_audioslave; |
| 55 | | required_device<tms34010_device> m_slave; |
| 56 | | required_device<dac_device> m_dac; |
| 60 | UINT16 exterm_trackball_port_r(int which, UINT16 mem_mask); |
| 57 | 61 | }; |
trunk/src/mame/video/grchamp.c
| r32520 | r32521 | |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | #if 0 |
| 110 | | int grchamp_state::collision_check(grchamp_state *state, bitmap_ind16 &bitmap, int which ) |
| 110 | int grchamp_state::collision_check(bitmap_ind16 &bitmap, int which ) |
| 111 | 111 | { |
| 112 | 112 | int bgcolor = m_palette->pen(0); |
| 113 | 113 | int sprite_transp = m_palette->pen(0x24); |
| r32520 | r32521 | |
| 157 | 157 | return result?(1<<which):0; |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | | void grchamp_state::draw_fog(grchamp_state *state, bitmap_ind16 &bitmap, const rectangle &cliprect, int fog) |
| 160 | void grchamp_state::draw_fog(bitmap_ind16 &bitmap, const rectangle &cliprect, int fog) |
| 161 | 161 | { |
| 162 | 162 | int x,y,offs; |
| 163 | 163 | |
| r32520 | r32521 | |
| 174 | 174 | } |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | | void grchamp_state::draw_sprites(grchamp_state *state, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 177 | void grchamp_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 178 | 178 | { |
| 179 | 179 | gfx_element *gfx = m_gfxdecode->gfx(5); |
| 180 | 180 | int bank = (m_cpu0_out[0] & 0x20) ? 0x40 : 0x00; |