X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2FMemory.c;h=2a49139555666a0022f7629f9b03f27b575c2ece;hb=0e4d7ba5f42c0649d9dcc905d29b04d5a11ecd9c;hp=ddac49a6373aeb59a0faca02a5a229b7b8079d1e;hpb=689fb2c0898deb6f87006dc5755516eb0ff6e647;p=picodrive.git diff --git a/Pico/carthw/svp/Memory.c b/Pico/carthw/svp/Memory.c index ddac49a..2a49139 100644 --- a/Pico/carthw/svp/Memory.c +++ b/Pico/carthw/svp/Memory.c @@ -1,3 +1,12 @@ +// The SVP chip emulator + +// (c) Copyright 2008, Grazvydas "notaz" Ignotas +// Free for non-commercial use. + +// For commercial use, separate licencing terms must be obtained. + + +#include "../../PicoInt.h" #include "../../PicoInt.h" #ifndef UTYPES_DEFINED @@ -69,8 +78,8 @@ unsigned int PicoSVPRead16(unsigned int a, int realsize) } else a15004_looping = 0; - if (a == 0x30fe02 && d == 0) - elprintf(EL_ANOMALY, "SVP lag?"); + //if (a == 0x30fe02 && d == 0) + // elprintf(EL_ANOMALY, "SVP lag?"); return d; } @@ -99,6 +108,8 @@ void PicoSVPWrite16(unsigned int a, unsigned int d, int realsize) //else if (a == 0xa15006) svp->ssp1601.gr[SSP_PM0].h = d | (d << 1); // 0xa15006 probably has 'halt' } + else + elprintf(EL_UIO|EL_SVP|EL_ANOMALY, "SVP FIXME: unhandled w%i: [%06x] %04x @%06x", realsize, a&0xffffff, d, SekPc); if (a == 0x30fe06 && d != 0)