various drivers: removed unwanted comments / separators

This commit is contained in:
Ivan Vangelista 2024-03-08 18:05:16 +01:00
parent 4c8a6cd650
commit 34e362e9d5
277 changed files with 5 additions and 1110 deletions

View File

@ -89,8 +89,6 @@ private:
};
// audio
uint8_t aztarac_state::sound_r()
{
return m_sound_status & 0x01;
@ -130,8 +128,6 @@ INTERRUPT_GEN_MEMBER(aztarac_state::snd_timed_irq)
}
// video
#define AVECTOR(x, y, color, intensity) \
m_vector->add_point(m_xcenter + ((x) << 16), m_ycenter - ((y) << 16), color, intensity)
@ -225,8 +221,6 @@ void aztarac_state::video_start()
}
// machine
/*************************************
*
* Machine init

View File

@ -138,8 +138,6 @@ private:
};
// video
/***************************************************************************
Note: this video hardware has some similarities to Shuuz & company
@ -256,8 +254,6 @@ uint32_t sparkz_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/*************************************
*
* Interrupt handling

View File

@ -77,8 +77,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -280,8 +278,6 @@ uint32_t batman_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/*************************************
*
* Initialization

View File

@ -188,8 +188,6 @@ private:
};
// video
/*************************************
*
* Video start/stop
@ -358,8 +356,6 @@ uint32_t beathead_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Machine init

View File

@ -81,8 +81,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -233,8 +231,6 @@ uint32_t blstroid_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -109,8 +109,6 @@ private:
};
// audio
/*************************************
*
* Write handlers
@ -129,8 +127,6 @@ void canyon_state::explode_w(uint8_t data)
}
// video
void canyon_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -201,8 +197,6 @@ uint32_t canyon_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/*************************************
*
* Palette generation

View File

@ -227,8 +227,6 @@ private:
};
// video
/*************************************
*
* Video startup
@ -555,8 +553,6 @@ uint32_t ccastles_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/************************************* *
* VBLANK and IRQ generation
*

View File

@ -193,8 +193,6 @@ private:
};
// video
/***************************************************************************
CLOAK & DAGGER uses RAM to dynamically
@ -381,8 +379,6 @@ uint32_t cloak_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
/*************************************
*
* Output ports

View File

@ -185,8 +185,6 @@ private:
};
// video
/*************************************
*
* Video startup
@ -465,8 +463,6 @@ uint32_t cloud9_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
static constexpr double MASTER_CLOCK = 10'000'000;
static constexpr double PIXEL_CLOCK = MASTER_CLOCK / 2;
static constexpr uint16_t HTOTAL = 320;

View File

@ -126,8 +126,6 @@ private:
};
// video
uint32_t copsnrob_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
// redrawing the entire display is faster in this case
@ -246,8 +244,6 @@ uint32_t copsnrob_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void copsnrob_state::one_start_w(int state)
{

View File

@ -170,8 +170,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -423,8 +421,6 @@ uint32_t cyberbal2p_state::screen_update_cyberbal2p(screen_device &screen, bitma
}
// machine
/*************************************
*
* Initialization

View File

@ -83,8 +83,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -286,8 +284,6 @@ uint32_t cybstorm_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization

View File

@ -97,8 +97,6 @@ private:
};
// video
TILE_GET_INFO_MEMBER(dragrace_state::get_tile_info)
{
uint8_t code = m_playfield_ram[tile_index];
@ -159,8 +157,6 @@ uint32_t dragrace_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
TIMER_DEVICE_CALLBACK_MEMBER(dragrace_state::frame_callback)
{
for (int i = 0; i < 2; i++)

View File

@ -107,8 +107,6 @@ private:
};
// video
/*************************************
*
* Palette
@ -508,8 +506,6 @@ uint32_t eprom_state::screen_update_guts(screen_device &screen, bitmap_ind16 &bi
}
// machine
/*************************************
*
* Initialization

View File

@ -191,8 +191,6 @@ private:
};
// video
void firetrk_state::palette(palette_device &palette)
{
static constexpr uint8_t colortable_source[] =
@ -606,8 +604,6 @@ uint32_t montecar_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// audio
void firetrk_state::skid_reset_w(uint8_t data)
{
m_skid[0] = 0;
@ -661,8 +657,6 @@ void firetrk_state::xtndply_w(uint8_t data)
}
// machine
void firetrk_state::set_service_mode(int enable)
{
m_in_service_mode = enable;

View File

@ -232,8 +232,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -417,8 +415,6 @@ uint32_t gauntlet_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -231,8 +231,6 @@ private:
};
// audio
/*************************************
*
* Interrupt handling
@ -325,8 +323,6 @@ void jedi_state::audio_map(address_map &map)
map(0x8000, 0xffff).rom();
}
// video
/***************************************************************************
Return of the Jedi has a peculiar playfield/motion object
@ -705,8 +701,6 @@ GFXDECODE_END
#endif
// machine
/*************************************
*
* Interrupt handling

View File

@ -116,8 +116,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -222,8 +220,6 @@ u32 klax_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const
}
// machine
/*************************************
*
* Interrupt handling

View File

@ -272,8 +272,6 @@ private:
};
// video
/***************************************************************************
Liberator's screen is 256 pixels by 256 pixels. The
@ -542,8 +540,6 @@ uint32_t liberatr_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
}
// machine
void liberatr_state::machine_start()
{
save_item(NAME(m_earom_data));

View File

@ -125,8 +125,6 @@ private:
};
// video
void nitedrvr_state::draw_box(bitmap_ind16 &bitmap, const rectangle &cliprect, int bx, int by, int ex, int ey)
{
for (int y = by; y < ey; y++)
@ -173,8 +171,6 @@ uint32_t nitedrvr_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/***************************************************************************
Steering

View File

@ -96,8 +96,6 @@ private:
};
// video
/*************************************
*
@ -190,8 +188,6 @@ uint32_t offtwall_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*

View File

@ -102,8 +102,6 @@ private:
};
// video
void orbit_state::playfield_w(offs_t offset, uint8_t data)
{
m_playfield_ram[offset] = data;
@ -181,8 +179,6 @@ uint32_t orbit_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
/*************************************
*
* Interrupts and timing

View File

@ -86,8 +86,6 @@ private:
};
// video
TILE_GET_INFO_MEMBER(poolshrk_state::get_tile_info)
{
tileinfo.set(1, m_playfield_ram[tile_index] & 0x3f, 0, 0);
@ -125,8 +123,6 @@ uint32_t poolshrk_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void poolshrk_state::init_poolshrk()
{
uint8_t *pSprite = memregion("sprites")->base();

View File

@ -100,8 +100,6 @@ private:
};
// video
/*************************************
*
* Video system start
@ -208,8 +206,6 @@ void rampart_state::bitmap_render(bitmap_ind16 &bitmap, const rectangle &cliprec
}
// machine
/*************************************
*
* Initialization

View File

@ -158,8 +158,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -307,8 +305,6 @@ uint32_t relief_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/*************************************
*
* Initialization

View File

@ -83,8 +83,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -205,8 +203,6 @@ uint32_t shuuz_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
void shuuz_state::machine_start()
{
save_item(NAME(m_cur));

View File

@ -102,8 +102,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -392,8 +390,6 @@ uint32_t skullxbo_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -161,8 +161,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -303,8 +301,6 @@ void skydiver_state::palette(palette_device &palette) const
}
// machine
/*************************************
*

View File

@ -90,8 +90,6 @@ private:
};
// video
void skyraid_state::video_start()
{
m_helper.allocate(128, 240);
@ -210,8 +208,6 @@ uint32_t skyraid_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
// machine
void skyraid_state::machine_start()
{
m_led.resolve();

View File

@ -124,8 +124,6 @@ private:
};
// video
void sprint2_state::palette(palette_device &palette) const
{
palette.set_indirect_color(0, rgb_t(0x00, 0x00, 0x00));
@ -288,8 +286,6 @@ void sprint2_state::screen_vblank(int state)
}
// machine
void sprint2_state::machine_start()
{
m_gear_sel.resolve();

View File

@ -95,8 +95,6 @@ private:
};
// video
void sprint8_state::palette(palette_device &palette) const
{
for (int i = 0; i < 0x10; i++)
@ -275,8 +273,6 @@ void sprint8_state::screen_vblank(int state)
}
// machine
TIMER_DEVICE_CALLBACK_MEMBER(sprint8_state::input_callback)
{
for (int i = 0; i < 8; i++)

View File

@ -154,8 +154,6 @@ private:
};
// video
void starshp1_state::set_pens()
{
m_palette->set_indirect_color(m_inverse ? 7 : 0, rgb_t(0x00, 0x00, 0x00));
@ -534,8 +532,6 @@ void starshp1_state::screen_vblank(int state)
}
// machine
INTERRUPT_GEN_MEMBER(starshp1_state::interrupt)
{
if ((m_system->read() & 0x90) != 0x90)

View File

@ -94,8 +94,6 @@ private:
};
// video
template <uint8_t Pen>
void subs_state::invert_w(int state)
{
@ -197,8 +195,6 @@ void subs_state::palette(palette_device &palette) const
}
// machine
/***************************************************************************
machine initialization
***************************************************************************/

View File

@ -93,8 +93,6 @@ private:
};
// video
void tank8_state::palette(palette_device &palette) const
{
palette.set_indirect_color(8, rgb_t(0x00, 0x00, 0x00));
@ -348,8 +346,6 @@ void tank8_state::screen_vblank(int state)
}
// machine
TIMER_CALLBACK_MEMBER(tank8_state::set_collision)
{
m_maincpu->set_input_line(0, ASSERT_LINE);

View File

@ -99,8 +99,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -328,8 +326,6 @@ uint32_t thunderj_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -106,8 +106,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -347,8 +345,6 @@ uint32_t toobin_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -109,8 +109,6 @@ private:
};
// video
TILE_GET_INFO_MEMBER(triplhnt_state::get_tile_info)
{
int const code = m_playfield_ram[tile_index] & 0x3f;
@ -214,8 +212,6 @@ uint32_t triplhnt_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void triplhnt_state::init_triplhnt()
{
subdevice<nvram_device>("nvram")->set_base(m_cmos, sizeof(m_cmos));

View File

@ -144,8 +144,6 @@ private:
};
// video
/****************************************************************************************/
void tunhunt_state::videoram_w(offs_t offset, uint8_t data)
@ -502,8 +500,6 @@ uint32_t tunhunt_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
// machine
/*************************************
*
* Output ports

View File

@ -102,8 +102,6 @@ private:
};
// video
void ultratnk_state::palette(palette_device &palette) const
{
const uint8_t *color_prom = memregion("proms")->base();
@ -235,8 +233,6 @@ void ultratnk_state::video_ram_w(offs_t offset, uint8_t data)
}
// machine
template <int N>
int ultratnk_state::collision_flipflop_r()
{

View File

@ -99,8 +99,6 @@ private:
};
// video
TILEMAP_MAPPER_MEMBER(videopin_state::get_memory_offset)
{
return num_rows * ((col + 16) % 48) + row;
@ -185,8 +183,6 @@ void videopin_state::video_ram_w(offs_t offset, uint8_t data)
}
// machine
void videopin_state::update_plunger()
{
uint8_t const val = m_in[1]->read();

View File

@ -89,8 +89,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -358,8 +356,6 @@ uint32_t vindictr_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Initialization

View File

@ -116,8 +116,6 @@ private:
};
// video
void wolfpack_state::wolfpack_palette(palette_device &palette) const
{
palette.set_indirect_color(0, rgb_t(0x00, 0x00, 0x00));
@ -397,8 +395,6 @@ void wolfpack_state::screen_vblank(int state)
}
// machine
TIMER_CALLBACK_MEMBER(wolfpack_state::periodic_callback)
{
int scanline = param;

View File

@ -85,8 +85,6 @@ private:
};
// video
/*************************************
*
* Tilemap callbacks
@ -223,8 +221,6 @@ uint32_t xybots_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/*************************************
*
* Initialization & interrupts

View File

@ -269,8 +269,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -495,8 +493,6 @@ uint32_t blktiger_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/**************************************************
Protection comms between main cpu and i8751

View File

@ -100,8 +100,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -255,8 +253,6 @@ uint32_t cbasebal_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Memory handlers

View File

@ -239,8 +239,6 @@ private:
};
// video
template <uint8_t Which>
void commando_state::videoram_w(offs_t offset, uint8_t data)
{
@ -351,8 +349,6 @@ uint32_t commando_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
// Memory Maps
void commando_state::main_map(address_map &map)

View File

@ -96,8 +96,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -307,8 +305,6 @@ u32 exedexes_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
}
// machine
TIMER_DEVICE_CALLBACK_MEMBER(exedexes_state::scanline)
{
const int scanline = param;

View File

@ -106,8 +106,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -235,8 +233,6 @@ uint32_t gng_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
}
// machine
void gng_state::bankswitch_w(uint8_t data)
{
if (data == 4)

View File

@ -152,8 +152,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -337,8 +335,6 @@ uint32_t gunsmoke_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
// Read/Write Handlers
uint8_t gunsmoke_state::protection_r(offs_t offset)

View File

@ -81,8 +81,6 @@ private:
};
// video
void higemaru_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -220,8 +218,6 @@ uint32_t higemaru_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
TIMER_DEVICE_CALLBACK_MEMBER(higemaru_state::scanline)
{
int scanline = param;

View File

@ -341,8 +341,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -543,8 +541,6 @@ uint32_t mitchell_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* EEPROM

View File

@ -116,8 +116,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -271,8 +269,6 @@ uint32_t sonson_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
void sonson_state::sh_irqtrigger_w(int state)
{
// setting bit 0 low then high triggers IRQ on the sound CPU

View File

@ -84,8 +84,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -237,8 +235,6 @@ uint32_t srumbler_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void srumbler_state::bankswitch_w(uint8_t data)
{
/*

View File

@ -115,8 +115,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -315,8 +313,6 @@ uint32_t vulgus_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
INTERRUPT_GEN_MEMBER(vulgus_state::vblank_irq)
{
device.execute().set_input_line_and_vector(0, HOLD_LINE, 0xd7); // Z80 - RST 10h - vblank

View File

@ -124,8 +124,6 @@ private:
};
// video
rgb_t funybubl_state::r6b6g6(uint32_t raw)
{
return rgb_t(pal6bit(raw >> 12), pal6bit(raw >> 0), pal6bit(raw >> 6));
@ -216,8 +214,6 @@ uint32_t funybubl_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void funybubl_state::vidram_bank_w(uint8_t data)
{
m_vrambank.select(data & 1);

View File

@ -122,8 +122,6 @@ private:
};
// video
void galspnbl_state::palette(palette_device &palette) const
{
@ -216,8 +214,6 @@ uint32_t galspnbl_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void galspnbl_state::soundcommand_w(offs_t offset, uint8_t data)
{
m_soundlatch->write(data);

View File

@ -119,8 +119,6 @@ private:
};
// video
void zerozone_state::tilemap_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(&m_vram[offset]);
@ -160,8 +158,6 @@ uint32_t zerozone_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
// machine
void zerozone_state::sound_w(uint8_t data)
{
m_soundlatch->write(data);

View File

@ -140,8 +140,6 @@ private:
};
// video
static constexpr uint8_t SPRITE_PEN_BASE = 0x10;
static constexpr uint8_t STAR_PEN = 0x18;
static constexpr uint8_t BULLET_PEN = 0x19;
@ -357,8 +355,6 @@ uint32_t astrowar_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void galaxia_state::vblank_irq(int state)
{
if (state)

View File

@ -92,8 +92,6 @@ private:
};
// video
/***************************************************************************
Zaccaria S2650 games share various levels of design with the Century Video
@ -265,8 +263,6 @@ uint32_t quasar_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/************************************************************************
Quasar memory layout

View File

@ -221,8 +221,6 @@ private:
};
// video
/***************************************************************************
@ -432,8 +430,6 @@ uint32_t brkthru_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
// machine
/*************************************
*
* Memory handlers

View File

@ -128,8 +128,6 @@ private:
};
// video
void bwing_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -346,8 +344,6 @@ uint32_t bwing_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
//****************************************************************************
// Interrupt Handlers

View File

@ -120,8 +120,6 @@ private:
};
// video
/******************************************************************************/
void cbuster_state::video_start()
@ -192,8 +190,6 @@ u32 cbuster_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, co
}
// machine
void cbuster_state::prot_w(offs_t offset, u16 data, u16 mem_mask)
{
data &= mem_mask;

View File

@ -88,8 +88,6 @@ private:
};
// video
void compgolf_state::palette(palette_device &palette) const
{
uint8_t const *const color_prom = memregion("proms")->base();
@ -206,8 +204,6 @@ uint32_t compgolf_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Memory handlers

View File

@ -84,8 +84,6 @@ private:
};
// video
/**************************************************************************
@ -153,8 +151,6 @@ uint32_t darkseal_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
/******************************************************************************/
// machine
/******************************************************************************/
void darkseal_state::irq_ack_w(uint16_t data)

View File

@ -294,8 +294,6 @@ private:
};
// video
/***************************************************************************
Desert Assault Video emulation - Bryan McPhail, mish@tendril.co.uk
@ -434,8 +432,6 @@ uint32_t dassault_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
}
// machine
/**********************************************************************************/
void dassault_state::priority_w(offs_t offset, uint16_t data, uint16_t mem_mask)

View File

@ -306,8 +306,6 @@ private:
};
// video
void exprraid_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;

View File

@ -330,8 +330,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -555,8 +553,6 @@ uint32_t base_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
void base_state::nmi_disable_w(uint8_t data)
{
m_nmi_enable = ~data & 1;

View File

@ -105,8 +105,6 @@ private:
};
// video
/**************************************************************************
There are two sets of sprites, the combination of custom chips 52 & 71.
@ -261,8 +259,6 @@ uint32_t lemmings_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
}
// machine
void lemmings_state::control_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
// Offset==0 Pixel layer X scroll

View File

@ -124,8 +124,6 @@ private:
};
// video
/***************************************************************************
-= Metal Clash =-
@ -368,8 +366,6 @@ uint32_t metlclsh_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/***************************************************************************
Memory Maps - CPU #1

View File

@ -93,8 +93,6 @@ private:
};
// video
void pcktgal_state::palette(palette_device &palette) const
{
@ -169,8 +167,6 @@ uint32_t pcktgal_state::screen_update_bootleg(screen_device &screen, bitmap_ind1
}
// machine
/***************************************************************************/
void pcktgal_state::bank_w(uint8_t data)

View File

@ -162,8 +162,6 @@ private:
void prg_map(address_map &map);
};
// video
uint32_t pktgaldx_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
@ -234,8 +232,6 @@ uint32_t pktgaldxb_state::screen_update(screen_device &screen, bitmap_ind16 &bit
}
// machine
/**********************************************************************************/
void base_state::oki_bank_w(uint16_t data)

View File

@ -140,8 +140,6 @@ private:
void audio_map(address_map &map);
};
// video
void shootoutj_state::palette(palette_device &palette) const
{
uint8_t const *const color_prom = memregion("proms")->base();
@ -309,8 +307,6 @@ uint32_t shootoutj_state::screen_update(screen_device &screen, bitmap_ind16 &bit
}
// machine
/*******************************************************************************/
void shootout_state::bankswitch_w(uint8_t data)

View File

@ -233,8 +233,6 @@ private:
};
// video
void sidepckt_state::palette(palette_device &palette) const
{
uint8_t const *const color_prom = memregion("proms")->base();
@ -387,8 +385,6 @@ uint32_t sidepckt_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
//**************************************************************************
// PROTECTION MCU
//**************************************************************************

View File

@ -178,8 +178,6 @@ private:
};
// video
/***************************************************************************
Uses Data East custom chip 55 for backgrounds, with a special 8bpp mode
@ -249,8 +247,6 @@ uint32_t sshangha_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
}
// machine
/******************************************************************************/

View File

@ -160,8 +160,6 @@ private:
};
// video
/******************************************************************************/
uint32_t stadhero_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
@ -208,8 +206,6 @@ void stadhero_state::video_start()
/******************************************************************************/
// machine
/******************************************************************************/
void stadhero_state::int_ack_w(uint16_t data)

View File

@ -111,8 +111,6 @@ private:
};
// video
void tryout_state::palette(palette_device &palette) const
{
uint8_t const *const color_prom = memregion("proms")->base();
@ -352,8 +350,6 @@ uint32_t tryout_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
void tryout_state::nmi_ack_w(uint8_t data)
{
m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);

View File

@ -95,8 +95,6 @@ private:
};
// video
/****************************************************************************
2 Data East 55 chips for playfields (same as Dark Seal, etc)
@ -193,8 +191,6 @@ uint32_t vaportra_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/******************************************************************************/
uint8_t vaportra_state::irq6_ack_r()

View File

@ -106,8 +106,6 @@ private:
};
// video
void pokechmp_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -178,8 +176,6 @@ uint32_t pokechmp_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void pokechmp_state::machine_start()
{
m_mainbank->configure_entries(0, 2, memregion("maincpu")->base(), 0x4000);

View File

@ -170,8 +170,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -270,8 +268,6 @@ uint32_t gundealr_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void gundealr_state::bankswitch_w(uint8_t data)
{
m_mainbank->set_entry(data & 0x07);

View File

@ -140,8 +140,6 @@ private:
};
// video
/***************************************************************************
First version of the Dynax blitter.
@ -384,8 +382,6 @@ MC6845_UPDATE_ROW(hnayayoi_state::untoucha_update_row)
}
// machine
template <uint8_t Which>
uint8_t hnayayoi_state::keyboard_r()
{

View File

@ -111,8 +111,6 @@ private:
};
// video
void mugsmash_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
{
// Each Sprite takes 16 bytes, 5 used?
@ -231,8 +229,6 @@ uint32_t mugsmash_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void mugsmash_state::reg2_w(offs_t offset, uint16_t data)
{
m_regs[1][offset] = data;

View File

@ -156,8 +156,6 @@ private:
};
// video
// TXT Layer
TILE_GET_INFO_MEMBER(aquarium_state::get_txt_tile_info)
{
@ -253,8 +251,6 @@ uint32_t aquarium_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void aquarium_state::watchdog_w(u8 data)
{
m_watchdog->write_line_ck(BIT(data, 7));

View File

@ -186,8 +186,6 @@ private:
};
// video
/*******************************************************************/
@ -334,8 +332,6 @@ uint32_t gcpinbal_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/***********************************************************
INTERRUPTS
***********************************************************/

View File

@ -124,8 +124,6 @@ private:
};
// video
void crospang_state::tilebank_select_w(u16 data)
{
LOGTILEBANK("tilebank_select_w %04x\n", data);
@ -252,8 +250,6 @@ u32 crospang_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
}
// machine
// main COU
void crospang_state::base_map(address_map &map)

View File

@ -149,8 +149,6 @@ private:
};
// video
/***************************************************************************
Note: if MAME_DEBUG is defined, pressing Z with:
@ -259,8 +257,6 @@ uint32_t base_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
/***************************************************************************

View File

@ -100,8 +100,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -278,8 +276,6 @@ uint32_t glass_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// machine
void glass_state::shareram_w(offs_t offset, uint8_t data)
{
// why isn't there address map functionality for this?

View File

@ -145,8 +145,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -272,8 +270,6 @@ uint32_t targeth_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
// machine
static const gfx_layout tilelayout =
{
16,16, // 16x16 tiles

View File

@ -129,8 +129,6 @@ private:
};
// video
/***************************************************************************
Gaelco Type 1 Video Hardware Rev B
@ -335,8 +333,6 @@ uint32_t thoop2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
void thoop2_state::machine_start()
{
m_okibank->configure_entries(0, 16, memregion("oki")->base(), 0x10000);

View File

@ -212,8 +212,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -306,8 +304,6 @@ uint32_t wrally_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
void wrally_state::machine_start()
{
m_okibank->configure_entries(0, 16, memregion("oki")->base(), 0x10000);

View File

@ -92,8 +92,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -205,8 +203,6 @@ uint32_t xorworld_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/****************************************************************
EEPROM read/write/control
****************************************************************/

View File

@ -376,8 +376,6 @@ private:
};
// video
void gatron_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -412,8 +410,6 @@ uint32_t gatron_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
/****************************
* Read/Write Handlers *
****************************/

View File

@ -131,8 +131,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -294,8 +292,6 @@ uint32_t gotya_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
// audio
static const char *const sample_names[] =
{ // Address triggered at
"*thehand",
@ -399,8 +395,6 @@ void gotya_state::soundlatch_w(uint8_t data)
}
// machine
void gotya_state::prg_map(address_map &map)
{
map(0x0000, 0x3fff).rom();

View File

@ -152,8 +152,6 @@ private:
};
// video
TILE_GET_INFO_MEMBER(sbugger_state::get_tile_info)
{
int const tileno = m_videoram[tile_index];
@ -201,8 +199,6 @@ void sbugger_state::palette(palette_device &palette) const
}
// machine
void sbugger_state::prg_map(address_map &map)
{
map(0x0000, 0x37ff).rom();

View File

@ -117,8 +117,6 @@ private:
};
// video
/***************************************************************************
Callbacks for the TileMap code
@ -205,8 +203,6 @@ uint32_t iqblock_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
// machine
void iqblock_state::iqblock_prot_w(uint8_t data)
{
m_rambase[0xe26] = data;

View File

@ -81,8 +81,6 @@ private:
};
// video
void shisen_state::videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
@ -151,8 +149,6 @@ uint32_t shisen_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
}
// machine
void shisen_state::main_prg_map(address_map &map)
{
map(0x0000, 0x7fff).rom();

View File

@ -119,8 +119,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -425,8 +423,6 @@ uint32_t travrusa_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
void travrusa_state::program_map(address_map &map)
{
map(0x0000, 0x7fff).rom();

View File

@ -224,8 +224,6 @@ private:
};
// video
/*************************************
*
* TMS34061 I/O
@ -367,8 +365,6 @@ uint32_t capbowl_base_state::screen_update(screen_device &screen, bitmap_rgb32 &
}
// machine
/*************************************
*
* NMI is to trigger the self test.

View File

@ -134,8 +134,6 @@ private:
};
// video
// how the starfield ROM is interpreted: 0 = 256 x 256 x 1 linear bitmap, 1 = 8 x 8 x 1 x 1024 tilemap
static constexpr uint8_t STARS_LAYOUT = 1;
@ -333,8 +331,6 @@ uint32_t aeroboto_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
uint8_t aeroboto_state::_201_r()
{
/* if you keep a button pressed during boot, the game will expect this

View File

@ -79,8 +79,6 @@ private:
};
// video
// Sprites
void bigstrkb_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
@ -194,8 +192,6 @@ uint32_t bigstrkb_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*
68k interrupts

View File

@ -125,8 +125,6 @@ private:
};
// video
/***************************************************************************
Convert the color PROMs into a more useable format.
@ -292,8 +290,6 @@ uint32_t blueprnt_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
}
// machine
/*************************************
*
* Memory handlers

Some files were not shown because too many files have changed in this diff Show More