diff options
author | 2016-08-02 17:14:00 +1000 | |
---|---|---|
committer | 2016-08-02 17:14:00 +1000 | |
commit | bab0c406440828b313cb1381e3518c94a6f1cb50 (patch) | |
tree | 1878406d33415bedfae5242eb0b61d5e6f630681 /src | |
parent | d7f9370892f3b8944ce6963cfcdb3d48bee01d7e (diff) |
There we go, srcclean eats all our C++ now
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/audio/mw8080bw.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/aristmk4.cpp | 42 | ||||
-rw-r--r-- | src/mame/drivers/atari400.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/carpolo.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/cbuster.cpp | 24 | ||||
-rw-r--r-- | src/mame/drivers/chihiro.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/deco32.cpp | 18 | ||||
-rw-r--r-- | src/mame/drivers/esq5505.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/harddriv.cpp | 14 | ||||
-rw-r--r-- | src/mame/drivers/seta.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/socrates.cpp | 30 | ||||
-rw-r--r-- | src/mame/drivers/splash.cpp | 6 | ||||
-rw-r--r-- | src/mame/drivers/taito_f2.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/topspeed.cpp | 2 |
14 files changed, 78 insertions, 78 deletions
diff --git a/src/mame/audio/mw8080bw.cpp b/src/mame/audio/mw8080bw.cpp index 30e8bfe1120..05dc3ebb27e 100644 --- a/src/mame/audio/mw8080bw.cpp +++ b/src/mame/audio/mw8080bw.cpp @@ -1489,7 +1489,7 @@ static DISCRETE_SOUND_START(dplay) /************************************************ * Cheer ************************************************/ /* Noise clock was - breadboarded and measured at 7700Hz */ DISCRETE_LFSR_NOISE(DPLAY_NOISE, 1, + breadboarded and measured at 7700Hz */ DISCRETE_LFSR_NOISE(DPLAY_NOISE, 1, 1, 7700, 12.0, 0, 12.0/2, &dplay_lfsr) DISCRETE_INTEGRATE(NODE_50, DPLAY_CHEER_EN, 0, &dplay_cheer_integrate_info) diff --git a/src/mame/drivers/aristmk4.cpp b/src/mame/drivers/aristmk4.cpp index fa62bc58620..b752c6b8f9d 100644 --- a/src/mame/drivers/aristmk4.cpp +++ b/src/mame/drivers/aristmk4.cpp @@ -1149,28 +1149,28 @@ static INPUT_PORTS_START(aristmk4) PORT_START("5300") PORT_DIPNAME( 0x01, 0x00, "5300-1") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:1") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:1") PORT_DIPSETTING( 0x01, DEF_STR( On ) ) PORT_DIPNAME( 0x02, 0x00, "5300-2") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:2") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:2") PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_DIPNAME( 0x04, 0x00, "5300-3") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:3") PORT_DIPSETTING( 0x04, DEF_STR( On ) ) PORT_DIPNAME( 0x08, 0x00, "5300-4") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:4") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:4") PORT_DIPSETTING( 0x08, DEF_STR( On ) ) PORT_DIPNAME( 0x10, 0x00, "5300-5") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:5") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:5") PORT_DIPSETTING( 0x10, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x20, "5300-6") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:6") // bill validator d/c , U.S must be on + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:6") // bill validator d/c , U.S must be on PORT_DIPSETTING( 0x20, DEF_STR( On ) ) PORT_DIPNAME( 0x40, 0x00, "5300-7") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:7") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:7") PORT_DIPSETTING( 0x40, DEF_STR( On ) ) PORT_DIPNAME( 0x80, 0x80, "5300-8") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:8") // mechanical meters, must be on + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5300:8") // mechanical meters, must be on PORT_DIPSETTING( 0x80, DEF_STR( On ) ) PORT_START("500d") @@ -1205,54 +1205,54 @@ static INPUT_PORTS_START(aristmk4) PORT_START("5200") PORT_DIPNAME( 0x01, 0x00, "5200-1") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:1") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:1") PORT_DIPSETTING( 0x01, DEF_STR( On ) ) PORT_DIPNAME( 0x02, 0x00, "5200-2") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:2") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:2") PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_DIPNAME( 0x04, 0x00, "5200-3") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:3") PORT_DIPSETTING( 0x04, DEF_STR( On ) ) PORT_DIPNAME( 0x08, 0x00, "5200-4") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:4") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:4") PORT_DIPSETTING( 0x08, DEF_STR( On ) ) PORT_DIPNAME( 0x10, 0x00, "5200-5") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:5") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:5") PORT_DIPSETTING( 0x10, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x00, "5200-6") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:6") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:6") PORT_DIPSETTING( 0x20, DEF_STR( On ) ) PORT_DIPNAME( 0x40, 0x00, "5200-7") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:7") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:7") PORT_DIPSETTING( 0x40, DEF_STR( On ) ) PORT_DIPNAME( 0x80, 0x00, "5200-8") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:8") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5200:8") PORT_DIPSETTING( 0x80, DEF_STR( On ) ) PORT_START("5201") PORT_DIPNAME( 0x01, 0x00, "5201-1") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:1") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:1") PORT_DIPSETTING( 0x01, DEF_STR( On ) ) PORT_DIPNAME( 0x02, 0x00, "5201-2") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:2") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:2") PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_DIPNAME( 0x04, 0x00, "5201-3") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:3") PORT_DIPSETTING( 0x04, DEF_STR( On ) ) PORT_DIPNAME( 0x08, 0x08, "5201-4") // fixes link offline error - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:4") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:4") PORT_DIPSETTING( 0x08, DEF_STR( On ) ) PORT_DIPNAME( 0x10, 0x00, "5201-5") // freeze switch? only affects fhunter(a) and cgold2 - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:5") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:5") PORT_DIPSETTING( 0x10, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x00, "5201-6") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:6") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:6") PORT_DIPSETTING( 0x20, DEF_STR( On ) ) PORT_DIPNAME( 0x40, 0x00, "5201-7") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:7") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:7") PORT_DIPSETTING( 0x40, DEF_STR( On ) ) PORT_DIPNAME( 0x80, 0x00, "5201-8") - PORT_DIPSETTING( 0X00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:8") + PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5201:8") PORT_DIPSETTING( 0x80, DEF_STR( On ) ) PORT_START("insertcoin") diff --git a/src/mame/drivers/atari400.cpp b/src/mame/drivers/atari400.cpp index e5e43fc15e6..c0f004f38cc 100644 --- a/src/mame/drivers/atari400.cpp +++ b/src/mame/drivers/atari400.cpp @@ -1015,7 +1015,7 @@ static const UINT8 atari_palette[256*3] = 0xE6,0xD3,0x5E, 0xF7,0xE4,0x6F, 0xFF,0xF5,0x83, 0xFF,0xF7,0x97, /* Orange */ 0x31,0x00,0x00, 0x42,0x06,0x00, 0x53,0x17,0x00, 0x64,0x28,0x00, - 0x75,0x39,0x00, 0x86,0X4A,0x00, 0x97,0x5B,0x0B, 0xA8,0x6C,0x1C, + 0x75,0x39,0x00, 0x86,0x4A,0x00, 0x97,0x5B,0x0B, 0xA8,0x6C,0x1C, 0xB9,0x7D,0x2D, 0xCA,0x8E,0x3E, 0xDB,0x9F,0x4F, 0xEC,0xB0,0x60, 0xFD,0xC1,0x71, 0xFF,0xD2,0x86, 0xFF,0xE3,0x9D, 0xFF,0xF4,0xB3, /* Red-Orange */ diff --git a/src/mame/drivers/carpolo.cpp b/src/mame/drivers/carpolo.cpp index bb0b2addd9b..4fe413dafff 100644 --- a/src/mame/drivers/carpolo.cpp +++ b/src/mame/drivers/carpolo.cpp @@ -235,8 +235,8 @@ static MACHINE_CONFIG_START( carpolo, carpolo_state ) MCFG_CPU_ADD("maincpu", M6502, XTAL_11_289MHz/12) /* 940.75 kHz */ MCFG_CPU_PROGRAM_MAP(main_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", carpolo_state, carpolo_timer_interrupt) /* this not strictly VBLANK, - but it's supposed to happen 60 - times a sec, so it's a good place */ + but it's supposed to happen 60 + times a sec, so it's a good place */ MCFG_DEVICE_ADD("pia0", PIA6821, 0) MCFG_PIA_READPB_HANDLER(READ8(carpolo_state, pia_0_port_b_r)) diff --git a/src/mame/drivers/cbuster.cpp b/src/mame/drivers/cbuster.cpp index e9f29bd5234..439daba0df7 100644 --- a/src/mame/drivers/cbuster.cpp +++ b/src/mame/drivers/cbuster.cpp @@ -59,21 +59,21 @@ WRITE16_MEMBER(cbuster_state::twocrude_control_w) case 4: /* Protection, maybe this is a PAL on the board? - 80046 is level number - stop at stage and enter. - see also 8216.. + 80046 is level number + stop at stage and enter. + see also 8216.. - 9a 00 = pf4 over pf3 (normal) (level 0) - 9a f1 = (level 1 - water), pf3 over ALL sprites + pf4 - 9a 80 = pf3 over pf4 (Level 2 - copter) - 9a 40 = pf3 over ALL sprites + pf4 (snow) level 3 - 9a c0 = doesn't matter? - 9a ff = pf 3 over pf4 + 9a 00 = pf4 over pf3 (normal) (level 0) + 9a f1 = (level 1 - water), pf3 over ALL sprites + pf4 + 9a 80 = pf3 over pf4 (Level 2 - copter) + 9a 40 = pf3 over ALL sprites + pf4 (snow) level 3 + 9a c0 = doesn't matter? + 9a ff = pf 3 over pf4 - I can't find a priority register, I assume it's tied to the - protection?! + I can't find a priority register, I assume it's tied to the + protection?! - */ + */ if ((data & 0xffff) == 0x9a00) m_prot = 0; if ((data & 0xffff) == 0xaa) m_prot = 0x74; if ((data & 0xffff) == 0x0200) m_prot = 0x63 << 8; diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp index a8e7d9cf510..1ea32a63cb9 100644 --- a/src/mame/drivers/chihiro.cpp +++ b/src/mame/drivers/chihiro.cpp @@ -719,7 +719,7 @@ static const struct { UINT8 write_byte; } modify[16]; } hacks[HACK_ITEMS] = { { "chihiro", false, { { 0x6a79f/*3f79f*/, 0x01 }, { 0x6a7a0/*3f7a0*/, 0x00 }, { 0x6b575/*40575*/, 0x00 }, { 0x6b576/*40576*/, 0x00 }, { 0x6b5af/*405af*/, 0x75 }, { 0x6b78a/*4078a*/, 0x75 }, { 0x6b7ca/*407ca*/, 0x00 }, { 0x6b7b8/*407b8*/, 0x00 }, { 0x8f5b2, 0x75 }, { 0x79a9e/*2ea9e*/, 0x74 }, { 0x79b80/*2eb80*/, 0xeb }, { 0x79b97/*2eb97*/, 0x74 }, { 0, 0 } } }, - { "outr2", true, { { 0x12e4cf, 0x01 }, { 0x12e4d0, 0x00 }, { 0x4793e, 0x01 }, { 0x4793f, 0x00 }, { 0x47aa3, 0x01 }, { 0x47aa4, 0x00 }, { 0x14f2b6, 0x84 }, { 0x14f2d1, 0x75 }, { 0x8732f, 0x7d }, { 0x87384, 0x7d }, { 0x87388, 0xeb }, { 0, 0 } } }, + { "outr2", true, { { 0x12e4cf, 0x01 }, { 0x12e4d0, 0x00 }, { 0x4793e, 0x01 }, { 0x4793f, 0x00 }, { 0x47aa3, 0x01 }, { 0x47aa4, 0x00 }, { 0x14f2b6, 0x84 }, { 0x14f2d1, 0x75 }, { 0x8732f, 0x7d }, { 0x87384, 0x7d }, { 0x87388, 0xeb }, { 0, 0 } } }, { "crtaxihr", false, { { 0x14ada5/*11fda5*/, 0x90 },{ 0x14ada6/*11fda6*/, 0x90 }, { 0, 0 } } }, { "ghostsqu", false, { { 0x78833/*4d833*/, 0x90 },{ 0x78834/*4d834*/, 0x90 }, { 0, 0 } } }, }; diff --git a/src/mame/drivers/deco32.cpp b/src/mame/drivers/deco32.cpp index 8a341c2c765..afb6c0a5033 100644 --- a/src/mame/drivers/deco32.cpp +++ b/src/mame/drivers/deco32.cpp @@ -393,15 +393,15 @@ READ32_MEMBER(deco32_state::irq_controller_r) case 3: /* Irq controller - Bit 0: 1 = Vblank active - Bit 1: ? (Hblank active? Captain America raster IRQ waits for this to go low) - Bit 2: - Bit 3: - Bit 4: VBL Irq - Bit 5: Raster IRQ - Bit 6: Lightgun IRQ (on Lock N Load only) - Bit 7: - */ + Bit 0: 1 = Vblank active + Bit 1: ? (Hblank active? Captain America raster IRQ waits for this to go low) + Bit 2: + Bit 3: + Bit 4: VBL Irq + Bit 5: Raster IRQ + Bit 6: Lightgun IRQ (on Lock N Load only) + Bit 7: + */ /* ZV03082007 - video_screen_get_vblank() doesn't work for Captain America, as it expects that this bit is NOT set in rows 0-7. */ diff --git a/src/mame/drivers/esq5505.cpp b/src/mame/drivers/esq5505.cpp index ddc666aa085..e509840cb74 100644 --- a/src/mame/drivers/esq5505.cpp +++ b/src/mame/drivers/esq5505.cpp @@ -273,7 +273,7 @@ void esq5505_state::machine_start() // tell the pump about the OTIS & ESP chips m_pump->set_otis(m_otis); m_pump->set_esp(m_esp); - + m_rom = (UINT16 *)(void *)memregion("osrom")->base(); m_ram = (UINT16 *)(void *)memshare("osram")->ptr(); } diff --git a/src/mame/drivers/harddriv.cpp b/src/mame/drivers/harddriv.cpp index af2d95ec333..42f77304737 100644 --- a/src/mame/drivers/harddriv.cpp +++ b/src/mame/drivers/harddriv.cpp @@ -1286,19 +1286,19 @@ static INPUT_PORTS_START( strtdriv ) PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("mainpcb:8BADC.3") /* b00000 - 8 bit ADC 3 - volume */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:8BADC.4") /* b00000 - 8 bit ADC 4 - elevator */ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_NAME("Elevator") PORT_REVERSE /* up/down */ PORT_START("mainpcb:8BADC.5") /* b00000 - 8 bit ADC 5 - canopy */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:8BADC.6") /* b00000 - 8 bit ADC 6 - brake */ PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(25) PORT_KEYDELTA(40) PORT_NAME("Brake") PORT_REVERSE PORT_START("mainpcb:8BADC.7") /* b00000 - 8 bit ADC 7 - seat adjust */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:12BADC.0") /* 400000 - steering wheel */ PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_NAME("Steering Wheel") @@ -1376,19 +1376,19 @@ static INPUT_PORTS_START( hdrivair ) PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("mainpcb:8BADC.3") /* b00000 - 8 bit ADC 3 - volume */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:8BADC.4") /* b00000 - 8 bit ADC 4 - elevator */ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_REVERSE PORT_NAME("Elevator") /* up/down */ PORT_START("mainpcb:8BADC.5") /* b00000 - 8 bit ADC 5 - canopy */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:8BADC.6") /* b00000 - 8 bit ADC 6 - brake */ PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(25) PORT_KEYDELTA(40) PORT_REVERSE PORT_NAME("Brake") PORT_START("mainpcb:8BADC.7") /* b00000 - 8 bit ADC 7 - seat adjust */ - PORT_BIT( 0xff, 0X80, IPT_UNUSED ) + PORT_BIT( 0xff, 0x80, IPT_UNUSED ) PORT_START("mainpcb:12BADC.0") /* 400000 - steering wheel */ PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_REVERSE PORT_NAME("Steering Wheel") @@ -5176,7 +5176,7 @@ void harddriv_state::init_hdrivairp(void) m_adsp->space(AS_DATA).install_read_handler(0x1f9a, 0x1f9a, read16_delegate(FUNC(harddriv_state::hdds3_speedup_r), this)); m_ds3_speedup_addr = &m_adsp_data_memory[0x1f9a]; m_ds3_speedup_pc = 0x2d9; - m_ds3_transfer_pc = 0X407da; + m_ds3_transfer_pc = 0x407da; } diff --git a/src/mame/drivers/seta.cpp b/src/mame/drivers/seta.cpp index 58c219420b7..f7db8a7e0ca 100644 --- a/src/mame/drivers/seta.cpp +++ b/src/mame/drivers/seta.cpp @@ -7918,7 +7918,7 @@ static MACHINE_CONFIG_START( calibr50, seta_state ) MCFG_CPU_ADD("sub", M65C02, XTAL_16MHz/8) /* verified on pcb */ MCFG_CPU_PROGRAM_MAP(calibr50_sub_map) MCFG_CPU_PERIODIC_INT_DRIVER(seta_state, irq0_line_hold, 4*60) /* IRQ: 4/frame - NMI: when the 68k writes the sound latch */ + NMI: when the 68k writes the sound latch */ MCFG_MACHINE_RESET_OVERRIDE(seta_state,calibr50) @@ -9018,7 +9018,7 @@ static MACHINE_CONFIG_START( kiwame, seta_state ) MCFG_CPU_ADD("maincpu", M68000, 16000000) /* 16 MHz */ MCFG_CPU_PROGRAM_MAP(kiwame_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, irq1_line_hold)/* lev 1-7 are the same. WARNING: - the interrupt table is written to. */ + the interrupt table is written to. */ MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0) MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode") diff --git a/src/mame/drivers/socrates.cpp b/src/mame/drivers/socrates.cpp index ca422bc5d8b..6b2535e6fd4 100644 --- a/src/mame/drivers/socrates.cpp +++ b/src/mame/drivers/socrates.cpp @@ -1000,22 +1000,22 @@ static ADDRESS_MAP_START(z80_io, AS_IO, 8, socrates_state ) AM_RANGE(0x00, 0x00) AM_READWRITE(socrates_rom_bank_r, socrates_rom_bank_w) AM_MIRROR(0x7) /* rom bank select - RW - 8 bits */ AM_RANGE(0x08, 0x08) AM_READWRITE(socrates_ram_bank_r, socrates_ram_bank_w) AM_MIRROR(0x7) /* ram banks select - RW - 4 low bits; Format: 0b****HHLL where LL controls whether window 0 points at ram area: 0b00: 0x0000-0x3fff; 0b01: 0x4000-0x7fff; 0b10: 0x8000-0xbfff; 0b11: 0xc000-0xffff. HH controls the same thing for window 1 */ AM_RANGE(0x10, 0x17) AM_READWRITE(read_f3, socrates_sound_w) AM_MIRROR (0x8) /* sound section: - 0x10 - W - frequency control for channel 1 (louder channel) - 01=high pitch, ff=low; time between 1->0/0->1 transitions = (XTAL_21_4772MHz/(512+256) / (freq_reg+1)) (note that this is double the actual frequency since each full low and high squarewave pulse is two transitions) - 0x11 - W - frequency control for channel 2 (softer channel) - 01=high pitch, ff=low; same equation as above - 0x12 - W - 0b***EVVVV enable, volume control for channel 1 - 0x13 - W - 0b***EVVVV enable, volume control for channel 2 - 0x14-0x17 - 0bE??????? enable, unknown for channel 3; produces well defined dmc waves when bit 7 is set, and one or two other bits - This may be some sort of debug register for serial-dmc banging out some internal rom from the asic, maybe color data? - No writes to ram seem to change the waveforms produced, in my limited testing. - 0x80 produces about a very very quiet 1/8 duty cycle wave at 60hz or so - 0xC0 produces a DMC wave read from an unknown address at around 342hz - 0x - */ + 0x10 - W - frequency control for channel 1 (louder channel) - 01=high pitch, ff=low; time between 1->0/0->1 transitions = (XTAL_21_4772MHz/(512+256) / (freq_reg+1)) (note that this is double the actual frequency since each full low and high squarewave pulse is two transitions) + 0x11 - W - frequency control for channel 2 (softer channel) - 01=high pitch, ff=low; same equation as above + 0x12 - W - 0b***EVVVV enable, volume control for channel 1 + 0x13 - W - 0b***EVVVV enable, volume control for channel 2 + 0x14-0x17 - 0bE??????? enable, unknown for channel 3; produces well defined dmc waves when bit 7 is set, and one or two other bits + This may be some sort of debug register for serial-dmc banging out some internal rom from the asic, maybe color data? + No writes to ram seem to change the waveforms produced, in my limited testing. + 0x80 produces about a very very quiet 1/8 duty cycle wave at 60hz or so + 0xC0 produces a DMC wave read from an unknown address at around 342hz + 0x + */ AM_RANGE(0x20, 0x21) AM_READWRITE(read_f3, socrates_scroll_w) AM_MIRROR (0xe) /* graphics section: - 0x20 - W - lsb offset of screen display - 0x21 - W - msb offset of screen display - resulting screen line is one of 512 total offsets on 128-byte boundaries in the whole 64k ram - */ + 0x20 - W - lsb offset of screen display + 0x21 - W - msb offset of screen display + resulting screen line is one of 512 total offsets on 128-byte boundaries in the whole 64k ram + */ AM_RANGE(0x30, 0x30) AM_READWRITE(read_f3, kbmcu_strobe) AM_MIRROR (0xf) /* resets the keyboard IR decoder MCU */ AM_RANGE(0x40, 0x40) AM_READWRITE(status_and_speech, speech_command ) AM_MIRROR(0xf) /* reads status register for vblank/hblank/speech, also reads and writes speech module */ AM_RANGE(0x50, 0x50) AM_READWRITE(socrates_keyboard_low_r, socrates_keyboard_clear) AM_MIRROR(0xE) /* Keyboard keycode low, latched on keypress, can be unlatched by writing anything here */ diff --git a/src/mame/drivers/splash.cpp b/src/mame/drivers/splash.cpp index dac2738f613..1bc6b4c8b71 100644 --- a/src/mame/drivers/splash.cpp +++ b/src/mame/drivers/splash.cpp @@ -1006,7 +1006,7 @@ Ring & Ball (?) Came from a dead board, silkscreen ring&ball/a by microhard u87 & u111 program -u51 +u51 u53 empty socket might be missing u130 sound (z80) @@ -1018,13 +1018,13 @@ ROM_START( ringball ) ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code + gfx */ // TODO: encrypted, there's a device with scratched part between 68k and roms. u87 looks to have standard 68k vectors with scrambled bits. ROM_LOAD( "u87.bin", 0x000000, 0x040000, CRC(f8f21cfd) SHA1(c258689fc79195945db21663d2df0a33a4412618) ) - ROM_LOAD( "u111.bin", 0x040000, 0x040000, CRC(11e246b0) SHA1(b056bcaa52ab2898f470a29b0a5c2f3594e2522b) ) // actually "u101"? + ROM_LOAD( "u111.bin", 0x040000, 0x040000, CRC(11e246b0) SHA1(b056bcaa52ab2898f470a29b0a5c2f3594e2522b) ) // actually "u101"? ROM_REGION( 0x080000, "audiocpu", 0 ) /* Z80 code + sound data */ ROM_LOAD( "u130.bin", 0x000000, 0x080000, CRC(892202ea) SHA1(10b5933b136a6595f739510d380d12c4cefd9f09) ) ROM_REGION( 0x100000, "gfx1", 0 ) - ROM_LOAD( "u51.bin", 0x000000, 0x080000, CRC(32c01844) SHA1(ad461c47cd270414c442325751eca0d6c1ea9e2d) ) + ROM_LOAD( "u51.bin", 0x000000, 0x080000, CRC(32c01844) SHA1(ad461c47cd270414c442325751eca0d6c1ea9e2d) ) ROM_LOAD( "u53.bin", 0x080000, 0x080000, NO_DUMP ) // empty on this PCB, GFXs doesn't seem enough for a complete game? ROM_END diff --git a/src/mame/drivers/taito_f2.cpp b/src/mame/drivers/taito_f2.cpp index 773dcec1449..4c409035c52 100644 --- a/src/mame/drivers/taito_f2.cpp +++ b/src/mame/drivers/taito_f2.cpp @@ -4266,7 +4266,7 @@ ROM_START( qtorimon ) /* Quiz Torimonochou */ ROM_LOAD16_BYTE( "c41-04.bin", 0x00000, 0x20000, CRC(0fbf5223) SHA1(2aa8b3dd20ae922a3ff880db7b46e2bbb708698d) ) ROM_LOAD16_BYTE( "c41-05.bin", 0x00001, 0x20000, CRC(174bd5db) SHA1(f7a4b2ac91b3bcd886e2a1e1d0415a95f14c9de7) ) ROM_LOAD16_BYTE( "mask-51.bin", 0x40000, 0x20000, CRC(12e14aca) SHA1(8f7dc54f68984c82420abf96436743c0654a71ea) ) /* char defs, read by cpu */ - ROM_LOAD16_BYTE( "mask-52.bin", 0x40001, 0X20000, CRC(b3ef66f3) SHA1(4766a1ed9b4adcc2f0d2857633ce95194eb80694) ) /* char defs, read by cpu */ + ROM_LOAD16_BYTE( "mask-52.bin", 0x40001, 0x20000, CRC(b3ef66f3) SHA1(4766a1ed9b4adcc2f0d2857633ce95194eb80694) ) /* char defs, read by cpu */ ROM_REGION( 0x100000, "gfx1", ROMREGION_ERASEFF ) /* empty! */ @@ -4362,7 +4362,7 @@ ROM_START( quizhq ) /* Quiz HQ */ ROM_LOAD16_BYTE( "c53-05.bin", 0x00000, 0x20000, CRC(c798fc20) SHA1(4467dde3620102f87cffb2f81f71d856c0df12f8) ) ROM_LOAD16_BYTE( "c53-01.bin", 0x00001, 0x20000, CRC(bf44c93e) SHA1(6fd871f50da4a668767b3096660689905663f697) ) ROM_LOAD16_BYTE( "c53-52.bin", 0x80000, 0x20000, CRC(12e14aca) SHA1(8f7dc54f68984c82420abf96436743c0654a71ea) ) /* char defs, read by cpu */ - ROM_LOAD16_BYTE( "c53-51.bin", 0x80001, 0X20000, CRC(b3ef66f3) SHA1(4766a1ed9b4adcc2f0d2857633ce95194eb80694) ) /* char defs, read by cpu */ + ROM_LOAD16_BYTE( "c53-51.bin", 0x80001, 0x20000, CRC(b3ef66f3) SHA1(4766a1ed9b4adcc2f0d2857633ce95194eb80694) ) /* char defs, read by cpu */ ROM_REGION( 0x100000, "gfx1", ROMREGION_ERASEFF ) /* empty */ diff --git a/src/mame/drivers/topspeed.cpp b/src/mame/drivers/topspeed.cpp index 753a79a301e..db62ef16adf 100644 --- a/src/mame/drivers/topspeed.cpp +++ b/src/mame/drivers/topspeed.cpp @@ -391,7 +391,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( cpub_map, AS_PROGRAM, 16, topspeed_state ) AM_RANGE(0x000000, 0x01ffff) AM_ROM - AM_RANGE(0x400000, 0X40ffff) AM_RAM AM_SHARE("sharedram") + AM_RANGE(0x400000, 0x40ffff) AM_RAM AM_SHARE("sharedram") AM_RANGE(0x880000, 0x880001) AM_READ8(input_bypass_r, 0x00ff) AM_DEVWRITE8("tc0220ioc", tc0220ioc_device, portreg_w, 0x00ff) AM_RANGE(0x880002, 0x880003) AM_DEVREADWRITE8("tc0220ioc", tc0220ioc_device, port_r, port_w, 0x00ff) AM_RANGE(0x900000, 0x9003ff) AM_READWRITE(motor_r, motor_w) |