From: Neils Wagenaar Date: Wed, 6 Oct 2004 19:39:54 +0000 (+0000) Subject: Added new items because of the v1.0.7 release. X-Git-Tag: 1.0.7~2 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac0d85f284c606a9daa03feac85990b4aa15f707;p=virtualjaguar Added new items because of the v1.0.7 release. --- diff --git a/docs/TODO b/docs/TODO index e3d3eff..534edbc 100644 --- a/docs/TODO +++ b/docs/TODO @@ -19,6 +19,7 @@ Stuff to add/fix for the next release of Virtual Jaguar the various keys on the emulated Jaguar controller while inside the emulator. [Shamus] - Code to stretch the display in a generic way would be nice. [Shamus] + [DONE for OpenGL - nwagenaar] - Blitter needs fixing. [Shamus] - We need a comprehensive way of determining what gets written where and by whom (i.e., blitter wrote to range $F03000-$F03230) in order to figure diff --git a/docs/WHATSNEW b/docs/WHATSNEW index d86e845..4338b3b 100644 --- a/docs/WHATSNEW +++ b/docs/WHATSNEW @@ -28,6 +28,15 @@ Virtual Jaguar v1.0.7 GCC/SDL also fixed a problem that caused the OP to hang in certain situations. This fixes Bubsy, International Sensible Soccer, and probably a few others. [Shamus] +* Cleaned up various bits of video rendering related code. [nwagenaar] +* Added support for OpenGL textures with a depth of 16bpp, 24bpp or 32bpp. + [nwagenaar] +* Rewrote several OpenGL related rendering code concerning the new OpenGL + texture depths and texture sizes. [nwagenaar] +* Rewrote several OpenGL rendering functions concerning speed related items. + [nwagenaar] +* Several bugs resolved due to OpenGL and normal rendering code. [nwagenaar] +* Default resolution for OpenGL is now 640x480 [nwagenaar]; Virtual Jaguar v1.0.6 GCC/SDL diff --git a/src/cdintf_linux.cpp b/src/cdintf_linux.cpp index 1d35eea..9e06f4f 100644 --- a/src/cdintf_linux.cpp +++ b/src/cdintf_linux.cpp @@ -13,6 +13,7 @@ // Big thanks to the DOSBOX team which provided us with great knowlegde about // CD-ROM access and Linux/UN*X. +#ifdef LINUX_JAGUAR_CDROM // *** OS dependent CDROM stuffola *** #include @@ -157,3 +158,64 @@ uint8 CDIntfGetTrackInfo(uint32 track, uint32 offset) WriteLog("CDINTF: GetTrackInfo unimplemented!\n"); return 0xFF; } + +#else + +#include "log.h" + +// +// Linux support functions +// OS specific implementation of OS agnostic functions +// + +bool CDIntfInit(void) +{ + WriteLog("CDINTF: Init unimplemented!\n"); + return false; +} + +void CDIntfDone(void) +{ +} + +bool CDIntfReadBlock(uint32 sector, uint8 * buffer) +{ + WriteLog("CDINTF: ReadBlock unimplemented!\n"); + return false; +} + +uint32 CDIntfGetNumSessions(void) +{ + // Still need relevant code here... !!! FIX !!! + return 2; +} + +void CDIntfSelectDrive(uint32 driveNum) +{ + WriteLog("CDINTF: SelectDrive unimplemented!\n"); +} + +uint32 CDIntfGetCurrentDrive(void) +{ + WriteLog("CDINTF: GetCurrentDrive unimplemented!\n"); + return 0; +} + +const uint8 * CDIntfGetDriveName(uint32) +{ + WriteLog("CDINTF: GetDriveName unimplemented!\n"); + return NULL; +} + +uint8 CDIntfGetSessionInfo(uint32 session, uint32 offset) +{ + WriteLog("CDINTF: GetSessionInfo unimplemented!\n"); + return 0xFF; +} + +uint8 CDIntfGetTrackInfo(uint32 track, uint32 offset) +{ + WriteLog("CDINTF: GetTrackInfo unimplemented!\n"); + return 0xFF; + +#endif