Previous 15994 Revisions Next

r3620 Thursday 27th November, 2008 at 03:10:57 UTC by Nathan Woods
More search and replace
[src/mess/drivers]a2600.c avigo.c
[src/mess/machine]apple2gs.c apple3.c c64.c comx35.c lisa.c osborne1.c

src/mess/machine/apple3.c
r3619r3620
648648   {
649649      opptr = apple3_get_zpa_addr(address);
650650      opbase->mask = ~0;
651      opbase->rom = opbase->ram = opptr - address;
651      direct->raw = direct->decrypted = opptr - address;
652652      opbase->mem_min = address;
653653      opbase->mem_max = address;
654654      address = ~0;
src/mess/machine/osborne1.c
r3619r3620
219219      if ( ! osborne1.bank2_enabled )
220220      {
221221         opbase->mask = 0x0fff;
222         opbase->ram = mess_ram + 0x2000;
223         opbase->rom = mess_ram + 0x2000;
222         direct->decrypted = mess_ram + 0x2000;
223         direct->raw = mess_ram + 0x2000;
224224         opbase->mem_min = 0x2000;
225225         opbase->mem_max = 0x2fff;
226226         return ~0;
src/mess/machine/comx35.c
r3619r3620
540540      if (dos_card_active(machine))
541541      {
542542         // read opcode from DOS ROM
543         opbase->rom = opbase->ram = memory_region(machine, "fdc");
543         direct->raw = direct->decrypted = memory_region(machine, "fdc");
544544         return ~0;
545545      }
546546   }
src/mess/machine/apple2gs.c
r3619r3620
16071607      if (opptr != NULL)
16081608      {
16091609         opbase->mask = ~0;
1610         opbase->rom = opbase->ram = opptr - address;
1610         direct->raw = direct->decrypted = opptr - address;
16111611         opbase->mem_min = address;
16121612         opbase->mem_max = address;
16131613         address = ~0;
src/mess/machine/lisa.c
r3619r3620
950950         else
951951         {   /* system ROMs */
952952            opbase->mask = 0xffffff;
953            opbase->rom = opbase->ram = lisa_rom_ptr - (address & 0xffc000);
953            direct->raw = direct->decrypted = lisa_rom_ptr - (address & 0xffc000);
954954            opbase->mem_min = (address & 0xffc000);
955955            opbase->mem_max = (address & 0xffc000) + 0x003fff;
956956            /*logerror("ROM (setup mode)\n");*/
r3619r3620
982982            logerror("illegal opbase address%lX\n", (long) address);
983983         }
984984         opbase->mask = 0xffffff;
985         opbase->rom = opbase->ram = lisa_ram_ptr + mapped_address - address;
985         direct->raw = direct->decrypted = lisa_ram_ptr + mapped_address - address;
986986         opbase->mem_min = (address & 0xffc000);
987987         opbase->mem_max = (address & 0xffc000) + 0x003fff;
988988         /*logerror("RAM\n");*/
r3619r3620
998998
999999      case special_IO:
10001000         opbase->mask = 0xffffff;
1001         opbase->rom = opbase->ram = lisa_rom_ptr + (mapped_address & 0x003fff) - address;
1001         direct->raw = direct->decrypted = lisa_rom_ptr + (mapped_address & 0x003fff) - address;
10021002         opbase->mem_min = (address & 0xffc000);
10031003         opbase->mem_max = (address & 0xffc000) + 0x003fff;
10041004         /*logerror("ROM\n");*/
src/mess/machine/c64.c
r3619r3620
10941094   {
10951095      if (c64_io_enabled)
10961096      {
1097         opbase->mask = 0x0fff;
1098         opbase->ram = c64_io_mirror;
1099         opbase->rom = c64_io_mirror;
1100         opbase->mem_min = 0x0000;
1101         opbase->mem_max = 0xcfff;
1102         c64_io_mirror[address & 0x0fff] = c64_read_io( machine, address & 0x0fff );
1097         direct->mask = 0x0fff;
1098         direct->decrypted = c64_io_mirror;
1099         direct->raw = c64_io_mirror;
1100         direct->min = 0x0000;
1101         direct->max = 0xcfff;
1102         c64_io_mirror[address & 0x0fff] = c64_read_io( space, address & 0x0fff );
11031103      }
11041104      else
11051105      {
1106         opbase->mask = 0x0fff;
1107         opbase->ram = c64_io_ram_r_ptr;
1108         opbase->rom = c64_io_ram_r_ptr;
1109         opbase->mem_min = 0x0000;
1110         opbase->mem_max = 0xcfff;
1106         direct->mask = 0x0fff;
1107         direct->decrypted = c64_io_ram_r_ptr;
1108         direct->raw = c64_io_ram_r_ptr;
1109         direct->min = 0x0000;
1110         direct->max = 0xcfff;
11111111      }
11121112      return ~0;
11131113   }
src/mess/drivers/a2600.c
r3619r3620
742742      opbase->mem_min = ( address & 0xf800 );
743743      opbase->mem_max = ( address & 0xf800 ) | 0x7ff;
744744      if ( address & 0x800 ) {
745         opbase->ram = bank_base[2];
746         opbase->rom = bank_base[2];
745         direct->decrypted = bank_base[2];
746         direct->raw = bank_base[2];
747747      } else {
748         opbase->ram = bank_base[1];
749         opbase->rom = bank_base[1];
748         direct->decrypted = bank_base[1];
749         direct->raw = bank_base[1];
750750      }
751751      return ~0;
752752   }
src/mess/drivers/avigo.c
r3619r3620
392392   opbase_ptr = avigo_banked_opbase[address / 0x4000];
393393   if (opbase_ptr != NULL)
394394   {
395      opbase->rom = opbase->ram = opbase_ptr;
395      direct->raw = direct->decrypted = opbase_ptr;
396396      address = ~0;
397397   }
398398   return address;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team