Previous 199869 Revisions Next

r26914 Friday 3rd January, 2014 at 15:41:38 UTC by hap
xtal stuff
[src/emu/drivers]xtal.h
[src/mame/drivers]cv1k.c

trunk/src/mame/drivers/cv1k.c
r26913r26914
152152 - Used for mmmbanc, needs SH3 serial support.
153153
154154Remaining Video issues
155 - measure h/v video timing
155156 - mmpork startup screen flicker - the FOR USE IN JAPAN screen doesn't appear on the real PCB until after the graphics are fully loaded, it still displays 'please wait' until that point.
156157 - is the use of the 'scroll' registers 100% correct? (related to above?)
157158 - Sometimes the 'sprites' in mushisam lag by a frame vs the 'backgrounds' is this a timing problem, does the real game do it?
r26913r26914
215216    DECLARE_DRIVER_INIT(espgal2);
216217};
217218
218/***************************************************************************
219                                Video Hardware
220***************************************************************************/
221219
220#define MASTER_CLOCK  XTAL_12_8MHz
221#define CPU_CLOCK     (MASTER_CLOCK * 8)
222222
223223
224
225/**************************************************************************/
226
224227UINT32 cv1k_state::screen_update_cv1k(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
225228{
226229   epic12_device::set_delay_scale(m_blitter, screen.machine().root_device().ioport(":BLITRATE")->read());
r26913r26914
402405
403406
404407
405#define CAVE_CPU_CLOCK 12800000 * 8
406#define CAVE_CPU_CLOCK_D 166666666
407
408
409408// none of this is verified
410409// (the sh3 is different to the sh4 anyway, should be changed)
411410static const struct sh4_config sh4cpu_config = {
r26913r26914
418417   1,
419418   1, // md7 (master?)
420419   0,
421   CAVE_CPU_CLOCK // influences music sequencing in ddpdfk at least
420   CPU_CLOCK // influences music sequencing in ddpdfk at least
422421};
423422
424423
r26913r26914
439438
440439static MACHINE_CONFIG_START( cv1k, cv1k_state )
441440   /* basic machine hardware */
442   MCFG_CPU_ADD("maincpu", SH3BE, CAVE_CPU_CLOCK)
441   MCFG_CPU_ADD("maincpu", SH3BE, CPU_CLOCK)
443442   MCFG_CPU_CONFIG(sh4cpu_config)
444443   MCFG_CPU_PROGRAM_MAP(cv1k_map)
445444   MCFG_CPU_IO_MAP(cv1k_port)
r26913r26914
462461   MCFG_MACHINE_RESET_OVERRIDE(cv1k_state, cv1k)
463462
464463   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
465   MCFG_YMZ770_ADD("ymz770", 16384000)
464   MCFG_YMZ770_ADD("ymz770", XTAL_16_384MHz)
466465   MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
467466   MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
468467
r26913r26914
473472static MACHINE_CONFIG_DERIVED( cv1k_d, cv1k )
474473   MCFG_DEVICE_REMOVE("maincpu")
475474
476   MCFG_CPU_ADD("maincpu", SH3BE, CAVE_CPU_CLOCK)
475   MCFG_CPU_ADD("maincpu", SH3BE, CPU_CLOCK)
477476   MCFG_CPU_CONFIG(sh4cpu_config)
478477   MCFG_CPU_PROGRAM_MAP(cv1k_d_map)
479478   MCFG_CPU_IO_MAP(cv1k_port)
trunk/src/emu/drivers/xtal.h
r26913r26914
117117   XTAL_12_4725MHz     = 12472500,     /* Bonanza's Mini Boy 7 */
118118   XTAL_12_48MHz       = 12480000,     /* TRS-80 Model II */
119119   XTAL_12_5MHz        = 12500000,     /* Red Alert audio board */
120   XTAL_12_8MHz        = 12800000,     /* Cave CV1000 */
120121   XTAL_12_9792MHz     = 12979200,     /* Exidy 440 */
121122   XTAL_13_3MHz        = 13300000,     /* BMC bowling */
122123   XTAL_13_33056MHz    = 13330560,     /* Taito L */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team