Previous 199869 Revisions Next

r17607 Monday 3rd September, 2012 at 01:17:50 UTC by Angelo Salese
Bunch of SNES changes, nw
[src/mame/machine]snes.c
[src/mame/video]snes.c

trunk/src/mame/machine/snes.c
r17606r17607
804804         cpu_set_reg(state->m_maincpu, _5A22_FASTROM, data & 1);
805805         break;
806806      case TIMEUP:   // IRQ Flag is cleared on both read and write
807         device_set_input_line(state->m_maincpu, G65816_LINE_IRQ, CLEAR_LINE );
807808         snes_ram[TIMEUP] = 0;
808809         return;
809810      /* Following are read-only */
trunk/src/mame/video/snes.c
r17606r17607
19031903         if (h == 1362)
19041904            res = m_snes_vram[offset];
19051905         else
1906         {
1907            printf("%d %d VRAM read, CHECK!\n",h,v);
19061908            res = 0;
1909         }
19071910      }
19081911      else
19091912         res = m_snes_vram[offset];
r17606r17607
19291932            m_snes_vram[offset] = snes_open_bus_r(&space, 0);
19301933         else
19311934         {
1935            printf("%d %d VRAM write, CHECK!\n",h,v);
19321936            //no write
19331937         }
19341938      }
19351939      else if (v < snes_ppu.beam.last_visible_line)
19361940      {
1941         printf("%d %d VRAM write, CHECK!\n",h,v);
19371942         //no write
19381943      }
19391944      else if (v == snes_ppu.beam.last_visible_line)
19401945      {
19411946         if (h <= 4)
19421947         {
1948            printf("%d %d VRAM write, CHECK!\n",h,v);
19431949            //no write
19441950         }
19451951         else

Previous 199869 Revisions Next


© 1997-2024 The MAME Team