This commit is contained in:
chacha
2026-02-24 00:19:35 +00:00
parent deb19eb710
commit 14acbae48a
5 changed files with 11 additions and 18 deletions

3
Draw.c
View File

@@ -15,9 +15,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
//#include "3dfx.h"
//#include "cvgregs.h"
//#include "cvgdefs.h"
#include "cvg.h"
#include "glide.h"
#include "sst1init.h"

View File

@@ -16,10 +16,9 @@
*/
#include "cvg.h"
#include "fxpci.h"
#include "sst1init.h"
#include <3dfx.h>
#include <glide.h>
#include "sst1init.h"
#include "fxpci.h"
#include "FaultSources.h"
#include "Utils.h"

View File

@@ -16,10 +16,9 @@
*/
#include "cvg.h"
#include "fxpci.h"
#include "sst1init.h"
#include <3dfx.h>
#include <glide.h>
#include "sst1init.h"
#include "fxpci.h"
#include "FaultSources.h"
#include "Utils.h"
@@ -51,9 +50,9 @@ RenderTest( sst1DeviceInfoStruct* devInfo,
ISET(texAddr[2], value1 + 2); ISET(texAddr[3], value1 + 3);
/* writing to second texture line, to use RAM bits 32..63 */
texAddr2 += (1<<(9-2))
ISET(texAddr2[0], value2); ISET(texAddr2[1], value2 + 1);
ISET(texAddr2[2], value2 + 2); ISET(texAddr2[3], value2 + 3);
texAddr += (1<<(9-2))
ISET(texAddr[0], value2); ISET(texAddr[1], value2 + 1);
ISET(texAddr[2], value2 + 2); ISET(texAddr[3], value2 + 3);
/* draw a 8x8triangle */
drawTriangle(sstregs,0,0,8);

View File

@@ -21,10 +21,9 @@
#include <unistd.h>
#include "cvg.h"
#include "fxpci.h"
#include "sst1init.h"
#include <3dfx.h>
#include <glide.h>
#include "sst1init.h"
#include "fxpci.h"
#include "FaultSources.h"
#include "Utils.h"

5
main.c
View File

@@ -23,10 +23,9 @@
#include <time.h>
#include "cvg.h"
#include "fxpci.h"
#include "sst1init.h"
#include <3dfx.h>
#include <glide.h>
#include "sst1init.h"
#include "fxpci.h"
#include "V2MemTest.h"
#include "FaultSources.h"