Previous 199869 Revisions Next

r23516 Friday 7th June, 2013 at 12:11:49 UTC by hap
tweak music timing
[src/mame/drivers]stuntair.c

trunk/src/mame/drivers/stuntair.c
r23515r23516
55  driver todo: (SOME OF THIS WILL NEED PCB REFERENCES / MEASUREMENTS)
66  - correct colour PROM decoding (resistor values?)
77  - correct FG colour handling (currently use a hardcoded white)
8  - correct sound (need interrupt frequencies at least)
8  - correct sound (discrete stuff is for filtering? or drums?)
99  - correct remaining GFX / sprite issues (flicker sometimes, might need better vblank timing?)
1010
1111
1212Hardware info (complete):
1313Main cpu Z80A
1414Sound cpu Z80A
15Sound ic AY-3-8910 x2
15Sound ic AY-3-8910 x2 @ 1.536MHz
1616Note: stereo sound output.Op amps LM3900 x3, audio amps TDA2002 x2, many discrete components
1717
1818Osc: 18.432 Mhz
r23515r23516
461461
462462WRITE8_MEMBER(stuntair_state::ay8910_portb_w)
463463{
464   // it writes $e8 and $f0 for music drums
464   // it writes $e8 and $f0 for music drums?
465465   // possibly to discrete sound circuitry?
466466   logerror("ay8910_portb_w: %02x\n", data);
467467}
r23515r23516
527527   MCFG_CPU_ADD("audiocpu", Z80,  XTAL_18_432MHz/6)         /* 3 MHz? */
528528   MCFG_CPU_PROGRAM_MAP(stuntair_sound_map)
529529   MCFG_CPU_IO_MAP(stuntair_sound_portmap)
530   MCFG_CPU_PERIODIC_INT_DRIVER(stuntair_state, irq0_line_hold, 60*8) // timing guessed, probably wrong ?? drives music tempo.. and where is irq ack?
530   MCFG_CPU_PERIODIC_INT_DRIVER(stuntair_state, irq0_line_hold, 420) // drives music tempo, timing is approximate based on PCB audio recording.. and where is irq ack?
531531
532532   /* video hardware */
533533   MCFG_SCREEN_ADD("screen", RASTER)
534   MCFG_SCREEN_REFRESH_RATE(60)
534   MCFG_SCREEN_REFRESH_RATE(60) // ?
535535   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
536536   MCFG_SCREEN_SIZE(256, 256)
537537   MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 256-16-1)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team