Clean-ups and version bump

This commit is contained in:
Miodrag Milanovic 2012-05-21 06:24:12 +00:00
parent 407bc4b41d
commit 643d0e9d92
35 changed files with 104 additions and 104 deletions

View File

@ -992,7 +992,7 @@ natural_keyboard::natural_keyboard(running_machine &machine)
m_timer(NULL), m_timer(NULL),
m_current_rate(attotime::zero) m_current_rate(attotime::zero)
{ {
m_queue_chars = ioport_queue_chars_delegate(); m_queue_chars = ioport_queue_chars_delegate();
m_accept_char = ioport_accept_char_delegate(); m_accept_char = ioport_accept_char_delegate();
m_charqueue_empty = ioport_charqueue_empty_delegate(); m_charqueue_empty = ioport_charqueue_empty_delegate();

View File

@ -500,10 +500,10 @@ void pokeyn_device::sound_stream_update(sound_stream &stream, stream_sample_t **
sum += (((m_channel[ch].m_output ^ m_channel[ch].m_filter_sample) || (m_channel[ch].m_AUDC & VOLUME_ONLY)) ? m_channel[ch].m_volume : 0 ); sum += (((m_channel[ch].m_output ^ m_channel[ch].m_filter_sample) || (m_channel[ch].m_AUDC & VOLUME_ONLY)) ? m_channel[ch].m_volume : 0 );
} }
/* store sum of output signals into the buffer */ /* store sum of output signals into the buffer */
*buffer++ = (sum > 0x7fff) ? 0x7fff : sum; *buffer++ = (sum > 0x7fff) ? 0x7fff : sum;
samples--; samples--;
} }
m_rtimer->adjust(attotime::never); m_rtimer->adjust(attotime::never);
@ -1199,12 +1199,12 @@ char *pokeyn_device::audctl2str(int val)
pokeyn_device::pokey_channel::pokey_channel() pokeyn_device::pokey_channel::pokey_channel()
: m_AUDF(0), : m_AUDF(0),
m_AUDC(0), m_AUDC(0),
m_borrow_cnt(0), m_borrow_cnt(0),
m_counter(0), m_counter(0),
m_volume(0), m_volume(0),
m_output(0), m_output(0),
m_filter_sample(0) m_filter_sample(0)
{ {
} }

View File

@ -158,8 +158,8 @@ private:
UINT8 m_output; /* channel output signal (1 active, 0 inactive) */ UINT8 m_output; /* channel output signal (1 active, 0 inactive) */
UINT8 m_filter_sample; /* high-pass filter sample */ UINT8 m_filter_sample; /* high-pass filter sample */
inline void sample(void) { m_filter_sample = m_output; } inline void sample(void) { m_filter_sample = m_output; }
inline void reset_channel(void) { m_counter = m_AUDF ^ 0xff; } inline void reset_channel(void) { m_counter = m_AUDF ^ 0xff; }
inline void inc_chan(void) inline void inc_chan(void)
{ {
m_counter = (m_counter + 1) & 0xff; m_counter = (m_counter + 1) & 0xff;

View File

@ -199,10 +199,10 @@ void timer_device::device_validity_check(validity_checker &valid) const
mame_printf_warning("Scanline timer specified parameters for a periodic timer\n"); mame_printf_warning("Scanline timer specified parameters for a periodic timer\n");
if (m_param != 0) if (m_param != 0)
mame_printf_warning("Scanline timer specified parameter which is ignored\n"); mame_printf_warning("Scanline timer specified parameter which is ignored\n");
// if (m_first_vpos < 0) // if (m_first_vpos < 0)
// mame_printf_error("Scanline timer specified invalid initial position\n"); // mame_printf_error("Scanline timer specified invalid initial position\n");
// if (m_increment < 0) // if (m_increment < 0)
// mame_printf_error("Scanline timer specified invalid increment\n"); // mame_printf_error("Scanline timer specified invalid increment\n");
break; break;
default: default:

View File

@ -309,7 +309,7 @@ static ADDRESS_MAP_START( bzone_map, AS_PROGRAM, 8, bzone_state )
AM_RANGE(0x1800, 0x1800) AM_DEVREAD_LEGACY("mathbox", mathbox_status_r) AM_RANGE(0x1800, 0x1800) AM_DEVREAD_LEGACY("mathbox", mathbox_status_r)
AM_RANGE(0x1810, 0x1810) AM_DEVREAD_LEGACY("mathbox", mathbox_lo_r) AM_RANGE(0x1810, 0x1810) AM_DEVREAD_LEGACY("mathbox", mathbox_lo_r)
AM_RANGE(0x1818, 0x1818) AM_DEVREAD_LEGACY("mathbox", mathbox_hi_r) AM_RANGE(0x1818, 0x1818) AM_DEVREAD_LEGACY("mathbox", mathbox_hi_r)
// AM_RANGE(0x1820, 0x182f) AM_DEVREADWRITE_LEGACY("pokey", pokey_r, pokey_w) // AM_RANGE(0x1820, 0x182f) AM_DEVREADWRITE_LEGACY("pokey", pokey_r, pokey_w)
AM_RANGE(0x1820, 0x182f) AM_DEVREADWRITE("pokey", pokeyn_device, read, write) AM_RANGE(0x1820, 0x182f) AM_DEVREADWRITE("pokey", pokeyn_device, read, write)
AM_RANGE(0x1840, 0x1840) AM_DEVWRITE_LEGACY("discrete", bzone_sounds_w) AM_RANGE(0x1840, 0x1840) AM_DEVWRITE_LEGACY("discrete", bzone_sounds_w)
AM_RANGE(0x1860, 0x187f) AM_DEVWRITE_LEGACY("mathbox", mathbox_go_w) AM_RANGE(0x1860, 0x187f) AM_DEVWRITE_LEGACY("mathbox", mathbox_go_w)

View File

@ -477,7 +477,7 @@ static MACHINE_CONFIG_START( chance32, chance32_state )
/* video hardware */ /* video hardware */
MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(52.786) MCFG_SCREEN_REFRESH_RATE(52.786)
// MCFG_SCREEN_REFRESH_RATE(60) // MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*16, 32*8) MCFG_SCREEN_SIZE(40*16, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0, 35*16-1, 0, 29*8-1) MCFG_SCREEN_VISIBLE_AREA(0, 35*16-1, 0, 29*8-1)

View File

@ -9148,10 +9148,10 @@ ROM_START( xmvsfu1d )
ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */ ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */
ROM_LOAD16_WORD_SWAP( "xvsud.03h", 0x000000, 0x80000, CRC(4e2e76b7) SHA1(812ebe4063a1c5d8c86200a51e6ab00e57e02869) ) ROM_LOAD16_WORD_SWAP( "xvsud.03h", 0x000000, 0x80000, CRC(4e2e76b7) SHA1(812ebe4063a1c5d8c86200a51e6ab00e57e02869) )
ROM_LOAD16_WORD_SWAP( "xvsud.04h", 0x080000, 0x80000, CRC(290c61a7) SHA1(f0d409048c9d477ee98e6df92febcd4492a291ee) ) ROM_LOAD16_WORD_SWAP( "xvsud.04h", 0x080000, 0x80000, CRC(290c61a7) SHA1(f0d409048c9d477ee98e6df92febcd4492a291ee) )
// ROM_LOAD16_WORD_SWAP( "xvsd.05a", 0x100000, 0x80000, CRC(de347b11) SHA1(297ae207811df9a4973de1df00b2efaa14a0137d) ) // bad dump? // ROM_LOAD16_WORD_SWAP( "xvsd.05a", 0x100000, 0x80000, CRC(de347b11) SHA1(297ae207811df9a4973de1df00b2efaa14a0137d) ) // bad dump?
ROM_LOAD16_WORD_SWAP( "xvs.05a", 0x100000, 0x80000, CRC(7db6025d) SHA1(2d74f48f83f45359bfaca28ab686625766af12ee) ) ROM_LOAD16_WORD_SWAP( "xvs.05a", 0x100000, 0x80000, CRC(7db6025d) SHA1(2d74f48f83f45359bfaca28ab686625766af12ee) )
ROM_LOAD16_WORD_SWAP( "xvs.06a", 0x180000, 0x80000, CRC(e8e2c75c) SHA1(929408cb5d98e95cec75ea58e4701b0cbdbcd016) ) ROM_LOAD16_WORD_SWAP( "xvs.06a", 0x180000, 0x80000, CRC(e8e2c75c) SHA1(929408cb5d98e95cec75ea58e4701b0cbdbcd016) )
// ROM_LOAD16_WORD_SWAP( "xvsd.07", 0x200000, 0x80000, CRC(f761ded7) SHA1(e49277398734dea044e7c8ec16800db196905e6f) ) // bad dump ? // ROM_LOAD16_WORD_SWAP( "xvsd.07", 0x200000, 0x80000, CRC(f761ded7) SHA1(e49277398734dea044e7c8ec16800db196905e6f) ) // bad dump ?
ROM_LOAD16_WORD_SWAP( "xvs.07", 0x200000, 0x80000, CRC(08f0abed) SHA1(ef16c376232dba63b0b9bc3aa0640f9001ccb68a) ) ROM_LOAD16_WORD_SWAP( "xvs.07", 0x200000, 0x80000, CRC(08f0abed) SHA1(ef16c376232dba63b0b9bc3aa0640f9001ccb68a) )
ROM_LOAD16_WORD_SWAP( "xvs.08", 0x280000, 0x80000, CRC(81929675) SHA1(19cf7afbc1daaefec40195e40ba74970f3906a1c) ) ROM_LOAD16_WORD_SWAP( "xvs.08", 0x280000, 0x80000, CRC(81929675) SHA1(19cf7afbc1daaefec40195e40ba74970f3906a1c) )
ROM_LOAD16_WORD_SWAP( "xvs.09", 0x300000, 0x80000, CRC(9641f36b) SHA1(dcba3482d1ba37ccfb30d402793ee063c6621aed) ) ROM_LOAD16_WORD_SWAP( "xvs.09", 0x300000, 0x80000, CRC(9641f36b) SHA1(dcba3482d1ba37ccfb30d402793ee063c6621aed) )

View File

@ -448,7 +448,7 @@ static READ8_DEVICE_HANDLER( ppi0_portc_r )
static I8255A_INTERFACE( ppi8255_intf ) static I8255A_INTERFACE( ppi8255_intf )
{ {
/* Init with 0x9a... A, B and high C as input /* Init with 0x9a... A, B and high C as input
Serial Eprom connected to Port C */ Serial Eprom connected to Port C */
DEVCB_INPUT_PORT("SYSTEM"), /* Port A read */ DEVCB_INPUT_PORT("SYSTEM"), /* Port A read */
DEVCB_NULL, /* Port A write */ DEVCB_NULL, /* Port A write */
DEVCB_INPUT_PORT("INPUT"), /* Port B read */ DEVCB_INPUT_PORT("INPUT"), /* Port B read */

View File

@ -2148,7 +2148,7 @@ static ADDRESS_MAP_START( lhzb2a, AS_PROGRAM, 16, igs017_state )
AM_RANGE(0x000000, 0x07ffff) AM_ROM AM_RANGE(0x000000, 0x07ffff) AM_ROM
AM_RANGE(0x500000, 0x503fff) AM_RAM AM_RANGE(0x500000, 0x503fff) AM_RAM
// AM_RANGE(0x910000, 0x910003) accesses appear to be from leftover code where the final checks were disabled // AM_RANGE(0x910000, 0x910003) accesses appear to be from leftover code where the final checks were disabled
AM_RANGE(0xb02000, 0xb02fff) AM_READWRITE( spriteram_lsb_r, spriteram_lsb_w ) AM_SHARE("spriteram") AM_RANGE(0xb02000, 0xb02fff) AM_READWRITE( spriteram_lsb_r, spriteram_lsb_w ) AM_SHARE("spriteram")
AM_RANGE(0xb03000, 0xb037ff) AM_RAM_WRITE( lhzb2a_paletteram_w ) AM_SHARE("paletteram") AM_RANGE(0xb03000, 0xb037ff) AM_RAM_WRITE( lhzb2a_paletteram_w ) AM_SHARE("paletteram")
AM_RANGE(0xb04024, 0xb04025) AM_WRITE( video_disable_lsb_w ) AM_RANGE(0xb04024, 0xb04025) AM_WRITE( video_disable_lsb_w )

View File

@ -646,7 +646,7 @@
***************************************************************************** *****************************************************************************
Neo-Geo bios Neo-Geo bios
***************************************************************************** *****************************************************************************
@ -817,7 +817,7 @@
/**************************************************************************** /****************************************************************************
Official sets Official sets
***************************************************************************** *****************************************************************************
@ -7511,12 +7511,12 @@ ROM_END
/* Some info about the 2nd AES release of Samurai Shodown 5 Special (samsh5sph): /* Some info about the 2nd AES release of Samurai Shodown 5 Special (samsh5sph):
The fixed carts have a small round neogeo sticker applied to the front side of the cart (top right near cart sticker). The fixed carts have a small round neogeo sticker applied to the front side of the cart (top right near cart sticker).
SNK Playmore had authorized a recall of all Samurai Shodown V Special (Samurai Spirits 0 Special) home cartridges. This recall involved bug fixes SNK Playmore had authorized a recall of all Samurai Shodown V Special (Samurai Spirits 0 Special) home cartridges. This recall involved bug fixes
and the addition of fatalities. (The fatalities were originally removed at the last minute due to the Nagasaki incident, a murder caused by a child killing her classmate by knife.) and the addition of fatalities. (The fatalities were originally removed at the last minute due to the Nagasaki incident, a murder caused by a child killing her classmate by knife.)
Bug fixes: Improvements on Voice, Back Ground Music, and Practice mode. Bug fixes: Improvements on Voice, Back Ground Music, and Practice mode.
Fatalities: SNK PLAYMORE modified the game program by including the removed "Zetumei Ougi" in a modified version. Fatalities: SNK PLAYMORE modified the game program by including the removed "Zetumei Ougi" in a modified version.
This new version does not show the complete fatalities, they are instead replaced by what SNK PLAYMORE refers to as "lessened fatalities". This new version does not show the complete fatalities, they are instead replaced by what SNK PLAYMORE refers to as "lessened fatalities".
*/ */
@ -7596,7 +7596,7 @@ ROM_END
/**************************************************************************** /****************************************************************************
BrezzaSoft games, licensed? BrezzaSoft games, licensed?
****************************************************************************/ ****************************************************************************/
@ -7711,7 +7711,7 @@ ROM_END
/**************************************************************************** /****************************************************************************
Vektorlogic games, unlicensed Vektorlogic games, unlicensed
****************************************************************************/ ****************************************************************************/
@ -7753,7 +7753,7 @@ ROM_END
/**************************************************************************** /****************************************************************************
Jamma PCB sets Jamma PCB sets
****************************************************************************/ ****************************************************************************/
@ -7924,7 +7924,7 @@ ROM_END
/**************************************************************************** /****************************************************************************
Bootleg sets Bootleg sets
****************************************************************************/ ****************************************************************************/
@ -8953,7 +8953,7 @@ ROM_END
/**************************************************************************** /****************************************************************************
Game specific input definitions Game specific input definitions
****************************************************************************/ ****************************************************************************/
@ -9253,7 +9253,7 @@ INPUT_PORTS_END
/**************************************************************************** /****************************************************************************
Game specific inits Game specific inits
****************************************************************************/ ****************************************************************************/
@ -9924,7 +9924,7 @@ static DRIVER_INIT(sbp )
/**************************************************************************** /****************************************************************************
Softlist stuff Softlist stuff
****************************************************************************/ ****************************************************************************/

View File

@ -4050,7 +4050,7 @@ ROM_START( mspacii )
ROM_REGION( 0x2000, "gfx1", 0 ) ROM_REGION( 0x2000, "gfx1", 0 )
ROM_LOAD( "p1.5e", 0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) ) ROM_LOAD( "p1.5e", 0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) )
ROM_LOAD( "p2.5f", 0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) ) ROM_LOAD( "p2.5f", 0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
ROM_REGION( 0x0120, "proms", 0 ) ROM_REGION( 0x0120, "proms", 0 )
ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) ) ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
@ -4073,7 +4073,7 @@ ROM_START( mspacii2 )
ROM_REGION( 0x2000, "gfx1", 0 ) ROM_REGION( 0x2000, "gfx1", 0 )
ROM_LOAD( "p7.bin", 0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) ) ROM_LOAD( "p7.bin", 0x0000, 0x1000, CRC(04333722) SHA1(bb179d5302b26b815b5d7eff14865e7b4f8a6880) )
ROM_LOAD( "p8.bin", 0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) ) ROM_LOAD( "p8.bin", 0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
ROM_REGION( 0x0120, "proms", 0 ) ROM_REGION( 0x0120, "proms", 0 )
ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) ) ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )

View File

@ -273,8 +273,8 @@ static WRITE8_DEVICE_HANDLER( ppi_portc_hi_w )
static I8255A_INTERFACE( ppi8255_intf ) static I8255A_INTERFACE( ppi8255_intf )
{ {
/* PPI 8255 group A & B set to Mode 0. /* PPI 8255 group A & B set to Mode 0.
Port A, B and lower 4 bits of C set as Input. Port A, B and lower 4 bits of C set as Input.
High 4 bits of C set as Output */ High 4 bits of C set as Output */
DEVCB_INPUT_PORT("IN0"), /* Port A read */ DEVCB_INPUT_PORT("IN0"), /* Port A read */
DEVCB_NULL, /* Port A write */ DEVCB_NULL, /* Port A write */
DEVCB_INPUT_PORT("IN1"), /* Port B read */ DEVCB_INPUT_PORT("IN1"), /* Port B read */

View File

@ -1078,7 +1078,7 @@ ROM_START( backfirt )
ROM_LOAD( "b14-s3.bin", 0x30000, 0x08000, CRC(4d29637a) SHA1(28e85925138256b8ce5a1c4a5df5b219b1b6b197) ) /* tiles #2 */ // half size is correct, rom type 27256 ROM_LOAD( "b14-s3.bin", 0x30000, 0x08000, CRC(4d29637a) SHA1(28e85925138256b8ce5a1c4a5df5b219b1b6b197) ) /* tiles #2 */ // half size is correct, rom type 27256
ROM_REGION( 0x8000, "adpcm", ROMREGION_ERASE00 ) /* ADPCM samples */ ROM_REGION( 0x8000, "adpcm", ROMREGION_ERASE00 ) /* ADPCM samples */
// ROM_LOAD( "silkworm.1", 0x0000, 0x8000, CRC(5b553644) SHA1(5d39d2251094c17f7b732b4861401b3516fce9b1) ) // ROM_LOAD( "silkworm.1", 0x0000, 0x8000, CRC(5b553644) SHA1(5d39d2251094c17f7b732b4861401b3516fce9b1) )
ROM_END ROM_END
ROM_START( gemini ) ROM_START( gemini )

View File

@ -5227,7 +5227,7 @@ clocknch // 11 1981.04 Lock'n'Chase
// 12 1981.08 Flash Boy/DECO Kid // 12 1981.08 Flash Boy/DECO Kid
cprogolf // 13 1981.08 Tournament Pro Golf cprogolf // 13 1981.08 Tournament Pro Golf
cprogolfj // 13 1981.08 Tournament Pro Golf (Japan) cprogolfj // 13 1981.08 Tournament Pro Golf (Japan)
cdsteljn // 14 1981.06 DS Telejan cdsteljn // 14 1981.06 DS Telejan
cluckypo // 15 1981.?? Lucky Poker cluckypo // 15 1981.?? Lucky Poker
ctisland // 16 1982.02 Treasure Island ctisland // 16 1982.02 Treasure Island
ctisland2 // 16 ctisland2 // 16
@ -5243,7 +5243,7 @@ cptennis // 22 1982.06 Pro Tennis
// 24 1982.07 Tsumego Kaisyou // 24 1982.07 Tsumego Kaisyou
// 25 1982.10 Angler Dangler? (fishing) // 25 1982.10 Angler Dangler? (fishing)
cbtime // 26 1982.08 Hamburger/Burger Time cbtime // 26 1982.08 Hamburger/Burger Time
chamburger // 26 1982.08 Hamburger (Japan) chamburger // 26 1982.08 Hamburger (Japan)
cburnrub // 27 1982.11 Burnin' Rubber cburnrub // 27 1982.11 Burnin' Rubber
cburnrub2 // 27 cburnrub2 // 27
cbnj // 27 Bump 'n' Jump cbnj // 27 Bump 'n' Jump

View File

@ -58,7 +58,7 @@ typedef struct _dm01
int data_avail, int data_avail,
control, control,
xcounter, xcounter,
segbuffer[65], segbuffer[65],
busy; busy;
UINT8 scanline[DM_BYTESPERROW], UINT8 scanline[DM_BYTESPERROW],

View File

@ -38,4 +38,4 @@
***************************************************************************/ ***************************************************************************/
extern const char build_version[]; extern const char build_version[];
const char build_version[] = "0.145u8 ("__DATE__")"; const char build_version[] = "0.146 ("__DATE__")";