mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Changed CPS-1 video timings to SCREEN_RAW_PARAMS [Angelo Salese]
This commit is contained in:
parent
93b5eb783a
commit
65e56c9043
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user