RGN_FRAC(1,1), 4, { STEP4(0,8) }, { STEP8(0,1) }, { STEP8(0,32) }, 8*32, }; static const gfx_layout bootleg_sprite_layout = { 16,32, RGN_FRAC(1,1), 4, { STEP4(0,8) }, { STEP8(0,1), STEP8(1024,1) }, { STEP32(0,32) }, 32*32*2, }; static GFXDECODE_START( svolleybl ) GFXDECODE_ENTRY( "gfx1", 0, bootleg_tile_layout, 0, 16 ) GFXDECODE_ENTRY( "gfx2", 0, bootleg_tile_layout, 256, 16 ) GFXDECODE_ENTRY( "sprites", 0, bootleg_sprite_layout, 0, 16*4 ) GFXDECODE_END /************************************* * * Machine driver * *************************************/
STEP4(0x0a0,1), STEP4(0x0a8,1), STEP4(0x0b0,1), STEP4(0x0b8,1), STEP4(0x0c0,1), STEP4(0x0c8,1), STEP4(0x0d0,1), STEP4(0x0d8,1), STEP4(0x0e0,1), STEP4(0x0e8,1), STEP4(0x0f0,1), STEP4(0x0f8,1), STEP4(0x100,1), STEP4(0x108,1), STEP4(0x110,1), STEP4(0x118,1), STEP4(0x120,1), STEP4(0x128,1), STEP4(0x130,1), STEP4(0x138,1), STEP4(0x140,1), STEP4(0x148,1), STEP4(0x150,1), STEP4(0x158,1), STEP4(0x160,1), STEP4(0x168,1), STEP4(0x170,1), STEP4(0x178,1), STEP4(0x180,1), STEP4(0x188,1), STEP4(0x190,1), STEP4(0x198,1), STEP4(0x1a0,1), STEP4(0x1a8,1), STEP4(0x1b0,1), STEP4(0x1b8,1), STEP4(0x1c0,1), STEP4(0x1c8,1), STEP4(0x1d0,1), STEP4(0x1d8,1), STEP4(0x1e0,1), STEP4(0x1e8,1), STEP4(0x1f0,1), STEP4(0x1f8,1) }; static const UINT32 bgcharlayout_yoffset[64] = { STEP32(0x0000,0x200), STEP32(0x4000,0x200) }; static const gfx_layout bgcharlayout = { 256, 64, /* 256x64 image format */ 1, /* 1 image */ 2, /* 2 bits per pixel */ { 4, 0 }, /* the two bitplanes for 4 pixels are packed into one byte */ EXTENDED_XOFFS, EXTENDED_YOFFS, 0x8000, bgcharlayout_xoffset, bgcharlayout_yoffset };
/************************************* * * Graphics layouts * *************************************/ static const gfx_layout orbit_full_sprite_layout = { 8, 32, RGN_FRAC(1,1), 1, { 0 }, { STEP8(0,1) }, { STEP32(0,8) }, 0x100 }; static const gfx_layout orbit_upper_sprite_layout = { 8, 16, RGN_FRAC(1,1), 1, { 0 }, { STEP8(0,1) }, { STEP16(0,8) }, 0x100 };
RGN_FRAC(1,1), 4, { 0,1,2,3 }, { 4,0,12,8,20,16,28,24 }, { STEP8(0,32) }, 8*8*4 }; static const gfx_layout layout2 = { 32,32, RGN_FRAC(1,1), 4, { 0,1,2,3 }, { 4,0,12,8,20,16,28,24,36,32,44,40,52,48,60,56, 68,64,76,72,84,80,92,88,100,96,108,104,116,112,124,120 }, { STEP32(0,128) }, 32*32*4 }; static const gfx_layout layout3 = { 16,16, RGN_FRAC(1,1), 4, { 0,1,2,3 }, { 4,0,12,8,20,16,28,24,36,32,44,40,52,48,60,56 }, { STEP16(0,64) }, 16*16*4 }; static GFXDECODE_START( himesiki )
STEP8(0x50, 1), STEP8(0x48, 1), STEP8(0x40, 1), STEP8(0x38, 1), STEP8(0x30, 1), STEP8(0x28, 1), STEP8(0x20, 1), STEP8(0x18, 1), STEP8(0x10, 1), STEP8(0x08, 1), STEP8(0x00, 1), }; static const UINT32 headlight_yoffset[] = { STEP32(0x0000, 0x80), STEP32(0x1000, 0x80) }; static const gfx_layout headlightlayout = { 128, 64, 1, 1, { 0 }, EXTENDED_XOFFS, EXTENDED_YOFFS, 0x2000, headlight_xoffset, headlight_yoffset };
RGN_FRAC(2,3)+8,RGN_FRAC(2,3)+0 }, { STEP8(0,1) }, { STEP8(0,2*8) }, 8*8*2 }; static const gfx_layout layout_8x32x6 = { 8, 32, RGN_FRAC(1, 3), 6, { RGN_FRAC(0,3)+8,RGN_FRAC(0,3)+0, RGN_FRAC(1,3)+8,RGN_FRAC(1,3)+0, RGN_FRAC(2,3)+8,RGN_FRAC(2,3)+0 }, { STEP8(0,1) }, { STEP32(0,2*8) }, 8*32*2 }; static GFXDECODE_START( jingbell ) GFXDECODE_ENTRY( "gfx1", 0, layout_8x32x6, 0, 16 ) GFXDECODE_ENTRY( "gfx2", 0, layout_8x8x6, 0, 16 ) GFXDECODE_END static const gfx_layout tiles8x8_layout = { 8,8, RGN_FRAC(1,3), 6, { RGN_FRAC(2,3)+0, RGN_FRAC(2,3)+1, RGN_FRAC(1,3)+0, RGN_FRAC(1,3)+1, RGN_FRAC(0,3)+0, RGN_FRAC(0,3)+1 }, { 8,10,12,14, 0, 2, 4, 6, },
RGN_FRAC(2,3)+8,RGN_FRAC(2,3)+0 }, { STEP8(0,1) }, { STEP8(0,2*8) }, 8*8*2 }; static const gfx_layout layout_8x32x6 = { 8, 32, RGN_FRAC(1, 3), 6, { RGN_FRAC(0,3)+8,RGN_FRAC(0,3)+0, RGN_FRAC(1,3)+8,RGN_FRAC(1,3)+0, RGN_FRAC(2,3)+8,RGN_FRAC(2,3)+0 }, { STEP8(0,1) }, { STEP32(0,2*8) }, 8*32*2 }; static GFXDECODE_START( jingbell ) GFXDECODE_ENTRY( "reels", 0, layout_8x32x6, 0, 16 ) GFXDECODE_ENTRY( "tiles", 0, layout_8x8x6, 0, 16 ) GFXDECODE_END static const gfx_layout tiles8x8_layout = { 8,8, RGN_FRAC(1,3), 6, { RGN_FRAC(2,3)+0, RGN_FRAC(2,3)+1, RGN_FRAC(1,3)+0, RGN_FRAC(1,3)+1, RGN_FRAC(0,3)+0, RGN_FRAC(0,3)+1 }, { 8,10,12,14, 0, 2, 4, 6, },
RGN_FRAC(1,4), 4, { RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) }, { STEP16(0,1) }, { STEP16(0,16) }, 16*16 }; static const gfx_layout layout_32x32 = { 32,32, RGN_FRAC(1,4), 4, { RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) }, { STEP32(0,1) }, { STEP32(0,32) }, 32*32, }; static GFXDECODE_START( gfx_kickgoal ) GFXDECODE_ENTRY( "gfx1", 0, layout_8x8, 0x000, 0x40 ) // FG GFX for even column like CPS1 GFXDECODE_ENTRY( "gfx1", 0, layout_16x16, 0x000, 0x40 ) GFXDECODE_ENTRY( "gfx1", 0, layout_32x32, 0x000, 0x40 ) GFXDECODE_ENTRY( "gfx1", 1, layout_8x8, 0x000, 0x40 ) // FG GFX for odd column like CPS1 GFXDECODE_END static GFXDECODE_START( gfx_actionhw ) GFXDECODE_ENTRY( "gfx1", 0, layout_8x8_alt, 0x000, 0x40 ) GFXDECODE_ENTRY( "gfx1", 0, layout_16x16, 0x000, 0x40 ) GFXDECODE_END