trunk/src/mame/drivers/stfight.c
| r242930 | r242931 | |
| 247 | 247 | #include "cpu/z80/z80.h" |
| 248 | 248 | #include "cpu/m6805/m6805.h" |
| 249 | 249 | #include "sound/2203intf.h" |
| 250 | | #include "sound/msm5205.h" |
| 251 | 250 | #include "includes/stfight.h" |
| 252 | 251 | |
| 253 | 252 | static ADDRESS_MAP_START( cpu1_map, AS_PROGRAM, 8, stfight_state ) |
| r242930 | r242931 | |
| 1037 | 1036 | ROM_END |
| 1038 | 1037 | |
| 1039 | 1038 | // Note: Marked GAME_IMPERFECT_SOUND due to YM2203 clock issue |
| 1040 | | GAME( 1986, empcity, 0, stfight, stfight, stfight_state, empcity, ROT0, "Seibu Kaihatsu", "Empire City: 1931 (bootleg?)", GAME_IMPERFECT_SOUND ) |
| 1041 | | GAME( 1986, empcityu, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Taito / Romstar license)", "Empire City: 1931 (US)", GAME_IMPERFECT_SOUND ) // different title logo |
| 1042 | | GAME( 1986, empcityj, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Taito license)", "Empire City: 1931 (Japan)", GAME_IMPERFECT_SOUND ) |
| 1043 | | GAME( 1986, empcityi, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Eurobed license)", "Empire City: 1931 (Italy)", GAME_IMPERFECT_SOUND ) |
| 1044 | | GAME( 1986, stfight, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Tuning license)", "Street Fight (Germany)", GAME_IMPERFECT_SOUND ) |
| 1045 | | GAME( 1986, stfighta, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu", "Street Fight (bootleg?)", GAME_IMPERFECT_SOUND ) |
| 1039 | GAME( 1986, empcity, 0, stfight, stfight, stfight_state, empcity, ROT0, "Seibu Kaihatsu", "Empire City: 1931 (bootleg?)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 1040 | GAME( 1986, empcityu, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Taito / Romstar license)", "Empire City: 1931 (US)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // different title logo |
| 1041 | GAME( 1986, empcityj, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Taito license)", "Empire City: 1931 (Japan)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 1042 | GAME( 1986, empcityi, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Eurobed license)", "Empire City: 1931 (Italy)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 1043 | GAME( 1986, stfight, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu (Tuning license)", "Street Fight (Germany)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 1044 | GAME( 1986, stfighta, empcity, stfight, stfight, stfight_state, stfight, ROT0, "Seibu Kaihatsu", "Street Fight (bootleg?)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 1046 | 1045 | /* Cross Shooter runs on a slightly modified PCB, with a different text tilemap and gfx blobs (see also cshooter.c) */ |
| 1047 | | GAME( 1987, cshooter, 0, cshooter,cshooter, stfight_state, cshooter,ROT270,"Seibu Kaihatsu (Taito license)", "Cross Shooter (not encrypted)", GAME_NOT_WORKING ) |
| 1046 | GAME( 1987, cshooter, 0, cshooter,cshooter, stfight_state, cshooter,ROT270,"Seibu Kaihatsu (Taito license)", "Cross Shooter (not encrypted)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) |
trunk/src/mame/drivers/stlforce.c
| r242930 | r242931 | |
| 370 | 370 | } |
| 371 | 371 | |
| 372 | 372 | |
| 373 | | GAME( 1994, stlforce, 0, stlforce, stlforce, stlforce_state, stlforce, ROT0, "Electronic Devices Italy / Ecogames S.L. Spain", "Steel Force", 0 ) |
| 374 | | GAME( 1995, twinbrat, 0, twinbrat, stlforce, stlforce_state, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 1)", 0 ) |
| 375 | | GAME( 1995, twinbrata,twinbrat, twinbrat, stlforce, stlforce_state, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 2)", 0 ) |
| 373 | GAME( 1994, stlforce, 0, stlforce, stlforce, stlforce_state, stlforce, ROT0, "Electronic Devices Italy / Ecogames S.L. Spain", "Steel Force", GAME_SUPPORTS_SAVE ) |
| 374 | GAME( 1995, twinbrat, 0, twinbrat, stlforce, stlforce_state, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 1)", GAME_SUPPORTS_SAVE ) |
| 375 | GAME( 1995, twinbrata,twinbrat, twinbrat, stlforce, stlforce_state, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 2)", GAME_SUPPORTS_SAVE ) |
trunk/src/mame/drivers/strnskil.c
| r242930 | r242931 | |
| 22 | 22 | #include "sound/sn76496.h" |
| 23 | 23 | #include "includes/strnskil.h" |
| 24 | 24 | |
| 25 | |
| 26 | |
| 27 | void strnskil_state::machine_start() |
| 28 | { |
| 29 | save_item(NAME(m_scrl_ctrl)); |
| 30 | save_item(NAME(m_irq_source)); |
| 31 | } |
| 32 | |
| 25 | 33 | /****************************************************************************/ |
| 26 | 34 | |
| 27 | 35 | READ8_MEMBER(strnskil_state::strnskil_d800_r) |
| r242930 | r242931 | |
| 533 | 541 | m_maincpu->space(AS_PROGRAM).install_write_handler(0xd80d, 0xd80d, write8_delegate(FUNC(strnskil_state::protection_w),this)); |
| 534 | 542 | } |
| 535 | 543 | |
| 536 | | GAME( 1984, strnskil, 0, strnskil, strnskil, driver_device, 0, ROT0, "Sun Electronics", "Strength & Skill", 0 ) |
| 537 | | GAME( 1984, guiness, strnskil, strnskil, strnskil, driver_device, 0, ROT0, "Sun Electronics", "The Guiness (Japan)", 0 ) |
| 538 | | GAME( 1984, banbam, 0, banbam, banbam, strnskil_state, banbam, ROT0, "Sun Electronics", "BanBam", GAME_UNEMULATED_PROTECTION ) |
| 539 | | GAME( 1984, pettanp, banbam, strnskil, banbam, strnskil_state, pettanp, ROT0, "Sun Electronics", "Pettan Pyuu (Japan)", GAME_UNEMULATED_PROTECTION ) |
| 544 | GAME( 1984, strnskil, 0, strnskil, strnskil, driver_device, 0, ROT0, "Sun Electronics", "Strength & Skill", GAME_SUPPORTS_SAVE ) |
| 545 | GAME( 1984, guiness, strnskil, strnskil, strnskil, driver_device, 0, ROT0, "Sun Electronics", "The Guiness (Japan)", GAME_SUPPORTS_SAVE ) |
| 546 | GAME( 1984, banbam, 0, banbam, banbam, strnskil_state, banbam, ROT0, "Sun Electronics", "BanBam", GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE ) |
| 547 | GAME( 1984, pettanp, banbam, strnskil, banbam, strnskil_state, pettanp, ROT0, "Sun Electronics", "Pettan Pyuu (Japan)", GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE ) |
trunk/src/mame/includes/stfight.h
| r242930 | r242931 | |
| 10 | 10 | |
| 11 | 11 | stfight_state(const machine_config &mconfig, device_type type, const char *tag) |
| 12 | 12 | : driver_device(mconfig, type, tag), |
| 13 | | m_text_char_ram(*this, "text_char_ram"), |
| 14 | | m_text_attr_ram(*this, "text_attr_ram"), |
| 15 | | m_tx_vram(*this, "tx_vram"), |
| 16 | | m_vh_latch_ram(*this, "vh_latch_ram"), |
| 17 | | m_sprite_ram(*this, "sprite_ram"), |
| 18 | 13 | m_maincpu(*this, "maincpu"), |
| 19 | 14 | m_audiocpu(*this, "audiocpu"), |
| 20 | 15 | m_mcu(*this, "mcu"), |
| 21 | 16 | m_msm(*this, "msm"), |
| 22 | 17 | m_gfxdecode(*this, "gfxdecode"), |
| 23 | | m_palette(*this, "palette") { } |
| 18 | m_palette(*this, "palette"), |
| 19 | m_text_char_ram(*this, "text_char_ram"), |
| 20 | m_text_attr_ram(*this, "text_attr_ram"), |
| 21 | m_tx_vram(*this, "tx_vram"), |
| 22 | m_vh_latch_ram(*this, "vh_latch_ram"), |
| 23 | m_sprite_ram(*this, "sprite_ram") { } |
| 24 | 24 | |
| 25 | | optional_shared_ptr<UINT8> m_text_char_ram; |
| 26 | | optional_shared_ptr<UINT8> m_text_attr_ram; |
| 27 | | optional_shared_ptr<UINT8> m_tx_vram; |
| 28 | | required_shared_ptr<UINT8> m_vh_latch_ram; |
| 29 | | required_shared_ptr<UINT8> m_sprite_ram; |
| 30 | 25 | required_device<cpu_device> m_maincpu; |
| 31 | 26 | required_device<cpu_device> m_audiocpu; |
| 32 | 27 | required_device<cpu_device> m_mcu; |
| 33 | 28 | required_device<msm5205_device> m_msm; |
| 34 | 29 | required_device<gfxdecode_device> m_gfxdecode; |
| 35 | 30 | required_device<palette_device> m_palette; |
| 31 | |
| 32 | optional_shared_ptr<UINT8> m_text_char_ram; |
| 33 | optional_shared_ptr<UINT8> m_text_attr_ram; |
| 34 | optional_shared_ptr<UINT8> m_tx_vram; |
| 35 | required_shared_ptr<UINT8> m_vh_latch_ram; |
| 36 | required_shared_ptr<UINT8> m_sprite_ram; |
| 36 | 37 | |
| 37 | 38 | UINT8 *m_decrypt; |
| 38 | 39 | UINT8 m_fm_data; |
| r242930 | r242931 | |
| 79 | 80 | |
| 80 | 81 | DECLARE_VIDEO_START(stfight); |
| 81 | 82 | DECLARE_VIDEO_START(cshooter); |
| 83 | virtual void machine_start(); |
| 82 | 84 | virtual void machine_reset(); |
| 83 | 85 | DECLARE_PALETTE_INIT(stfight); |
| 84 | 86 | UINT32 screen_update_stfight(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| r242930 | r242931 | |
| 106 | 108 | UINT8 m_portB_out, m_portB_in; |
| 107 | 109 | UINT8 m_portC_out, m_portC_in; |
| 108 | 110 | UINT8 m_ddrA, m_ddrB, m_ddrC; |
| 109 | | UINT8 m_from_main, m_main_sent; |
| 110 | 111 | |
| 111 | 112 | protected: |
| 112 | 113 | virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); |
trunk/src/mame/includes/stlforce.h
| r242930 | r242931 | |
| 6 | 6 | public: |
| 7 | 7 | stlforce_state(const machine_config &mconfig, device_type type, const char *tag) |
| 8 | 8 | : driver_device(mconfig, type, tag), |
| 9 | m_maincpu(*this, "maincpu"), |
| 10 | m_oki(*this, "oki"), |
| 11 | m_eeprom(*this, "eeprom"), |
| 12 | m_gfxdecode(*this, "gfxdecode"), |
| 13 | m_palette(*this, "palette"), |
| 9 | 14 | m_bg_videoram(*this, "bg_videoram"), |
| 10 | 15 | m_mlow_videoram(*this, "mlow_videoram"), |
| 11 | 16 | m_mhigh_videoram(*this, "mhigh_videoram"), |
| r242930 | r242931 | |
| 14 | 19 | m_mlow_scrollram(*this, "mlow_scrollram"), |
| 15 | 20 | m_mhigh_scrollram(*this, "mhigh_scrollram"), |
| 16 | 21 | m_vidattrram(*this, "vidattrram"), |
| 17 | | m_spriteram(*this, "spriteram"), |
| 18 | | m_maincpu(*this, "maincpu"), |
| 19 | | m_oki(*this, "oki"), |
| 20 | | m_eeprom(*this, "eeprom"), |
| 21 | | m_gfxdecode(*this, "gfxdecode"), |
| 22 | | m_palette(*this, "palette") { } |
| 22 | m_spriteram(*this, "spriteram") { } |
| 23 | 23 | |
| 24 | | tilemap_t *m_bg_tilemap; |
| 25 | | tilemap_t *m_mlow_tilemap; |
| 26 | | tilemap_t *m_mhigh_tilemap; |
| 27 | | tilemap_t *m_tx_tilemap; |
| 24 | required_device<cpu_device> m_maincpu; |
| 25 | required_device<okim6295_device> m_oki; |
| 26 | required_device<eeprom_serial_93cxx_device> m_eeprom; |
| 27 | required_device<gfxdecode_device> m_gfxdecode; |
| 28 | required_device<palette_device> m_palette; |
| 28 | 29 | |
| 29 | 30 | required_shared_ptr<UINT16> m_bg_videoram; |
| 30 | 31 | required_shared_ptr<UINT16> m_mlow_videoram; |
| r242930 | r242931 | |
| 34 | 35 | required_shared_ptr<UINT16> m_mlow_scrollram; |
| 35 | 36 | required_shared_ptr<UINT16> m_mhigh_scrollram; |
| 36 | 37 | required_shared_ptr<UINT16> m_vidattrram; |
| 37 | | |
| 38 | 38 | required_shared_ptr<UINT16> m_spriteram; |
| 39 | |
| 40 | tilemap_t *m_bg_tilemap; |
| 41 | tilemap_t *m_mlow_tilemap; |
| 42 | tilemap_t *m_mhigh_tilemap; |
| 43 | tilemap_t *m_tx_tilemap; |
| 39 | 44 | |
| 40 | 45 | int m_sprxoffs; |
| 46 | |
| 41 | 47 | DECLARE_WRITE16_MEMBER(stlforce_bg_videoram_w); |
| 42 | 48 | DECLARE_WRITE16_MEMBER(stlforce_mlow_videoram_w); |
| 43 | 49 | DECLARE_WRITE16_MEMBER(stlforce_mhigh_videoram_w); |
| 44 | 50 | DECLARE_WRITE16_MEMBER(stlforce_tx_videoram_w); |
| 45 | 51 | DECLARE_WRITE16_MEMBER(eeprom_w); |
| 46 | 52 | DECLARE_WRITE16_MEMBER(oki_bank_w); |
| 53 | |
| 47 | 54 | DECLARE_DRIVER_INIT(twinbrat); |
| 48 | 55 | DECLARE_DRIVER_INIT(stlforce); |
| 56 | |
| 49 | 57 | TILE_GET_INFO_MEMBER(get_stlforce_bg_tile_info); |
| 50 | 58 | TILE_GET_INFO_MEMBER(get_stlforce_mlow_tile_info); |
| 51 | 59 | TILE_GET_INFO_MEMBER(get_stlforce_mhigh_tile_info); |
| 52 | 60 | TILE_GET_INFO_MEMBER(get_stlforce_tx_tile_info); |
| 61 | |
| 53 | 62 | virtual void video_start(); |
| 54 | 63 | UINT32 screen_update_stlforce(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 55 | 64 | void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect ); |
| 56 | | required_device<cpu_device> m_maincpu; |
| 57 | | required_device<okim6295_device> m_oki; |
| 58 | | required_device<eeprom_serial_93cxx_device> m_eeprom; |
| 59 | | required_device<gfxdecode_device> m_gfxdecode; |
| 60 | | required_device<palette_device> m_palette; |
| 61 | 65 | }; |
trunk/src/mame/includes/strnskil.h
| r242930 | r242931 | |
| 5 | 5 | : driver_device(mconfig, type, tag), |
| 6 | 6 | m_maincpu(*this,"maincpu"), |
| 7 | 7 | m_subcpu(*this,"sub"), |
| 8 | m_gfxdecode(*this, "gfxdecode"), |
| 9 | m_palette(*this, "palette"), |
| 8 | 10 | m_videoram(*this, "videoram"), |
| 9 | 11 | m_xscroll(*this, "xscroll"), |
| 10 | | m_spriteram(*this, "spriteram"), |
| 11 | | m_gfxdecode(*this, "gfxdecode"), |
| 12 | | m_palette(*this, "palette") { } |
| 12 | m_spriteram(*this, "spriteram") { } |
| 13 | 13 | |
| 14 | 14 | required_device<cpu_device> m_maincpu; |
| 15 | 15 | required_device<cpu_device> m_subcpu; |
| 16 | required_device<gfxdecode_device> m_gfxdecode; |
| 17 | required_device<palette_device> m_palette; |
| 18 | |
| 16 | 19 | required_shared_ptr<UINT8> m_videoram; |
| 17 | 20 | required_shared_ptr<UINT8> m_xscroll; |
| 18 | 21 | required_shared_ptr<UINT8> m_spriteram; |
| 19 | | required_device<gfxdecode_device> m_gfxdecode; |
| 20 | | required_device<palette_device> m_palette; |
| 21 | 22 | |
| 22 | 23 | UINT8 m_scrl_ctrl; |
| 23 | 24 | tilemap_t *m_bg_tilemap; |
| 24 | 25 | UINT8 m_irq_source; |
| 26 | |
| 27 | TIMER_DEVICE_CALLBACK_MEMBER(strnskil_irq); |
| 25 | 28 | |
| 26 | 29 | DECLARE_READ8_MEMBER(strnskil_d800_r); |
| 27 | 30 | DECLARE_READ8_MEMBER(pettanp_protection_r); |
| r242930 | r242931 | |
| 29 | 32 | DECLARE_WRITE8_MEMBER(protection_w); |
| 30 | 33 | DECLARE_WRITE8_MEMBER(strnskil_videoram_w); |
| 31 | 34 | DECLARE_WRITE8_MEMBER(strnskil_scrl_ctrl_w); |
| 35 | |
| 32 | 36 | DECLARE_DRIVER_INIT(banbam); |
| 33 | 37 | DECLARE_DRIVER_INIT(pettanp); |
| 38 | |
| 34 | 39 | TILE_GET_INFO_MEMBER(get_bg_tile_info); |
| 40 | |
| 41 | virtual void machine_start(); |
| 35 | 42 | virtual void video_start(); |
| 36 | 43 | DECLARE_PALETTE_INIT(strnskil); |
| 37 | 44 | UINT32 screen_update_strnskil(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 38 | | TIMER_DEVICE_CALLBACK_MEMBER(strnskil_irq); |
| 39 | 45 | void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 40 | 46 | }; |
trunk/src/mame/machine/stfight.c
| r242930 | r242931 | |
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | | machine.c |
| 3 | stfight.c |
| 4 | 4 | |
| 5 | 5 | Functions to emulate general aspects of the machine (RAM, ROM, interrupts, |
| 6 | 6 | I/O ports) |
| r242930 | r242931 | |
| 63 | 63 | ( ( ( src ^ A ) >> 1 ) & 0x08 ) | |
| 64 | 64 | ( ~( ( src >> 6 ) ^ A ) & 0x01 ); |
| 65 | 65 | } |
| 66 | |
| 66 | 67 | } |
| 67 | 68 | |
| 68 | 69 | DRIVER_INIT_MEMBER(stfight_state,stfight) |
| r242930 | r242931 | |
| 74 | 75 | { |
| 75 | 76 | } |
| 76 | 77 | |
| 78 | void stfight_state::machine_start() |
| 79 | { |
| 80 | save_item(NAME(m_fm_data)); |
| 81 | save_item(NAME(m_cpu_to_mcu_data)); |
| 82 | save_item(NAME(m_cpu_to_mcu_empty)); |
| 83 | save_item(NAME(m_adpcm_data_offs)); |
| 84 | save_item(NAME(m_adpcm_nibble)); |
| 85 | save_item(NAME(m_adpcm_reset)); |
| 86 | save_item(NAME(m_coin_state)); |
| 87 | save_item(NAME(m_sprite_base)); |
| 88 | save_item(NAME(m_portA_out)); |
| 89 | save_item(NAME(m_portA_in)); |
| 90 | save_item(NAME(m_portB_out)); |
| 91 | save_item(NAME(m_portB_in)); |
| 92 | save_item(NAME(m_portC_out)); |
| 93 | save_item(NAME(m_portC_in)); |
| 94 | save_item(NAME(m_ddrA)); |
| 95 | save_item(NAME(m_ddrB)); |
| 96 | save_item(NAME(m_ddrC)); |
| 97 | } |
| 98 | |
| 77 | 99 | void stfight_state::machine_reset() |
| 78 | 100 | { |
| 79 | 101 | m_fm_data = 0; |
trunk/src/mame/video/strnskil.c
| r242930 | r242931 | |
| 41 | 41 | |
| 42 | 42 | WRITE8_MEMBER(strnskil_state::strnskil_videoram_w) |
| 43 | 43 | { |
| 44 | | UINT8 *videoram = m_videoram; |
| 45 | | videoram[offset] = data; |
| 44 | m_videoram[offset] = data; |
| 46 | 45 | m_bg_tilemap->mark_tile_dirty(offset / 2); |
| 47 | 46 | } |
| 48 | 47 | |
| r242930 | r242931 | |
| 59 | 58 | |
| 60 | 59 | TILE_GET_INFO_MEMBER(strnskil_state::get_bg_tile_info) |
| 61 | 60 | { |
| 62 | | UINT8 *videoram = m_videoram; |
| 63 | | int attr = videoram[tile_index * 2]; |
| 64 | | int code = videoram[(tile_index * 2) + 1] + ((attr & 0x60) << 3); |
| 61 | int attr = m_videoram[tile_index * 2]; |
| 62 | int code = m_videoram[(tile_index * 2) + 1] + ((attr & 0x60) << 3); |
| 65 | 63 | int color = (attr & 0x1f) | ((attr & 0x80) >> 2); |
| 66 | 64 | |
| 67 | 65 | SET_TILE_INFO_MEMBER(0, code, color, 0); |
| r242930 | r242931 | |
| 77 | 75 | |
| 78 | 76 | void strnskil_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 79 | 77 | { |
| 80 | | UINT8 *spriteram = m_spriteram; |
| 81 | 78 | int offs; |
| 82 | 79 | |
| 83 | 80 | for (offs = 0x60; offs < 0x100; offs += 4) |
| 84 | 81 | { |
| 85 | | int code = spriteram[offs + 1]; |
| 86 | | int color = spriteram[offs + 2] & 0x3f; |
| 82 | int code = m_spriteram[offs + 1]; |
| 83 | int color = m_spriteram[offs + 2] & 0x3f; |
| 87 | 84 | int flipx = flip_screen_x(); |
| 88 | 85 | int flipy = flip_screen_y(); |
| 89 | 86 | |
| 90 | | int sx = spriteram[offs + 3]; |
| 91 | | int sy = spriteram[offs]; |
| 87 | int sx = m_spriteram[offs + 3]; |
| 88 | int sy = m_spriteram[offs]; |
| 92 | 89 | int px, py; |
| 93 | 90 | |
| 94 | 91 | if (flip_screen()) |
| r242930 | r242931 | |
| 118 | 115 | |
| 119 | 116 | UINT32 strnskil_state::screen_update_strnskil(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 120 | 117 | { |
| 121 | | int row; |
| 122 | 118 | const UINT8 *usr1 = memregion("user1")->base(); |
| 123 | 119 | |
| 124 | | for (row = 0; row < 32; row++) |
| 120 | for (int row = 0; row < 32; row++) |
| 125 | 121 | { |
| 126 | 122 | if (m_scrl_ctrl != 0x07) |
| 127 | 123 | { |