X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmemory.cpp;h=64921476a00598e9707348ffad971f70054b2bba;hb=6f25f63a18153bc2adc49c5f9a3862c2760716df;hp=f3ac769adf8aabec318493490e9cd859ebeed837;hpb=54f5867e394981dd72548990064238454a6e2395;p=virtualjaguar diff --git a/src/memory.cpp b/src/memory.cpp index f3ac769..6492147 100644 --- a/src/memory.cpp +++ b/src/memory.cpp @@ -1,9 +1,9 @@ // // Jaguar memory and I/O physical (hosted!) memory // -// by James L. Hammons +// by James Hammons // -// JLH = James L. Hammons +// JLH = James Hammons // // WHO WHEN WHAT // --- ---------- ----------------------------------------------------------- @@ -35,14 +35,14 @@ uint8 * cdRAM = &jagMemSpace[0xDFFF00]; uint8 * gpuRAM = &jagMemSpace[0xF03000]; uint8 * dspRAM = &jagMemSpace[0xF1B000]; -uint8 jaguarBootROM[0x040000]; // 68K CPU BIOS ROM--uses only half of this! -uint8 jaguarCDBootROM[0x040000]; // 68K CPU CD BIOS ROM (256K) -uint8 jaguarDevBootROM1[0x040000]; // 68K CPU Stubulator 1 ROM--uses only half of this! -uint8 jaguarDevBootROM2[0x040000]; // 68K CPU Stubulator 2 ROM--uses only half of this! -uint8 jaguarDevCDBootROM[0x040000]; // 68K CPU Dev CD BIOS ROM (256K) +//uint8 jaguarBootROM[0x040000]; // 68K CPU BIOS ROM--uses only half of this! +//uint8 jaguarCDBootROM[0x040000]; // 68K CPU CD BIOS ROM (256K) +//uint8 jaguarDevBootROM1[0x040000]; // 68K CPU Stubulator 1 ROM--uses only half of this! +//uint8 jaguarDevBootROM2[0x040000]; // 68K CPU Stubulator 2 ROM--uses only half of this! +//uint8 jaguarDevCDBootROM[0x040000]; // 68K CPU Dev CD BIOS ROM (256K) // This is an ORed value showing which BIOSes having been loaded into memory. -int biosAvailable = 0; +//int biosAvailable = 0; #if 0 union Word @@ -156,6 +156,8 @@ uint32 butch, dscntrl, ds_data, i2cntrl, sbcntrl, subdata, subdatb, sb_time, fif // Actually, considering that "byteswap.h" doesn't exist elsewhere, the above // is probably our best bet here. Just need to rename them to ESAFExx(). +// Look at and see if that header is portable or not. + uint16 & memcon1 = *((uint16 *)&jagMemSpace[0xF00000]); uint16 & memcon2 = *((uint16 *)&jagMemSpace[0xF00002]); uint16 & hc = *((uint16 *)&jagMemSpace[0xF00004]);