mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
Cleanups and version bump.
This commit is contained in:
parent
fa68c11272
commit
e47035e834
@ -665,7 +665,7 @@ static WRITE8_DEVICE_HANDLER( soundlamps_w )
|
|||||||
discrete_sound_w(discrete, NORAUTP_SND_EN, (data >> 7) & 0x01);
|
discrete_sound_w(discrete, NORAUTP_SND_EN, (data >> 7) & 0x01);
|
||||||
discrete_sound_w(discrete, NORAUTP_FREQ_DATA, (data >> 4) & 0x07);
|
discrete_sound_w(discrete, NORAUTP_FREQ_DATA, (data >> 4) & 0x07);
|
||||||
|
|
||||||
// popmessage("sound bits 4-5-6-7: %02x, %02x, %02x, %02x", ((data >> 4) & 0x01), ((data >> 5) & 0x01), ((data >> 6) & 0x01), ((data >> 7) & 0x01));
|
// popmessage("sound bits 4-5-6-7: %02x, %02x, %02x, %02x", ((data >> 4) & 0x01), ((data >> 5) & 0x01), ((data >> 6) & 0x01), ((data >> 7) & 0x01));
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( counterlamps_w )
|
static WRITE8_DEVICE_HANDLER( counterlamps_w )
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
Photon IK2 system
|
Photon IK2 system
|
||||||
|
|
||||||
Driver by Mariusz Wojcieszek
|
Driver by Mariusz Wojcieszek
|
||||||
|
|
||||||
Russian arcade system based on ZX Spectrum home computer.
|
Russian arcade system based on ZX Spectrum home computer.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ VIDEO_UPDATE( spectrum )
|
|||||||
int x, y, b, scrx, scry;
|
int x, y, b, scrx, scry;
|
||||||
unsigned short ink, pap;
|
unsigned short ink, pap;
|
||||||
unsigned char *attr, *scr;
|
unsigned char *attr, *scr;
|
||||||
// int full_refresh = 1;
|
// int full_refresh = 1;
|
||||||
|
|
||||||
scr=spectrum_video_ram;
|
scr=spectrum_video_ram;
|
||||||
|
|
||||||
|
@ -584,8 +584,8 @@ WRITE64_HANDLER( naomi_maple_w )
|
|||||||
{
|
{
|
||||||
maple_regs[reg] = 1;
|
maple_regs[reg] = 1;
|
||||||
dat=maple_regs[SB_MDSTAR];
|
dat=maple_regs[SB_MDSTAR];
|
||||||
// printf("Maple DMA: %08x %08x %08x %08x\n",maple_regs[SB_MDSTAR],maple_regs[SB_MDTSEL],maple_regs[SB_MDEN],maple_regs[SB_MDST]);
|
// printf("Maple DMA: %08x %08x %08x %08x\n",maple_regs[SB_MDSTAR],maple_regs[SB_MDTSEL],maple_regs[SB_MDEN],maple_regs[SB_MDST]);
|
||||||
// printf(" %08x %08x %08x %08x\n",maple_regs[SB_MSYS],maple_regs[SB_MST],maple_regs[SB_MSHTCL],maple_regs[SB_MMSEL]);
|
// printf(" %08x %08x %08x %08x\n",maple_regs[SB_MSYS],maple_regs[SB_MST],maple_regs[SB_MSHTCL],maple_regs[SB_MMSEL]);
|
||||||
while (1) // do transfers
|
while (1) // do transfers
|
||||||
{
|
{
|
||||||
ddtdata.source=dat; // source address
|
ddtdata.source=dat; // source address
|
||||||
@ -932,8 +932,8 @@ WRITE64_HANDLER( dc_maple_w )
|
|||||||
{
|
{
|
||||||
maple_regs[reg] = 1;
|
maple_regs[reg] = 1;
|
||||||
dat=maple_regs[SB_MDSTAR];
|
dat=maple_regs[SB_MDSTAR];
|
||||||
// printf("Maple DMA: %08x %08x %08x %08x\n",maple_regs[SB_MDSTAR],maple_regs[SB_MDTSEL],maple_regs[SB_MDEN],maple_regs[SB_MDST]);
|
// printf("Maple DMA: %08x %08x %08x %08x\n",maple_regs[SB_MDSTAR],maple_regs[SB_MDTSEL],maple_regs[SB_MDEN],maple_regs[SB_MDST]);
|
||||||
// printf(" %08x %08x %08x %08x\n",maple_regs[SB_MSYS],maple_regs[SB_MST],maple_regs[SB_MSHTCL],maple_regs[SB_MMSEL]);
|
// printf(" %08x %08x %08x %08x\n",maple_regs[SB_MSYS],maple_regs[SB_MST],maple_regs[SB_MSHTCL],maple_regs[SB_MMSEL]);
|
||||||
while (1) // do transfers
|
while (1) // do transfers
|
||||||
{
|
{
|
||||||
ddtdata.source=dat; // source address
|
ddtdata.source=dat; // source address
|
||||||
|
@ -276,13 +276,13 @@ static const naomibd_config_table naomibd_translate_tbl[] =
|
|||||||
0x3232, 0, 0x170000, 0x8989, 0, 0x190000, 0x6655, 0, 0x1a0000,
|
0x3232, 0, 0x170000, 0x8989, 0, 0x190000, 0x6655, 0, 0x1a0000,
|
||||||
0x3944, 0, 0x1c0000, 0x655a, 0, 0x1d0000, 0xf513, 0, 0x1e0000,
|
0x3944, 0, 0x1c0000, 0x655a, 0, 0x1d0000, 0xf513, 0, 0x1e0000,
|
||||||
0xb957, 0, 0, 0x37ca, 0, 0, 0xffffffff, 0xffffffff, 0xffffffff } },
|
0xb957, 0, 0, 0x37ca, 0, 0, 0xffffffff, 0xffffffff, 0xffffffff } },
|
||||||
/* { "pstone2", 0, { 0x4a65, 0, 0x000000, 0x0ead, 0, 0x010000, 0x0492, 0, 0x020000, 0x414a, 0, 0x030000,
|
/* { "pstone2", 0, { 0x4a65, 0, 0x000000, 0x0ead, 0, 0x010000, 0x0492, 0, 0x020000, 0x414a, 0, 0x030000,
|
||||||
0xad8c, 0, 0x040000, 0x923d, 0, 0x050000, 0x4a65, 0, 0x060000, 0x9958, 0, 0x070000,
|
0xad8c, 0, 0x040000, 0x923d, 0, 0x050000, 0x4a65, 0, 0x060000, 0x9958, 0, 0x070000,
|
||||||
0x8216, 0, 0x080000, 0xaa91, 0, 0x090000, 0xd007, 0, 0x0a0000, 0x71ee, 0, 0x0b0000,
|
0x8216, 0, 0x080000, 0xaa91, 0, 0x090000, 0xd007, 0, 0x0a0000, 0x71ee, 0, 0x0b0000,
|
||||||
0x3e41, 0, 0x0c0000, 0xb7af, 0, 0x0d0000, 0x9651, 0, 0x0e0000, 0x0492, 0, 0x0f0000,
|
0x3e41, 0, 0x0c0000, 0xb7af, 0, 0x0d0000, 0x9651, 0, 0x0e0000, 0x0492, 0, 0x0f0000,
|
||||||
0x414a, 0, 0x100000, 0xaf99, 0, 0x110000, 0x5182, 0, 0x120000, 0x08aa, 0, 0x130000,
|
0x414a, 0, 0x100000, 0xaf99, 0, 0x110000, 0x5182, 0, 0x120000, 0x08aa, 0, 0x130000,
|
||||||
0x69d0, 0, 0x140000, 0x9d71, 0, 0x150000, 0xd319, 0, 0x160000, 0xcc09, 0, 0x170000,
|
0x69d0, 0, 0x140000, 0x9d71, 0, 0x150000, 0xd319, 0, 0x160000, 0xcc09, 0, 0x170000,
|
||||||
0x5ec4, 0, 0x180000, 0x7103, 0, 0x190000, 0xffffffff, 0xffffffff, 0xffffffff } },
|
0x5ec4, 0, 0x180000, 0x7103, 0, 0x190000, 0xffffffff, 0xffffffff, 0xffffffff } },
|
||||||
*/
|
*/
|
||||||
{ "toyfight", 0,{ 0x0615, 0, 0x0000, 0x1999, 0, 0x1000, 0x7510, 0, 0x2000, 0x5736, 0, 0x3000,
|
{ "toyfight", 0,{ 0x0615, 0, 0x0000, 0x1999, 0, 0x1000, 0x7510, 0, 0x2000, 0x5736, 0, 0x3000,
|
||||||
0xffffffff, 0xffffffff, 0xffffffff } },
|
0xffffffff, 0xffffffff, 0xffffffff } },
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
extern const char build_version[];
|
extern const char build_version[];
|
||||||
const char build_version[] = "0.133u5 ("__DATE__")";
|
const char build_version[] = "0.134 ("__DATE__")";
|
||||||
|
Loading…
Reference in New Issue
Block a user