Changed CPS-1 video timings to SCREEN_RAW_PARAMS [Angelo Salese]

This commit is contained in:
Angelo Salese 2012-09-20 21:17:41 +00:00
parent 93b5eb783a
commit 65e56c9043
2 changed files with 6 additions and 5 deletions

View File

@ -3063,10 +3063,11 @@ static MACHINE_CONFIG_START( cps1_10MHz, cps_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(59.61) /* verified on one of the input gates of the 74ls08@4J on GNG romboard 88620-b-2 */
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 )
// MCFG_SCREEN_REFRESH_RATE(59.61) /* verified on one of the input gates of the 74ls08@4J on GNG romboard 88620-b-2 */
// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
// MCFG_SCREEN_SIZE(64*8, 32*8)
// MCFG_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 )
MCFG_SCREEN_RAW_PARAMS(XTAL_16MHz/2, 518, 64, 448, 259, 16, 240) /* guess: assume that CPS-1 uses the same exact timings as CPS-2 */
MCFG_SCREEN_UPDATE_DRIVER(cps_state, screen_update_cps1)
MCFG_SCREEN_VBLANK_DRIVER(cps_state, screen_eof_cps1)

View File

@ -2786,7 +2786,7 @@ static WRITE16_HANDLER( generic_cop_w )
UINT16 rom_data = (ROM[rom_addr + 0]) | (ROM[rom_addr + 1]<<8);
/* writes to some unemulated COP registers, then puts the result in here, adding a parameter taken from ROM */
space.write_word(cop_register[0]+(0x44 + offset * 4), rom_data);
//space.write_word(cop_register[0]+(0x44 + offset * 4), rom_data);
printf("%04x%04x %04x %04x\n",cop_rom_addr_hi,cop_rom_addr_lo,cop_rom_addr_unk,rom_data);
return;