X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmemory.h;h=74e8d5bd36aaf2fe866a2fbed04c5f926b09362b;hb=07d689da4cceee0c376861a1459c9e9c2289c6a2;hp=78fb3b8c49f903c71a5e46e0b90cb923b0524b7b;hpb=d34e18e57aaa635c2be2e4116e1e59af68ed1bd9;p=virtualjaguar diff --git a/src/memory.h b/src/memory.h index 78fb3b8..74e8d5b 100644 --- a/src/memory.h +++ b/src/memory.h @@ -15,6 +15,9 @@ extern uint8 * jaguarMainRAM; extern uint8 * jaguarMainROM; extern uint8 jaguarBootROM[]; extern uint8 jaguarCDBootROM[]; +extern uint8 jaguarDevBootROM1[]; +extern uint8 jaguarDevBootROM2[]; +extern uint8 jaguarDevCDBootROM[]; extern uint8 * gpuRAM; extern uint8 * dspRAM; @@ -70,6 +73,11 @@ uint32 & smode = *((uint32 *)&jagMemSpace[0xF1A154]); enum { UNKNOWN, JAGUAR, DSP, GPU, TOM, JERRY, M68K, BLITTER, OP }; extern const char * whoName[9]; +// BIOS identification enum + +enum { BIOS_NORMAL=0x01, BIOS_CD=0x02, BIOS_STUB1=0x04, BIOS_STUB2=0x08, BIOS_DEV_CD=0x10 }; +extern int biosAvailable; + // Some handy macros to help converting native endian to big endian (jaguar native) // & vice versa @@ -88,6 +96,7 @@ extern const char * whoName[9]; #define GET16(r, a) ((r[(a)] << 8) | r[(a)+1]) //This doesn't seem to work on OSX. So have to figure something else out. :-( +//byteswap.h doesn't exist on OSX. #if 0 // This is GCC specific, but we can fix that if we need to... // Big plus of this approach is that these compile down to single instructions on little