Clean-ups and version bump

This commit is contained in:
Angelo Salese 2012-02-26 14:31:24 +00:00
parent b46b9de8c8
commit 04145d0b62
26 changed files with 83 additions and 83 deletions

View File

@ -646,7 +646,7 @@ INLINE UINT32 get_dt3_table_entry(m68ki_cpu_core *m68k, UINT32 tptr, UINT8 fc, U
// is UDT valid on the pointer entry? // is UDT valid on the pointer entry?
if (!(pointer_entry & 2) && !ptest) if (!(pointer_entry & 2) && !ptest)
{ {
// fprintf(stderr, "Invalid pointer entry! PC=%x, addr=%x\n", m68k->ppc, addr_in); // fprintf(stderr, "Invalid pointer entry! PC=%x, addr=%x\n", m68k->ppc, addr_in);
if (++m68k->mmu_tmp_buserror_occurred == 1) if (++m68k->mmu_tmp_buserror_occurred == 1)
{ {
m68k->mmu_tmp_buserror_address = addr_in; m68k->mmu_tmp_buserror_address = addr_in;
@ -661,7 +661,7 @@ INLINE UINT32 get_dt3_table_entry(m68ki_cpu_core *m68k, UINT32 tptr, UINT8 fc, U
} }
else // throw an error else // throw an error
{ {
// fprintf(stderr, "Invalid root entry! PC=%x, addr=%x\n", m68k->ppc, addr_in); // fprintf(stderr, "Invalid root entry! PC=%x, addr=%x\n", m68k->ppc, addr_in);
if (!ptest) if (!ptest)
{ {
@ -721,7 +721,7 @@ INLINE UINT32 get_dt3_table_entry(m68ki_cpu_core *m68k, UINT32 tptr, UINT8 fc, U
switch (page_entry & 3) switch (page_entry & 3)
{ {
case 0: // invalid case 0: // invalid
// fprintf(stderr, "Invalid page entry! PC=%x, addr=%x\n", m68k->ppc, addr_in); // fprintf(stderr, "Invalid page entry! PC=%x, addr=%x\n", m68k->ppc, addr_in);
if (!ptest) if (!ptest)
{ {
if (++m68k->mmu_tmp_buserror_occurred == 1) if (++m68k->mmu_tmp_buserror_occurred == 1)

View File

@ -394,7 +394,7 @@ device_mixer_interface::~device_mixer_interface()
//------------------------------------------------- //-------------------------------------------------
// interface_pre_start - perform startup prior // interface_pre_start - perform startup prior
// to the device startup // to the device startup
//------------------------------------------------- //-------------------------------------------------
void device_mixer_interface::interface_pre_start() void device_mixer_interface::interface_pre_start()

View File

@ -202,7 +202,7 @@ static MACHINE_START( magtouch )
memory_configure_bank(machine, "rombank", 0, 0x80, machine.region("game_prg")->base(), 0x8000 ); memory_configure_bank(machine, "rombank", 0, 0x80, machine.region("game_prg")->base(), 0x8000 );
memory_set_bank(machine, "rombank", 0); memory_set_bank(machine, "rombank", 0);
// microtouch_init(machine, magtouch_microtouch_tx_callback, NULL); // microtouch_init(machine, magtouch_microtouch_tx_callback, NULL);
} }
static MACHINE_CONFIG_START( magtouch, magtouch_state ) static MACHINE_CONFIG_START( magtouch, magtouch_state )

View File

@ -157,7 +157,7 @@ static ADDRESS_MAP_START( manohman_map, AS_PROGRAM, 16 )
AM_RANGE(0x300002, 0x300003) AM_DEVWRITE8("saa", saa1099_control_w, 0x00ff) AM_RANGE(0x300002, 0x300003) AM_DEVWRITE8("saa", saa1099_control_w, 0x00ff)
AM_RANGE(0x500000, 0x503fff) AM_RAM AM_RANGE(0x500000, 0x503fff) AM_RAM
AM_RANGE(0x600006, 0x600007) AM_RAM // write bitpatterns to compare with the 500000-503ff8 RAM testing. AM_RANGE(0x600006, 0x600007) AM_RAM // write bitpatterns to compare with the 500000-503ff8 RAM testing.
// AM_RANGE(0xYYYYYY, 0xYYYYYY) AM_RAM // AM_RANGE(0xYYYYYY, 0xYYYYYY) AM_RAM
ADDRESS_MAP_END ADDRESS_MAP_END
/* /*

View File

@ -994,7 +994,7 @@ MACHINE_CONFIG_END
ROM_LOAD( "delmonopolysound.bin", 0x0000, 0x040000, CRC(8742981e) SHA1(1ba33c59ec5f878ebab111a77551213aad4b0993) )\ ROM_LOAD( "delmonopolysound.bin", 0x0000, 0x040000, CRC(8742981e) SHA1(1ba33c59ec5f878ebab111a77551213aad4b0993) )\
#define m1_dkong_sound\ #define m1_dkong_sound\
ROM_REGION( 0x100000, "oki", ROMREGION_ERASE00 )\ ROM_REGION( 0x100000, "oki", ROMREGION_ERASE00 )\
ROM_LOAD( "donkeykong.p1", 0x0000, 0x080000, CRC(11019875) SHA1(b171b46a7a98967668793a7ea7b5931c7a76dd82) )\ ROM_LOAD( "donkeykong.p1", 0x0000, 0x080000, CRC(11019875) SHA1(b171b46a7a98967668793a7ea7b5931c7a76dd82) )\
ROM_LOAD( "donkeykong.p2", 0x0000, 0x080000, CRC(e28f406f) SHA1(42a58c0f5c4f25dec4c0c49eb8415971a515c5a6) )\ ROM_LOAD( "donkeykong.p2", 0x0000, 0x080000, CRC(e28f406f) SHA1(42a58c0f5c4f25dec4c0c49eb8415971a515c5a6) )\

View File

@ -6,7 +6,7 @@
board has the followng etched board has the followng etched
US GAMES US GAMES
MADE IN USA MADE IN USA
P/N: 34010 REV C-1 P/N: 34010 REV C-1

View File

@ -1959,7 +1959,7 @@ int n64_periphs::pif_channel_handle_command(int channel, int slength, UINT8 *sda
void n64_periphs::handle_pif() void n64_periphs::handle_pif()
{ {
/*printf("Before:\n"); fflush(stdout); /*printf("Before:\n"); fflush(stdout);
for(int i = 0; i < 0x40; i++) for(int i = 0; i < 0x40; i++)
{ {
printf("%02x ", pif_cmd[i]); printf("%02x ", pif_cmd[i]);
if((i & 0xf) == 0xf) if((i & 0xf) == 0xf)

View File

@ -295,7 +295,7 @@ void process_dvi_data(UINT8* dvi_data, int baseoffset, int regionsize)
CIMG.ci1 = R32(&subptr); CIMG.ci1 = R32(&subptr);
CIMG.ci2 = R16(&subptr); CIMG.ci2 = R16(&subptr);
CIMG.ci3 = R16(&subptr); CIMG.ci3 = R16(&subptr);
for (int i=0;i<80;i++) { CIMG.ci4[i] = R8(&subptr); } for (int i=0;i<80;i++) { CIMG.ci4[i] = R8(&subptr); }
CIMG.ci5 = R32(&subptr); CIMG.ci5 = R32(&subptr);
@ -355,7 +355,7 @@ void process_dvi_data(UINT8* dvi_data, int baseoffset, int regionsize)
dviprintf("Frame Dictionaries\n\n"); dviprintf("Frame Dictionaries\n\n");
UINT8* frameptr = dvi_data + AVSS.av26 + 2 + baseoffset; // +2 ?? UINT8* frameptr = dvi_data + AVSS.av26 + 2 + baseoffset; // +2 ??
// UINT8* frameptr = dvi_data + AVSS.av26 + baseoffset; // UINT8* frameptr = dvi_data + AVSS.av26 + baseoffset;
for (int f=0;f<AVSS.av20;f++) for (int f=0;f<AVSS.av20;f++)
{ {

View File

@ -7,11 +7,11 @@
#include "video/gticlub.h" #include "video/gticlub.h"
/* /*
TODO: TODO:
- Fog equation and parameters are probably not accurate. - Fog equation and parameters are probably not accurate.
- Winding Heat (and maybe others) have slight Z-fighting problems. - Winding Heat (and maybe others) have slight Z-fighting problems.
- 3D isn't always turned off properly (during title screens for example). - 3D isn't always turned off properly (during title screens for example).
Figure out what controls this. Video mixer, layer priority or some 3D register? Figure out what controls this. Video mixer, layer priority or some 3D register?
*/ */
@ -810,9 +810,9 @@ static void render_polygons(running_machine &machine)
// 0x00: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx Command // 0x00: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx Command
// //
// 0x01: xxxx---- -------- -------- -------- Texture palette // 0x01: xxxx---- -------- -------- -------- Texture palette
// 0x01: ----xx-- -------- -------- -------- Unknown flags, set by commands 0x7b...0x7e // 0x01: ----xx-- -------- -------- -------- Unknown flags, set by commands 0x7b...0x7e
// 0x01: ------xx x------- -------- -------- Texture width / 8 - 1 // 0x01: ------xx x------- -------- -------- Texture width / 8 - 1
// 0x01: -------- -xxx---- -------- -------- Texture height / 8 - 1 // 0x01: -------- -xxx---- -------- -------- Texture height / 8 - 1
// 0x01: -------- -------x xxxx---- -------- Texture page // 0x01: -------- -------x xxxx---- -------- Texture page
// 0x01: -------- -------- ----x-x- x-x-x-x- Texture X / 8 // 0x01: -------- -------- ----x-x- x-x-x-x- Texture X / 8
// 0x01: -------- -------- -----x-x -x-x-x-x Texture Y / 8 // 0x01: -------- -------- -----x-x -x-x-x-x Texture Y / 8
@ -1419,13 +1419,13 @@ static void render_polygons(running_machine &machine)
else if ((cmd & 0xffffff00) == 0x80000000) else if ((cmd & 0xffffff00) == 0x80000000)
{ {
/* /*
mame_printf_debug("Unknown polygon type %08X:\n", fifo[index-1]); mame_printf_debug("Unknown polygon type %08X:\n", fifo[index-1]);
for (int i=0; i < 0x20; i++) for (int i=0; i < 0x20; i++)
{ {
mame_printf_debug(" %02X: %08X\n", i, fifo[index+i]); mame_printf_debug(" %02X: %08X\n", i, fifo[index+i]);
} }
mame_printf_debug("\n"); mame_printf_debug("\n");
*/ */
printf("Unknown polygon type %08X:\n", fifo[index-1]); printf("Unknown polygon type %08X:\n", fifo[index-1]);
for (int i=0; i < 0x20; i++) for (int i=0; i < 0x20; i++)
@ -1486,10 +1486,10 @@ VIDEO_START( gticlub )
{ {
gticlub_led_reg[0] = gticlub_led_reg[1] = 0x7f; gticlub_led_reg[0] = gticlub_led_reg[1] = 0x7f;
/* /*
tick = 0; tick = 0;
debug_tex_page = 0; debug_tex_page = 0;
debug_tex_palette = 0; debug_tex_palette = 0;
*/ */
K001006_init(machine); K001006_init(machine);
K001005_init(machine); K001005_init(machine);

View File

@ -82,7 +82,7 @@ struct movie_info
int samplerate; int samplerate;
int channels; int channels;
int interlaced; int interlaced;
bitmap_yuy16 bitmap; bitmap_yuy16 bitmap;
dynamic_array<INT16> lsound; dynamic_array<INT16> lsound;
dynamic_array<INT16> rsound; dynamic_array<INT16> rsound;
UINT32 samples; UINT32 samples;

View File

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