summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/rohga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/rohga.c')
-rw-r--r--src/mame/video/rohga.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mame/video/rohga.c b/src/mame/video/rohga.c
index 948a1df74d9..538036a1719 100644
--- a/src/mame/video/rohga.c
+++ b/src/mame/video/rohga.c
@@ -15,49 +15,6 @@ WRITE16_MEMBER(rohga_state::rohga_buffer_spriteram16_w)
m_spriteram->copy();
}
-VIDEO_START_MEMBER(rohga_state,rohga)
-{
- m_sprgen1->set_col_callback(rohga_col_callback);
- m_sprgen1->set_pri_callback(rohga_pri_callback);
-}
-
-VIDEO_START_MEMBER(rohga_state,schmeisr)
-{
- VIDEO_START_CALL_MEMBER( rohga );
- // wire mods on pcb..
- m_sprgen1->set_col_callback(schmeisr_col_callback);
-}
-
-
-UINT16 rohga_pri_callback(UINT16 x)
-{
- switch (x & 0x6000)
- {
- case 0x0000: return 0;
- case 0x4000: return 0xf0;
- case 0x6000: return 0xf0 | 0xcc;
- case 0x2000: return 0;//0xf0|0xcc; /* Perhaps 0xf0|0xcc|0xaa (Sprite under bottom layer) */
- }
-
- return 0;
-}
-
-UINT16 schmeisr_col_callback(UINT16 x)
-{
- UINT16 colour = ((x >> 9) & 0xf) << 2;
- if (x & 0x8000)
- colour++;
-
- return colour;
-}
-
-UINT16 rohga_col_callback(UINT16 x)
-{
- return (x >> 9) & 0xf;
-}
-
-
-
/******************************************************************************/
UINT32 rohga_state::screen_update_rohga(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)