mirror of
https://github.com/holub/mame
synced 2025-05-19 12:18:56 +03:00
Cleanups and version bump.
This commit is contained in:
parent
fcb40f0c12
commit
3f39be4b2e
@ -1346,9 +1346,9 @@ ROM_START( spaceftr )
|
||||
ROM_LOAD16_BYTE( "fortrest7.7t", 0x0000, 0x0800, CRC(65d0a225) SHA1(e1fbee5ff42dd040ab2e90bbe2189fcb76d6167e) )
|
||||
|
||||
/* The original fortresp7.7p ROM image was a bad dump, a comparison showed only two bytes difference between it
|
||||
and starcast.p7 from starcas1. A disassembly proved that the two affected bytes resulted in bogus opcodes, which
|
||||
ultimately caused the game to fail. The current ROM taken from starcas1 can be assumed to be equal to a correct
|
||||
dump of fortresp7.7p. The BAD_DUMP flag is kept in just to be sure. */
|
||||
and starcast.p7 from starcas1. A disassembly proved that the two affected bytes resulted in bogus opcodes, which
|
||||
ultimately caused the game to fail. The current ROM taken from starcas1 can be assumed to be equal to a correct
|
||||
dump of fortresp7.7p. The BAD_DUMP flag is kept in just to be sure. */
|
||||
ROM_LOAD16_BYTE( "fortresp7.7p", 0x0001, 0x0800, BAD_DUMP CRC(d8f58d9a) SHA1(abba459431dcacc75099b0d340b957be71b89cfd) ) // taken from starcas1, read note above
|
||||
|
||||
ROM_LOAD16_BYTE( "fortresu7.7u", 0x1000, 0x0800, CRC(13b0287c) SHA1(366a23fd10684975bd5ee190e5227e47a0298ad5) )
|
||||
|
@ -370,7 +370,7 @@ static WRITE8_HANDLER( lucky8_outport_w )
|
||||
output_set_lamp_value(3, (data >> 4) & 1); /* INFO Lamp */
|
||||
output_set_lamp_value(4, (data >> 5) & 1); /* START Lamp */
|
||||
|
||||
// popmessage("lucky8_outb850_w %02x\n", data);
|
||||
// popmessage("lucky8_outb850_w %02x\n", data);
|
||||
|
||||
}
|
||||
|
||||
|
@ -530,9 +530,9 @@ static VIDEO_UPDATE( fspider )
|
||||
VIDEO_UPDATE_CALL(jollyjgr);
|
||||
|
||||
/* Draw bullets
|
||||
16 bytes, 2 bytes per bullet (y,x). 2 player bullets, 6 enemy bullets.
|
||||
Assume bullets to look the same as on Galaxian hw,
|
||||
that is, simply 4 pixels. Colours are unknown. */
|
||||
16 bytes, 2 bytes per bullet (y,x). 2 player bullets, 6 enemy bullets.
|
||||
Assume bullets to look the same as on Galaxian hw,
|
||||
that is, simply 4 pixels. Colours are unknown. */
|
||||
for (int offs=0;offs<0x10;offs+=2) {
|
||||
UINT8 sy=~state->bulletram[offs];
|
||||
UINT8 sx=~state->bulletram[offs|1];
|
||||
|
@ -19,31 +19,31 @@
|
||||
* Starfield
|
||||
|
||||
|
||||
Custom Chip 084 (Starfield generation)
|
||||
Custom Chip 084 (Starfield generation)
|
||||
|
||||
* Inputs:
|
||||
*
|
||||
* NE555 ==> 10 (approx 1 HZ)
|
||||
* 401 ==> 1 (crystal clock, most likely around 6 MHz)
|
||||
* 109 ==> 2 (Video related)
|
||||
* 403 ==> 3 (Video related)
|
||||
* 403 ==> 4 (Video related)
|
||||
* 405 ==> 5 (Video related)
|
||||
* 406 ==> 6 (Video related)
|
||||
* 420 ==> 20 (Video related)
|
||||
* 421 ==> 21 (Video related)
|
||||
* 422 ==> 22 (Video related)
|
||||
* 423 ==> 23 (Video horizontal signal H1)
|
||||
*0x8206 HFF ==> 7 (Horizontal flip)
|
||||
*0x8204 407 ==> 8 (Enable ???)
|
||||
*
|
||||
*Outputs:
|
||||
* 13 Red
|
||||
* 14 Red
|
||||
* 15 Green
|
||||
* 16 Green
|
||||
* 17 Blue
|
||||
* 18 Blue
|
||||
* Inputs:
|
||||
*
|
||||
* NE555 ==> 10 (approx 1 HZ)
|
||||
* 401 ==> 1 (crystal clock, most likely around 6 MHz)
|
||||
* 109 ==> 2 (Video related)
|
||||
* 403 ==> 3 (Video related)
|
||||
* 403 ==> 4 (Video related)
|
||||
* 405 ==> 5 (Video related)
|
||||
* 406 ==> 6 (Video related)
|
||||
* 420 ==> 20 (Video related)
|
||||
* 421 ==> 21 (Video related)
|
||||
* 422 ==> 22 (Video related)
|
||||
* 423 ==> 23 (Video horizontal signal H1)
|
||||
*0x8206 HFF ==> 7 (Horizontal flip)
|
||||
*0x8204 407 ==> 8 (Enable ???)
|
||||
*
|
||||
*Outputs:
|
||||
* 13 Red
|
||||
* 14 Red
|
||||
* 15 Green
|
||||
* 16 Green
|
||||
* 17 Blue
|
||||
* 18 Blue
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
@ -19,12 +19,12 @@ static UINT8 _4in1_bank;
|
||||
static IRQ_CALLBACK(hunchbkg_irq_callback)
|
||||
{
|
||||
/* for some reason a call to cputag_set_input_line
|
||||
* is significantly delayed ....
|
||||
*
|
||||
* cputag_set_input_line(device->machine, "maincpu", 0, CLEAR_LINE);
|
||||
*
|
||||
* Therefore we reset the line without any detour ....
|
||||
*/
|
||||
* is significantly delayed ....
|
||||
*
|
||||
* cputag_set_input_line(device->machine, "maincpu", 0, CLEAR_LINE);
|
||||
*
|
||||
* Therefore we reset the line without any detour ....
|
||||
*/
|
||||
//cpu_set_input_line(device->machine->firstcpu, 0, CLEAR_LINE);
|
||||
cpu_set_info(device->machine->firstcpu, CPUINFO_INT_INPUT_STATE + irq_line, CLEAR_LINE);
|
||||
return 0x03;
|
||||
|
@ -1035,30 +1035,30 @@ void pgm_py2k2_decrypt(running_machine *machine)
|
||||
UINT16 x = src[i];
|
||||
|
||||
/*
|
||||
if((i & 0x40080) != 0x00080)
|
||||
x ^= 0x0001;
|
||||
if((i & 0x40080) != 0x00080)
|
||||
x ^= 0x0001;
|
||||
|
||||
if((i & 0x84008) == 0x84008)
|
||||
x ^= 0x0002;
|
||||
if((i & 0x84008) == 0x84008)
|
||||
x ^= 0x0002;
|
||||
|
||||
if((i & 0x00030) == 0x00010)
|
||||
x ^= 0x0004;
|
||||
if((i & 0x00030) == 0x00010)
|
||||
x ^= 0x0004;
|
||||
|
||||
if((i & 0x00242) != 0x00042)
|
||||
x ^= 0x0008;
|
||||
if((i & 0x00242) != 0x00042)
|
||||
x ^= 0x0008;
|
||||
|
||||
if((i & 0x48100) == 0x48000)
|
||||
x ^= 0x0010;
|
||||
if((i & 0x48100) == 0x48000)
|
||||
x ^= 0x0010;
|
||||
|
||||
if((i & 0x02004) != 0x00004)
|
||||
x ^= 0x0020;
|
||||
if((i & 0x02004) != 0x00004)
|
||||
x ^= 0x0020;
|
||||
|
||||
if((i & 0x01800) != 0x00000)
|
||||
x ^= 0x0040;
|
||||
if((i & 0x01800) != 0x00000)
|
||||
x ^= 0x0040;
|
||||
|
||||
if((i & 0x04820) == 0x04820)
|
||||
x ^= 0x0080;
|
||||
*/
|
||||
if((i & 0x04820) == 0x04820)
|
||||
x ^= 0x0080;
|
||||
*/
|
||||
|
||||
x ^= py2k2_tab[i & 0xff] << 8;
|
||||
|
||||
|
@ -10,4 +10,4 @@
|
||||
***************************************************************************/
|
||||
|
||||
extern const char build_version[];
|
||||
const char build_version[] = "0.137u4 ("__DATE__")";
|
||||
const char build_version[] = "0.138 ("__DATE__")";
|
||||
|
Loading…
Reference in New Issue
Block a user