Previous 199869 Revisions Next

r20716 Monday 4th February, 2013 at 00:03:37 UTC by Roberto Fresca
Some cleanups, defined clocks, and promoted to working...


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Number One [Roberto Fresca, David Haywood, Any, The Dumping Union]
[src/mame/drivers]sanremo.c

trunk/src/mame/drivers/sanremo.c
r20715r20716
11/******************************************************************************
22
3  Number One
4
5  8bit gambling hardware.
3  Number One.
64  San Remo Games.
75
6  8bit amusement/gambling hardware.
87
8
99  Driver by Roberto Fresca.
1010
1111
r20715r20716
3434  - 1x trimmer (volume)          [P1]
3535
3636
37  Graphics seems to have the insanely amount of 32 banks of 256 tiles, but with
38  some scrambled logic (maybe driven through PLDs)...
37  Graphics seems to have the insanely amount of 32 banks of 256 tiles each,
38  driven by a 5-bit register/selector.
3939
4040
4141*******************************************************************************
r20715r20716
4444  ----------
4545
4646  You can switch the game to use numbers or cards through the Test Mode.
47  To enter the Test Mode, just turn the DIP switch 7 ON.
47  To enter the Test Mode, just turn the DIP switch 7 ON. No credits should be
48  in the machine to get it working...
4849
4950
5051*******************************************************************************
r20715r20716
7071  - Added Button-Lamps layout.
7172  - Complete lamps support.
7273  - NVRAM support.
74  - Correct GFX banking.
7375
76  [2012/02/03]
7477
78  - Fixed graphics issues:
79    Latched the bank bits and stored them when the tiles are written.
80  - Hooked up intensity layer.
81  - Removed the imperfect gfx and game not working flags.
82
83
7584  TODO:
7685
77  - Fix GFX banking.
78  - Hook the intensity layer.
7986  - Figure out activity in some output ports.
8087
8188
r20715r20716
8491
8592#define MASTER_CLOCK   XTAL_18MHz
8693
94#define CPU_CLOCK      MASTER_CLOCK/3
95#define SND_CLOCK      MASTER_CLOCK/12
96#define CRTC_CLOCK      MASTER_CLOCK/12
97
8798#include "emu.h"
8899#include "cpu/z80/z80.h"
89100#include "video/mc6845.h"
r20715r20716
194205    xxx- ----  unknown
195206*/
196207   banksel = data & 0x1f;
197
198//   printf("BANKSEL %02x\n", data);
199208}
200209
201210
r20715r20716
311320};
312321
313322
314
315
316323/**************************************************
317324*           Graphics Decode Information           *
318325**************************************************/
319326
320327static GFXDECODE_START( sanremo )
321   GFXDECODE_ENTRY( "gfx",  0,      tilelayout, 0, 1 )   // ok
328   GFXDECODE_ENTRY( "gfx",  0,   tilelayout, 0, 1 )
322329GFXDECODE_END
323330
324331
r20715r20716
326333*              CRTC Interface               *
327334********************************************/
328335
336
329337static const mc6845_interface mc6845_intf =
330338/*
331339  *** MC6845 init ***
r20715r20716
371379static MACHINE_CONFIG_START( sanremo, sanremo_state )
372380
373381   /* basic machine hardware */
374   MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK/3)
382   MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK)
375383   MCFG_CPU_PROGRAM_MAP(sanremo_map)
376384   MCFG_CPU_IO_MAP(sanremo_portmap)
377385   MCFG_CPU_VBLANK_INT_DRIVER("screen", sanremo_state, irq0_line_hold)
r20715r20716
386394   MCFG_SCREEN_VISIBLE_AREA(0, 48*8-1, 0, 38*8-1)
387395   MCFG_SCREEN_UPDATE_DRIVER(sanremo_state, screen_update_sanremo)
388396
389   MCFG_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/12, mc6845_intf)
397   MCFG_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf)
390398
391399   MCFG_GFXDECODE(sanremo)
392400   MCFG_PALETTE_LENGTH(0x10)
393401
394402   /* sound hardware */
395403   MCFG_SPEAKER_STANDARD_MONO("mono")
396   MCFG_SOUND_ADD("ay8910", AY8910, MASTER_CLOCK/12)
404   MCFG_SOUND_ADD("ay8910", AY8910, SND_CLOCK)
397405   MCFG_SOUND_CONFIG(ay8910_config)
398406   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
399407MACHINE_CONFIG_END
r20715r20716
408416   ROM_LOAD( "no_g0.ic26",   0x0000, 0x8000, CRC(2d83646f) SHA1(d1fafcce44ed3ec3dd53d84338c42244ebfca820) )
409417
410418   ROM_REGION( 0x40000, "gfx", 0 )
411   ROM_LOAD( "no_i4.ic30",   0x00000, 0x10000, CRC(55b351a4) SHA1(b0c8a30dde076520234281da051f21f1b7cb3166) )   // i
412   ROM_LOAD( "no_b4.ic27",   0x10000, 0x10000, CRC(e48b1c8a) SHA1(88f60268fd43c06e146d936a1bdc078c44e2a213) )   // b
413   ROM_LOAD( "no_g4.ic28",   0x20000, 0x10000, CRC(4eea9a9b) SHA1(c86c083ccf08c3c310028920f9a0fe809fd7ccbe) )   // g
414   ROM_LOAD( "no_r4.ic29",   0x30000, 0x10000, CRC(ab08cdaf) SHA1(e0518403039b6bada79ffe4c6bc22fbb64d16e43) )   // r
419   ROM_LOAD( "no_i4.ic30",   0x00000, 0x10000, CRC(55b351a4) SHA1(b0c8a30dde076520234281da051f21f1b7cb3166) )   // I
420   ROM_LOAD( "no_b4.ic27",   0x10000, 0x10000, CRC(e48b1c8a) SHA1(88f60268fd43c06e146d936a1bdc078c44e2a213) )   // B
421   ROM_LOAD( "no_g4.ic28",   0x20000, 0x10000, CRC(4eea9a9b) SHA1(c86c083ccf08c3c310028920f9a0fe809fd7ccbe) )   // G
422   ROM_LOAD( "no_r4.ic29",   0x30000, 0x10000, CRC(ab08cdaf) SHA1(e0518403039b6bada79ffe4c6bc22fbb64d16e43) )   // R
415423
416424   ROM_REGION( 0x0800, "nvram", 0 )    /* default NVRAM */
417425   ROM_LOAD( "number1_nvram.bin", 0x0000, 0x0800, CRC(4ece7b39) SHA1(49815571d75a39ab67d26691f902dfbd4e05feb4) )
r20715r20716
427435*                Game Drivers                *
428436*********************************************/
429437
430/*     YEAR  NAME     PARENT  MACHINE  INPUT    STATE          INIT   ROT    COMPANY           FULLNAME      FLAGS...                                    LAYOUT  */
431GAMEL( 1996, number1, 0,      sanremo, number1, driver_device, 0,     ROT0, "San Remo Games", "Number One",  GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING, layout_sanremo )
438/*     YEAR  NAME     PARENT  MACHINE  INPUT    STATE          INIT   ROT    COMPANY           FULLNAME      FLAGS  LAYOUT  */
439GAMEL( 1996, number1, 0,      sanremo, number1, driver_device, 0,     ROT0, "San Remo Games", "Number One",  0,     layout_sanremo )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team