diff options
author | 2012-10-08 06:41:35 +0000 | |
---|---|---|
committer | 2012-10-08 06:41:35 +0000 | |
commit | f3d5df18e31e16c18f7c1b588bf522e87b08f24c (patch) | |
tree | 22a24025f8a9a187a1f98075bcb54d03e01bf3e0 | |
parent | 9d2e61357613d9971838b7c7af63102437d42c3e (diff) |
Clean-ups and version bumpmame0147u1
-rw-r--r-- | src/emu/machine/scsicb.c | 2 | ||||
-rw-r--r-- | src/emu/machine/scsihle.c | 72 | ||||
-rw-r--r-- | src/mame/drivers/suna8.c | 14 | ||||
-rw-r--r-- | src/mame/video/suna8.c | 16 | ||||
-rw-r--r-- | src/mess/osd/windows/windows.mak | 2 | ||||
-rw-r--r-- | src/ume/osd/windows/windows.mak | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
7 files changed, 55 insertions, 55 deletions
diff --git a/src/emu/machine/scsicb.c b/src/emu/machine/scsicb.c index affe48e5fd0..fb685587600 100644 --- a/src/emu/machine/scsicb.c +++ b/src/emu/machine/scsicb.c @@ -105,7 +105,7 @@ UINT8 scsicb_device::get_scsi_line( UINT32 line ) { UINT8 result = (int)( ( linestate & line ) != 0 ); -// LOG(3,"get_scsi_line(%s)=%d\n",linenames[lineno],result); +// LOG(3,"get_scsi_line(%s)=%d\n",linenames[lineno],result); return result; } diff --git a/src/emu/machine/scsihle.c b/src/emu/machine/scsihle.c index d599d540e08..075871f65fc 100644 --- a/src/emu/machine/scsihle.c +++ b/src/emu/machine/scsihle.c @@ -222,63 +222,63 @@ struct adaptec_sense_t //static const char *const linenames[] = //{ -// "select", "busy", "request", "acknoledge", "C/D", "I/O", "message", "reset" +// "select", "busy", "request", "acknoledge", "C/D", "I/O", "message", "reset" //}; //void scsibus_device::set_scsi_line(UINT8 line, UINT8 state) //{ -// UINT8 changed = linestate[line] != state; +// UINT8 changed = linestate[line] != state; // -// LOG(3,"set_scsi_line(%s,%d), changed=%d\n",linenames[line],state,changed); +// LOG(3,"set_scsi_line(%s,%d), changed=%d\n",linenames[line],state,changed); // -// if(changed) -// { -// if (line==SCSI_LINE_ACK) -// set_scsi_line_ack(state); -// else -// set_scsi_line_now(line,state); -// } +// if(changed) +// { +// if (line==SCSI_LINE_ACK) +// set_scsi_line_ack(state); +// else +// set_scsi_line_now(line,state); +// } //} // //void scsibus_device::set_scsi_line_now( UINT8 line, UINT8 state ) //{ -// if( linestate[ line ] != state ) -// { -// linestate[ line ] = state; +// if( linestate[ line ] != state ) +// { +// linestate[ line ] = state; // -// for( int i = 0; i < deviceCount; i++ ) -// { -// devices[ i ]->scsi_in_line_changed( line, state ); -// } -// } +// for( int i = 0; i < deviceCount; i++ ) +// { +// devices[ i ]->scsi_in_line_changed( line, state ); +// } +// } //} // //void scsibus_device::set_scsi_line_ack(UINT8 state) //{ -// ack_timer->adjust(attotime::from_nsec(ACK_DELAY_NS),state); +// ack_timer->adjust(attotime::from_nsec(ACK_DELAY_NS),state); //} // //void scsibus_device::scsi_out_line_change(UINT8 line, UINT8 state) //{ -// if(line==SCSI_LINE_REQ) -// scsi_out_line_req(state); -// else -// scsi_out_line_change_now(line,state); +// if(line==SCSI_LINE_REQ) +// scsi_out_line_req(state); +// else +// scsi_out_line_change_now(line,state); //} // //void scsibus_device::scsi_out_line_change_now(UINT8 line, UINT8 state) //{ -// if( linestate[ line ] != state ) -// { -// linestate[ line ] = state; +// if( linestate[ line ] != state ) +// { +// linestate[ line ] = state; // -// LOG(3,"scsi_out_line_change(%s,%d)\n",linenames[line],state); -// } +// LOG(3,"scsi_out_line_change(%s,%d)\n",linenames[line],state); +// } //} // //void scsibus_device::scsi_out_line_req(UINT8 state) //{ -// req_timer->adjust(attotime::from_nsec(REQ_DELAY_NS),state); +// req_timer->adjust(attotime::from_nsec(REQ_DELAY_NS),state); //} // @@ -338,13 +338,13 @@ void scsihle_device::device_timer(emu_timer &timer, device_timer_id tid, int par { switch( tid ) { -// case 0: -// scsi_out_line_change_now(SCSI_LINE_REQ, param); -// break; +// case 0: +// scsi_out_line_change_now(SCSI_LINE_REQ, param); +// break; // -// case 1: -// set_scsi_line_now(SCSI_LINE_ACK, param); -// break; +// case 1: +// set_scsi_line_now(SCSI_LINE_ACK, param); +// break; case 2: scsi_out(param * SCSI_MASK_BSY, SCSI_MASK_BSY); @@ -617,7 +617,7 @@ void scsihle_device::scsi_in( UINT32 data, UINT32 mask ) dump_data_bytes(4); } } - + // If the data buffer is full flush it to the SCSI disk data_last = (bytes_left >= sectorbytes) ? sectorbytes : bytes_left; diff --git a/src/mame/drivers/suna8.c b/src/mame/drivers/suna8.c index 16ba5cfec38..15c03075385 100644 --- a/src/mame/drivers/suna8.c +++ b/src/mame/drivers/suna8.c @@ -372,11 +372,11 @@ DRIVER_INIT_MEMBER(suna8_state,starfigh) decrypt[0x07c0] = 0xc9; // c080 bit 7 protection check -// decrypt[0x083e] = 0x00; // sound latch disabling -// decrypt[0x083f] = 0x00; // "" -// decrypt[0x0840] = 0x00; // "" +// decrypt[0x083e] = 0x00; // sound latch disabling +// decrypt[0x083f] = 0x00; // "" +// decrypt[0x0840] = 0x00; // "" -// decrypt[0x0cef] = 0xc9; // rombank latch check, corrupt d12d +// decrypt[0x0cef] = 0xc9; // rombank latch check, corrupt d12d decrypt[0x2696] = 0xc9; // work ram writes disable, corrupt next routine decrypt[0x4e9a] = 0x00; // work ram writes disable, flip background sprite @@ -720,7 +720,7 @@ WRITE8_MEMBER(suna8_state::brickzn_prot_w) m_spritebank = (data >> 1) & 1; logerror("CPU #0 - PC %04X: protection_val = %02X\n",space.device().safe_pc(),data); -// if (data & ~0x03) logerror("CPU #0 - PC %04X: unknown spritebank bits: %02X\n",space.device().safe_pc(),data); +// if (data & ~0x03) logerror("CPU #0 - PC %04X: unknown spritebank bits: %02X\n",space.device().safe_pc(),data); } /* @@ -1012,9 +1012,9 @@ static ADDRESS_MAP_START( starfigh_map, AS_PROGRAM, 8, suna8_state ) AM_RANGE(0xc300, 0xc300) AM_WRITE(hardhea2_flipscreen_w ) // Flip Screen AM_RANGE(0xc380, 0xc3ff) AM_WRITE(starfigh_spritebank_latch_w ) // Sprite RAM Bank Latch AM_RANGE(0xc400, 0xc47f) AM_WRITE(starfigh_leds_w ) // Leds + Coin Counter + ROM Bank -// c480 write? +// c480 write? AM_RANGE(0xc500, 0xc500) AM_WRITE(starfigh_sound_latch_w ) // To Sound CPU (can be disabled) -// (c522 + R & 0x1f) write? +// (c522 + R & 0x1f) write? AM_RANGE(0xc600, 0xc7ff) AM_READWRITE(banked_paletteram_r, paletteram_RRRRGGGGBBBBxxxx_byte_be_w) AM_SHARE("paletteram" ) // Palette (Banked??) AM_RANGE(0xc800, 0xdfff) AM_RAM // RAM diff --git a/src/mame/video/suna8.c b/src/mame/video/suna8.c index fa42a2245d1..79f6bfadc61 100644 --- a/src/mame/video/suna8.c +++ b/src/mame/video/suna8.c @@ -294,16 +294,16 @@ static void draw_normal_sprites(running_machine &machine, bitmap_ind16 &bitmap,c if (state->m_use_gfxbank) { // starfigh: boss 2 head, should be p7 g7 x8/c y4: - // 67 74 88 03 - // 67 76 ac 03 + // 67 74 88 03 + // 67 76 ac 03 // starfigh: boss 2 chainguns should be p6 g7: - // a8 68/a/c/e 62 23 - // 48 68/a/c/e 62 23 + // a8 68/a/c/e 62 23 + // 48 68/a/c/e 62 23 // starfigh: player, p4 g0: - // 64 40 d3 20 + // 64 40 d3 20 // starfigh: title star, p5 g1 / p7 g0: - // 70 56/8/a/c 0e 01 (gfxhi=1) - // 6f 78/a/c/e 0f 04 "" + // 70 56/8/a/c 0e 01 (gfxhi=1) + // 6f 78/a/c/e 0f 04 "" gfxbank = (bank & 0x3); if (gfxbank == 3) gfxbank += state->m_gfxbank; } @@ -321,7 +321,7 @@ static void draw_normal_sprites(running_machine &machine, bitmap_ind16 &bitmap,c if (state->m_use_gfxbank) { // starfigh: boss 2 tail, p2 g7: - // 61 20 1b 27 + // 61 20 1b 27 if (gfxbank == 3) gfxbank += state->m_gfxbank; } break; diff --git a/src/mess/osd/windows/windows.mak b/src/mess/osd/windows/windows.mak index 53c30503852..2c4819e3edd 100644 --- a/src/mess/osd/windows/windows.mak +++ b/src/mess/osd/windows/windows.mak @@ -29,7 +29,7 @@ $(MESS_WINOBJ)/%.res: $(MESS_WINSRC)/%.rc @echo Compiling resources $<... $(RC) $(RCDEFS) $(RCFLAGS) --include-dir $(MESS_WINOBJ) -o $@ -i $< - + #------------------------------------------------- # rules for resource file #------------------------------------------------- diff --git a/src/ume/osd/windows/windows.mak b/src/ume/osd/windows/windows.mak index 15fc95dba58..1885eeac92d 100644 --- a/src/ume/osd/windows/windows.mak +++ b/src/ume/osd/windows/windows.mak @@ -29,7 +29,7 @@ $(UME_WINOBJ)/%.res: $(UME_WINSRC)/%.rc @echo Compiling resources $<... $(RC) $(RCDEFS) $(RCFLAGS) --include-dir $(UME_WINOBJ) -o $@ -i $< - + #------------------------------------------------- # rules for resource file #------------------------------------------------- diff --git a/src/version.c b/src/version.c index 8fc569a80a4..c921ebab81a 100644 --- a/src/version.c +++ b/src/version.c @@ -38,4 +38,4 @@ ***************************************************************************/ extern const char build_version[]; -const char build_version[] = "0.147 ("__DATE__")"; +const char build_version[] = "0.147u1 ("__DATE__")"; |