Previous 199869 Revisions Next

r18051 Thursday 20th September, 2012 at 21:17:41 UTC by Angelo Salese
Changed CPS-1 video timings to SCREEN_RAW_PARAMS [Angelo Salese]
[src/mame/drivers]cps1.c
[src/mame/machine]seicop.c

trunk/src/mame/machine/seicop.c
r18050r18051
27862786            UINT16 rom_data = (ROM[rom_addr + 0]) | (ROM[rom_addr + 1]<<8);
27872787
27882788            /* writes to some unemulated COP registers, then puts the result in here, adding a parameter taken from ROM */
2789            space.write_word(cop_register[0]+(0x44 + offset * 4), rom_data);
2789            //space.write_word(cop_register[0]+(0x44 + offset * 4), rom_data);
27902790
27912791            printf("%04x%04x %04x %04x\n",cop_rom_addr_hi,cop_rom_addr_lo,cop_rom_addr_unk,rom_data);
27922792            return;
trunk/src/mame/drivers/cps1.c
r18050r18051
30633063
30643064   /* video hardware */
30653065   MCFG_SCREEN_ADD("screen", RASTER)
3066   MCFG_SCREEN_REFRESH_RATE(59.61) /* verified on one of the input gates of the 74ls08@4J on GNG romboard 88620-b-2 */
3067   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
3068   MCFG_SCREEN_SIZE(64*8, 32*8)
3069   MCFG_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 )
3066//   MCFG_SCREEN_REFRESH_RATE(59.61) /* verified on one of the input gates of the 74ls08@4J on GNG romboard 88620-b-2 */
3067//   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
3068//   MCFG_SCREEN_SIZE(64*8, 32*8)
3069//   MCFG_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 )
3070   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 */
30703071   MCFG_SCREEN_UPDATE_DRIVER(cps_state, screen_update_cps1)
30713072   MCFG_SCREEN_VBLANK_DRIVER(cps_state, screen_eof_cps1)
30723073

Previous 199869 Revisions Next


© 1997-2024 The MAME Team