Previous 199869 Revisions Next

r18220 Sunday 30th September, 2012 at 21:09:29 UTC by hap
more notes from CharlesM, i'll implement video params later
[src/mame/drivers]freekick.c

trunk/src/mame/drivers/freekick.c
r18219r18220
55Driver by Tomasz Slanina  dox@space.pl
66based on initial work made by David Haywood
77
8Z80 @ 3MHz (12.000/4)
9IRQ frequency 120Hz, low for 4.02us, high for 8.1879ms
104*SN76489AN @ 3MHz (12.000/4)
11
1212MHz pixel clock (mclk)
13263 scanlines per frame - 224 visible + 39 blanking+sync;
1416 lines bottom border, 7 lines vsync, 16 lines top border
15768 mclks scanline - 512 mclks visible, 256 mclks blanking+sync;
1696 mclks left border, 96 mclks right border, 64 mclks sync
17
18
819Notes:
920- Quite interestingly, Free Kick's sound ROM contains a Z80 program, but
1021  there isn't a sound CPU and that program isn't executed. Instead, the main
r18219r18220
628639static MACHINE_CONFIG_START( base, freekick_state )
629640
630641   /* basic machine hardware */
631   MCFG_CPU_ADD("maincpu", Z80, XTAL_18_432MHz/6) // confirmed
642   MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/4)
632643   MCFG_CPU_PROGRAM_MAP(pbillrd_map)
633   MCFG_CPU_PERIODIC_INT_DRIVER(freekick_state, irq0_line_hold, 120) // frequency confirmed
644   MCFG_CPU_PERIODIC_INT_DRIVER(freekick_state, irq0_line_hold, 120) // measured on PCB
634645   MCFG_CPU_VBLANK_INT_DRIVER("screen", freekick_state,  freekick_irqgen)
635646
636647   /* video hardware */
r18219r18220
648659   /* sound hardware */
649660   MCFG_SPEAKER_STANDARD_MONO("mono")
650661
651   MCFG_SOUND_ADD("sn1", SN76496_NEW, 12000000/4)
662   MCFG_SOUND_ADD("sn1", SN76489A_NEW, XTAL_12MHz/4)
652663   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
653664   MCFG_SOUND_CONFIG(psg_intf)
654665
655   MCFG_SOUND_ADD("sn2", SN76496_NEW, 12000000/4)
666   MCFG_SOUND_ADD("sn2", SN76489A_NEW, XTAL_12MHz/4)
656667   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
657668   MCFG_SOUND_CONFIG(psg_intf)
658669
659   MCFG_SOUND_ADD("sn3", SN76496_NEW, 12000000/4)
670   MCFG_SOUND_ADD("sn3", SN76489A_NEW, XTAL_12MHz/4)
660671   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
661672   MCFG_SOUND_CONFIG(psg_intf)
662673
663   MCFG_SOUND_ADD("sn4", SN76496_NEW, 12000000/4)
674   MCFG_SOUND_ADD("sn4", SN76489A_NEW, XTAL_12MHz/4)
664675   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
665676   MCFG_SOUND_CONFIG(psg_intf)
666677MACHINE_CONFIG_END

Previous 199869 Revisions Next


© 1997-2024 The MAME Team