Previous 199869 Revisions Next

r18349 Monday 8th October, 2012 at 06:41:35 UTC by Miodrag Milanović
Clean-ups and version bump
[src]version.c
[src/emu/machine]scsicb.c scsihle.c
[src/mame/drivers]suna8.c
[src/mame/video]suna8.c
[src/mess/osd/windows]windows.mak
[src/ume/osd/windows]windows.mak

trunk/src/mame/video/suna8.c
r18348r18349
294294            if (state->m_use_gfxbank)
295295            {
296296               // starfigh: boss 2 head, should be p7 g7 x8/c y4:
297               //      67 74 88 03
298               //      67 76 ac 03
297               //      67 74 88 03
298               //      67 76 ac 03
299299               // starfigh: boss 2 chainguns should be p6 g7:
300               //      a8 68/a/c/e 62 23
301               //      48 68/a/c/e 62 23
300               //      a8 68/a/c/e 62 23
301               //      48 68/a/c/e 62 23
302302               // starfigh: player, p4 g0:
303               //      64 40 d3 20
303               //      64 40 d3 20
304304               // starfigh: title star, p5 g1 / p7 g0:
305               //      70 56/8/a/c 0e 01 (gfxhi=1)
306               //      6f 78/a/c/e 0f 04 ""
305               //      70 56/8/a/c 0e 01 (gfxhi=1)
306               //      6f 78/a/c/e 0f 04 ""
307307               gfxbank = (bank & 0x3);
308308               if (gfxbank == 3)   gfxbank += state->m_gfxbank;
309309            }
r18348r18349
321321            if (state->m_use_gfxbank)
322322            {
323323               // starfigh: boss 2 tail, p2 g7:
324               //      61 20 1b 27
324               //      61 20 1b 27
325325               if (gfxbank == 3)   gfxbank += state->m_gfxbank;
326326            }
327327            break;
trunk/src/mame/drivers/suna8.c
r18348r18349
372372
373373   decrypt[0x07c0] = 0xc9;   // c080 bit 7 protection check
374374
375//   decrypt[0x083e] = 0x00;   // sound latch disabling
376//   decrypt[0x083f] = 0x00;   // ""
377//   decrypt[0x0840] = 0x00;   // ""
375//  decrypt[0x083e] = 0x00; // sound latch disabling
376//  decrypt[0x083f] = 0x00; // ""
377//  decrypt[0x0840] = 0x00; // ""
378378
379//   decrypt[0x0cef] = 0xc9;   // rombank latch check, corrupt d12d
379//  decrypt[0x0cef] = 0xc9; // rombank latch check, corrupt d12d
380380
381381   decrypt[0x2696] = 0xc9;   // work ram writes disable, corrupt next routine
382382   decrypt[0x4e9a] = 0x00;   // work ram writes disable, flip background sprite
r18348r18349
720720   m_spritebank = (data >> 1) & 1;
721721
722722   logerror("CPU #0 - PC %04X: protection_val = %02X\n",space.device().safe_pc(),data);
723//   if (data & ~0x03)   logerror("CPU #0 - PC %04X: unknown spritebank bits: %02X\n",space.device().safe_pc(),data);
723//  if (data & ~0x03)   logerror("CPU #0 - PC %04X: unknown spritebank bits: %02X\n",space.device().safe_pc(),data);
724724}
725725
726726/*
r18348r18349
10121012   AM_RANGE(0xc300, 0xc300) AM_WRITE(hardhea2_flipscreen_w         )   // Flip Screen
10131013   AM_RANGE(0xc380, 0xc3ff) AM_WRITE(starfigh_spritebank_latch_w   )   // Sprite RAM Bank Latch
10141014   AM_RANGE(0xc400, 0xc47f) AM_WRITE(starfigh_leds_w            )   // Leds + Coin Counter + ROM Bank
1015//   c480 write?
1015//  c480 write?
10161016   AM_RANGE(0xc500, 0xc500) AM_WRITE(starfigh_sound_latch_w      )   // To Sound CPU (can be disabled)
1017//   (c522 + R & 0x1f) write?
1017//  (c522 + R & 0x1f) write?
10181018
10191019   AM_RANGE(0xc600, 0xc7ff) AM_READWRITE(banked_paletteram_r, paletteram_RRRRGGGGBBBBxxxx_byte_be_w) AM_SHARE("paletteram"   )   // Palette (Banked??)
10201020   AM_RANGE(0xc800, 0xdfff) AM_RAM                              // RAM
trunk/src/ume/osd/windows/windows.mak
r18348r18349
2929   @echo Compiling resources $<...
3030   $(RC) $(RCDEFS) $(RCFLAGS) --include-dir $(UME_WINOBJ) -o $@ -i $<
3131
32   
32
3333#-------------------------------------------------
3434# rules for resource file
3535#-------------------------------------------------
trunk/src/emu/machine/scsicb.c
r18348r18349
105105{
106106   UINT8 result = (int)( ( linestate & line ) != 0 );
107107
108//   LOG(3,"get_scsi_line(%s)=%d\n",linenames[lineno],result);
108//  LOG(3,"get_scsi_line(%s)=%d\n",linenames[lineno],result);
109109
110110   return result;
111111}
trunk/src/emu/machine/scsihle.c
r18348r18349
222222
223223//static const char *const linenames[] =
224224//{
225//   "select", "busy", "request", "acknoledge", "C/D", "I/O", "message", "reset"
225//  "select", "busy", "request", "acknoledge", "C/D", "I/O", "message", "reset"
226226//};
227227
228228//void scsibus_device::set_scsi_line(UINT8 line, UINT8 state)
229229//{
230//   UINT8 changed = linestate[line] != state;
230//  UINT8 changed = linestate[line] != state;
231231//
232//   LOG(3,"set_scsi_line(%s,%d), changed=%d\n",linenames[line],state,changed);
232//  LOG(3,"set_scsi_line(%s,%d), changed=%d\n",linenames[line],state,changed);
233233//
234//   if(changed)
235//   {
236//      if (line==SCSI_LINE_ACK)
237//         set_scsi_line_ack(state);
238//      else
239//         set_scsi_line_now(line,state);
240//   }
234//  if(changed)
235//  {
236//      if (line==SCSI_LINE_ACK)
237//          set_scsi_line_ack(state);
238//      else
239//          set_scsi_line_now(line,state);
240//  }
241241//}
242242//
243243//void scsibus_device::set_scsi_line_now( UINT8 line, UINT8 state )
244244//{
245//   if( linestate[ line ] != state )
246//   {
247//      linestate[ line ] = state;
245//  if( linestate[ line ] != state )
246//  {
247//      linestate[ line ] = state;
248248//
249//      for( int i = 0; i < deviceCount; i++ )
250//      {
251//         devices[ i ]->scsi_in_line_changed( line, state );
252//      }
253//   }
249//      for( int i = 0; i < deviceCount; i++ )
250//      {
251//          devices[ i ]->scsi_in_line_changed( line, state );
252//      }
253//  }
254254//}
255255//
256256//void scsibus_device::set_scsi_line_ack(UINT8 state)
257257//{
258//   ack_timer->adjust(attotime::from_nsec(ACK_DELAY_NS),state);
258//  ack_timer->adjust(attotime::from_nsec(ACK_DELAY_NS),state);
259259//}
260260//
261261//void scsibus_device::scsi_out_line_change(UINT8 line, UINT8 state)
262262//{
263//   if(line==SCSI_LINE_REQ)
264//      scsi_out_line_req(state);
265//   else
266//      scsi_out_line_change_now(line,state);
263//  if(line==SCSI_LINE_REQ)
264//      scsi_out_line_req(state);
265//  else
266//      scsi_out_line_change_now(line,state);
267267//}
268268//
269269//void scsibus_device::scsi_out_line_change_now(UINT8 line, UINT8 state)
270270//{
271//   if( linestate[ line ] != state )
272//   {
273//      linestate[ line ] = state;
271//  if( linestate[ line ] != state )
272//  {
273//      linestate[ line ] = state;
274274//
275//      LOG(3,"scsi_out_line_change(%s,%d)\n",linenames[line],state);
276//   }
275//      LOG(3,"scsi_out_line_change(%s,%d)\n",linenames[line],state);
276//  }
277277//}
278278//
279279//void scsibus_device::scsi_out_line_req(UINT8 state)
280280//{
281//   req_timer->adjust(attotime::from_nsec(REQ_DELAY_NS),state);
281//  req_timer->adjust(attotime::from_nsec(REQ_DELAY_NS),state);
282282//}
283283//
284284
r18348r18349
338338{
339339   switch( tid )
340340   {
341//   case 0:
342//      scsi_out_line_change_now(SCSI_LINE_REQ, param);
343//      break;
341//  case 0:
342//      scsi_out_line_change_now(SCSI_LINE_REQ, param);
343//      break;
344344//
345//   case 1:
346//      set_scsi_line_now(SCSI_LINE_ACK, param);
347//      break;
345//  case 1:
346//      set_scsi_line_now(SCSI_LINE_ACK, param);
347//      break;
348348
349349   case 2:
350350      scsi_out(param * SCSI_MASK_BSY, SCSI_MASK_BSY);
r18348r18349
617617                     dump_data_bytes(4);
618618                  }
619619               }
620               
620
621621               // If the data buffer is full flush it to the SCSI disk
622622
623623               data_last = (bytes_left >= sectorbytes) ? sectorbytes : bytes_left;
trunk/src/version.c
r18348r18349
3838***************************************************************************/
3939
4040extern const char build_version[];
41const char build_version[] = "0.147 ("__DATE__")";
41const char build_version[] = "0.147u1 ("__DATE__")";
trunk/src/mess/osd/windows/windows.mak
r18348r18349
2929   @echo Compiling resources $<...
3030   $(RC) $(RCDEFS) $(RCFLAGS) --include-dir $(MESS_WINOBJ) -o $@ -i $<
3131
32   
32
3333#-------------------------------------------------
3434# rules for resource file
3535#-------------------------------------------------

Previous 199869 Revisions Next


© 1997-2024 The MAME Team