~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/tryout.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        AM_RANGE(0xe402, 0xe404) AM_WRITEONLY AM_BASE(&tryout_gfx_control)
82
82
        AM_RANGE(0xe414, 0xe414) AM_WRITE(tryout_sound_w)
83
83
        AM_RANGE(0xe417, 0xe417) AM_WRITE(tryout_nmi_ack_w)
84
 
        AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0xbff0) /* resect vectors */
 
84
        AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0xbff0) /* reset vectors */
85
85
ADDRESS_MAP_END
86
86
 
87
87
static ADDRESS_MAP_START( sound_cpu, ADDRESS_SPACE_PROGRAM, 8 )
198
198
 
199
199
static MACHINE_DRIVER_START( tryout )
200
200
        /* basic machine hardware */
201
 
        MDRV_CPU_ADD("maincpu", M6502, 2000000)          /* ? */
 
201
        MDRV_CPU_ADD("maincpu", M6502, 2000000)         /* ? */
202
202
        MDRV_CPU_PROGRAM_MAP(main_cpu)
203
203
 
204
 
        MDRV_CPU_ADD("audiocpu", M6502, 1500000)                /* ? */
 
204
        MDRV_CPU_ADD("audiocpu", M6502, 1500000)        /* ? */
205
205
        MDRV_CPU_PROGRAM_MAP(sound_cpu)
206
 
        MDRV_CPU_PERIODIC_INT(nmi_line_pulse,800) /* ? */
 
206
        MDRV_CPU_PERIODIC_INT(nmi_line_pulse,1000) /* controls BGM tempo, 1000 is an hand-tuned value to match a side-by-side video */
207
207
 
208
208
        /* video hardware */
209
209
        MDRV_SCREEN_ADD("screen", RASTER)
236
236
        ROM_REGION( 0x10000, "audiocpu", 0 )
237
237
        ROM_LOAD( "ch00-1.bin",   0x0c000, 0x4000, CRC(8b33d968) SHA1(cf44529e5577d09978b87dc2bbe1415babbf36a0) )
238
238
 
239
 
        ROM_REGION( 0x4000, "gfx1", ROMREGION_DISPOSE )
 
239
        ROM_REGION( 0x4000, "gfx1", 0 )
240
240
        ROM_LOAD( "ch13.bin",     0x00000, 0x4000, CRC(a9619c58) SHA1(92528b1c4afc95394ac8cad5b37f23da0c6a5310) )
241
241
 
242
 
        ROM_REGION( 0x24000, "gfx2", ROMREGION_DISPOSE )
 
242
        ROM_REGION( 0x24000, "gfx2", 0 )
243
243
        ROM_LOAD( "ch09.bin",     0x00000, 0x4000, CRC(9c5e275b) SHA1(83b29996573d85c73bb4b63086c7a624fad19bde) )
244
244
        ROM_LOAD( "ch08.bin",     0x04000, 0x4000, CRC(88396abb) SHA1(2865a265ddfb91c2ad2770da5e0d84a544f3c419) )
245
245
        ROM_LOAD( "ch07.bin",     0x08000, 0x4000, CRC(901b5f5e) SHA1(f749b5ec0c51c66655798e8a37c887870370991e) )