Previous 199869 Revisions Next

r24869 Tuesday 13th August, 2013 at 12:29:55 UTC by hap
massrename silliness corrections
[src/mame/audio]spacefb.c
[src/mame/drivers]aristmk5.c astrocde.c dwarfd.c namcofl.c system1.c taito_b.c thedeep.c vicdual.c zac2650.c
[src/mame/machine]midyunit.c tatsumi.c toaplan1.c twincobr.c
[src/mame/video]starshp1.c
[src/mess/drivers]apollo.c

trunk/src/mess/drivers/apollo.c
r24868r24869
516516   if ((address & 0xfff00000) == 0xfa800000 && VERBOSE < 2) {
517517      // ?
518518   } else if ((address & 0xfff00ff7) == 0xfd800000 && VERBOSE < 2) {
519      // omit logging for memory sizing in FPA address &space
519      // omit logging for memory sizing in FPA address space
520520      // strange: MD seems to search for the 3C505 Boot ROM
521      // note (6.10.2010): might be color7 address &space (!?!)
521      // note (6.10.2010): might be color7 address space (!?!)
522522   } else if ((address & 0xfc03ffff) == 0x00000000 && VERBOSE < 2) {
523523      // omit logging for memory sizing in standalone utilities
524524   } else if (address == 0xfff90000 && VERBOSE < 2) {
trunk/src/mame/video/starshp1.c
r24868r24869
105105{
106106   /*
107107    * The range of sprite position values doesn't suffice to
108    * move the zoomed &spaceship sprite over the top and left
108    * move the zoomed spaceship sprite over the top and left
109109    * edges of the screen. These additional values are used
110110    * to compensate for this. Technically, they cut off the
111    * first columns and rows of the &spaceship sprite, but in
111    * first columns and rows of the spaceship sprite, but in
112112    * practice they work like offsets in zoomed pixels.
113113    */
114114
trunk/src/mame/drivers/taito_b.c
r24868r24869
445445      m_tc0220ioc->write(space, offset, data & 0xff);
446446   else
447447   {
448      /* &spacedxo also writes here - bug? */
448      /* spacedxo also writes here - bug? */
449449      m_tc0220ioc->write(space, offset, (data >> 8) & 0xff);
450450   }
451451}
trunk/src/mame/drivers/vicdual.c
r24868r24869
10411041WRITE8_MEMBER(vicdual_state::sspacaho_io_w)
10421042{
10431043   if (offset & 0x01)  invho2_audio_w(space, 0, data);
1044   if (offset & 0x02) { /* s&spaceatt_audio_w(space, 0, data) */ }
1044   if (offset & 0x02) { /* sspaceatt_audio_w(space, 0, data) */ }
10451045   if (offset & 0x08)  assert_coin_status();
10461046   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
10471047}
r24868r24869
10571057
10581058WRITE8_MEMBER(vicdual_state::spacetrk_io_w)
10591059{
1060   if (offset & 0x01) { /* &spacetrk_audio_w(space, 0, data) */ }
1061   if (offset & 0x02) { /* &spacetrk_audio_w(space, 0, data) */ }
1060   if (offset & 0x01) { /* spacetrk_audio_w(space, 0, data) */ }
1061   if (offset & 0x02) { /* spacetrk_audio_w(space, 0, data) */ }
10621062   if (offset & 0x08)  assert_coin_status();
10631063   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
10641064}
trunk/src/mame/drivers/system1.c
r24868r24869
550550       Bit 7 -> connects to TD62003 pins 5 & 6 @ IC151
551551       Bit 6 -> via PLS153, when high, asserts the BUSREQ signal, halting the Z80
552552       Bit 5 -> n/c
553       Bit 4 -> (with bit 3) Memory select: 0=Z80 program &space, 1=banked ROM, 2=Z80 I/O &space, 3=watchdog?
553       Bit 4 -> (with bit 3) Memory select: 0=Z80 program space, 1=banked ROM, 2=Z80 I/O space, 3=watchdog?
554554       Bit 3 ->
555555       Bit 2 -> n/c
556556       Bit 1 -> n/c
trunk/src/mame/drivers/namcofl.c
r24868r24869
182182
183183WRITE32_MEMBER(namcofl_state::namcofl_sysreg_w)
184184{
185   if ((offset == 2) && ACCESSING_BITS_0_7)  // address &space configuration
185   if ((offset == 2) && ACCESSING_BITS_0_7)  // address space configuration
186186   {
187187      if (data == 0)  // RAM at 00000000, ROM at 10000000
188188      {
trunk/src/mame/drivers/astrocde.c
r24868r24869
399399{
400400   int bank = (data >> 5) & 3;
401401
402   /* this is accessed from I/O &space but modifies program &space, so we normalize here */
402   /* this is accessed from I/O space but modifies program space, so we normalize here */
403403   address_space &prog_space = space.device().memory().space(AS_PROGRAM);
404404
405405   /* remember the banking bits for save state support */
trunk/src/mame/drivers/aristmk5.c
r24868r24869
250250   checked against the other to verify that the stored data is correct.
251251   Each chip is mapped to the same address, and the chip selected depends on the bank
252252   select register. Access is mutually exclusive, increasing security with only one chip
253   visible in the CPU address &space at a time. If the CPU crashes and overwrites
253   visible in the CPU address space at a time. If the CPU crashes and overwrites
254254   memory only one of the three devices can be corrupted. On reset the bank select
255255   register selects bank 0, which does not exist. The SRAMs are at banks 1,2,3.
256256   Each of the SRAM chips may be powered from a separate battery, further reducing
trunk/src/mame/drivers/dwarfd.c
r24868r24869
416416               }
417417               if (m_i8275SpacedRows & 1)
418418               {
419                  logerror("i8275 &spaced rows\n");
419                  logerror("i8275 spaced rows\n");
420420               }
421421               else
422422               {
trunk/src/mame/drivers/thedeep.c
r24868r24869
101101         if ( m_protection_index < 0x19b )
102102// d000-d00c:   hl += a * b
103103// d00d-d029:   input a (e.g. $39) output hl (e.g. h=$03 l=$09).
104//              Replace trainling 0's with &space ($10). 00 -> '  '
104//              Replace trainling 0's with space ($10). 00 -> '  '
105105// d02a-d039:   input a (e.g. $39) output hl (e.g. h=$03 l=$09).
106//              Replace trainling 0's with &space ($10). 00 -> ' 0'
106//              Replace trainling 0's with space ($10). 00 -> ' 0'
107107// d03a-d046:   input a (e.g. $39) output hl (e.g. h=$03 l=$09). 00 -> '00'
108108// d047-d086:   a /= e (e can be 0!)
109109// d087-d0a4:   print ASCII string from HL to IX (sub $30 to every char)
trunk/src/mame/drivers/zac2650.c
r24868r24869
258258
259259WRITE8_MEMBER(zac2650_state::tinvader_sound_w)
260260{
261   /* sounds are NOT the same as &space invaders */
261   /* sounds are NOT the same as space invaders */
262262
263263   logerror("Register %x = Data %d\n",data & 0xfe,data & 0x01);
264264
trunk/src/mame/audio/spacefb.c
r24868r24869
4444    *
4545    *  Actual sample has a bit of attack at the start, but these doesn't seem to be an easy way
4646    *  to play the attack part, then loop the middle bit until the sample is turned off
47    *  Fortunately it seems like the recorded sample of the &spaceship death is the longest the sample plays for.
47    *  Fortunately it seems like the recorded sample of the spaceship death is the longest the sample plays for.
4848    *  We loop it just in case it runs out
4949    */
5050   if ((data & 0x80) != (m_sound_latch & 0x80))
trunk/src/mame/machine/midyunit.c
r24868r24869
235235{
236236   /* because the entire CVSD ROM is banked, we have to make sure that writes */
237237   /* go to the proper location (i.e., bank 0); currently bank 0 always lives */
238   /* in the 0x10000-0x17fff &space, so we just need to add 0x8000 to get the  */
238   /* in the 0x10000-0x17fff space, so we just need to add 0x8000 to get the  */
239239   /* proper offset */
240240   m_cvsd_protection_base[offset] = data;
241241}
r24868r24869
470470
471471READ16_MEMBER(midyunit_state::mkturbo_prot_r)
472472{
473   /* the security GAL overlays a counter of some sort at 0xfffff400 in ROM &space.
473   /* the security GAL overlays a counter of some sort at 0xfffff400 in ROM space.
474474    * A startup protection check expects to read back two different values in succession */
475475   return machine().rand();
476476}
trunk/src/mame/machine/twincobr.c
r24868r24869
3737   /*  read/write, via the DSP IO port 0 */
3838   /* Top three bits of data need to be shifted left 3 places */
3939   /*  to select which memory bank from main CPU address */
40   /*  &space to use */
40   /*  space to use */
4141   /* Lower thirteen bits of this data is shifted left one position */
4242   /*  to move it to an even address word boundary */
4343
trunk/src/mame/machine/toaplan1.c
r24868r24869
6060   /*  read/write, via the DSP IO port 0 */
6161   /* Top three bits of data need to be shifted left 9 places */
6262   /*  to select which memory bank from main CPU address */
63   /*  &space to use */
63   /*  space to use */
6464   /* Lower thirteen bits of this data is shifted left one position */
6565   /*  to move it to an even address word boundary */
6666
r24868r24869
331331   logerror("Z80 writing %02x to coin control\n",data);
332332   /* This still isnt too clear yet. */
333333   /* Coin C has no coin lock ? */
334   /* Are some outputs for lights ? (no &space on JAMMA for it though) */
334   /* Are some outputs for lights ? (no space on JAMMA for it though) */
335335
336336   switch (data) {
337337      case 0xee: coin_counter_w(machine(), 1,1); coin_counter_w(machine(), 1,0); break; /* Count slot B */
trunk/src/mame/machine/tatsumi.c
r24868r24869
159159   if (ACCESSING_BITS_0_7)
160160   {
161161      if (m_control_word & 0x20)
162         offset += 0x8000; /* Upper half of Z80 address &space */
162         offset += 0x8000; /* Upper half of Z80 address space */
163163
164164      targetspace.write_byte(offset, data & 0xff);
165165   }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team