Note about 0xdde5, and made Seibu Cup Soccer to be 320x240 from this guess (makes sense considering that there's an ugly black border on bottom screen otherwise).

This commit is contained in:
Angelo Salese 2014-08-29 00:05:45 +00:00
parent 7677bfca65
commit be0f42c31d
3 changed files with 10 additions and 4 deletions

View File

@ -1228,7 +1228,7 @@ static MACHINE_CONFIG_START( cupsoc, legionna_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
MCFG_SCREEN_SIZE(42*8, 36*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 32*8-1)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(legionna_state, screen_update_grainbow)
MCFG_SCREEN_PALETTE("palette")
@ -1268,7 +1268,7 @@ static MACHINE_CONFIG_START( cupsocbl, legionna_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(42*8, 36*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 32*8-1)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(legionna_state, screen_update_grainbow)
MCFG_SCREEN_PALETTE("palette")

View File

@ -2787,6 +2787,12 @@ WRITE16_MEMBER( seibu_cop_legacy_device::generic_cop_w )
/* 8 + [4] */
/* 4 + [6] */
// these two are obvious ...
// 0xf x 16 = 240
// 0x14 x 16 = 320
// what are these two instead? scale factor? offsets?
// 0xfc69 ?
// 0x7f4 ?
//printf("%08x %08x %08x %08x %08x %08x %08x\n",m_cop_register[0],m_cop_register[1],m_cop_register[2],m_cop_register[3],m_cop_register[4],m_cop_register[5],m_cop_register[6]);
offs = (offset & 3) * 4;

View File

@ -28,8 +28,8 @@ preliminary memory map:
(screen 1 -> Foreground)
(screen 2 -> Midground)
(screen 3 -> Text layer)
[0x00]: Single cell H size +1?
[0x02]: Total number of visible cells +1?
[0x00]: Total number of visible cells?
[0x02]: Single cell H size +1?
[0x1a]: Layer Dynamic Paging?
[0x1c]: Layer Enable
---x ---- sprite enable