there are no guide how compile it i was search in readme.txt
here the makefile for gcc its should be edited
there is no mips compiler , mips is build in GCC
so there is no build linker and need be fixed
rewrite code or change in makefile
O mean optymalize
CC compiler GCC mips version
and build in linker to link files
because GCC can find it comiple with makefile is impossible
and i find other solution :
https://www.mips.com/develop/tools/codescape-mips-sdk/other solution is :
https://packages.debian.org/pl/sid/gcc-mips-linux-gnumips GCC for linux
#===================================================================
#
# makefile : Make file for PSX
#
# 1999/12/26 Racoon New preparation
# 2000/06/07 Racoon
#
#===================================================================
CC = mipsgcc
CFLAGS = -O2
LINKER = -Xlinker -Ttext -Xlinker 80090000 -Xlinker -meco -Xlinker -s -Xlinker -Map -Xlinker main.map
PROG = pNesX
OBJS = K6502a.o pNesX.o pNesX_System_Psx.o pNesX_Mapper.o PSX_Spu.o
HEADERS = pNesX.h pNesX_Mapper.h pNesX_System.h pNesX_Types.h K6502.h
all: $(PROG)
pNesX.o : pNesX.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
pNesX_Mapper.o : pNesX_Mapper.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
pNesX_System_Psx.o : pNesX_System_Psx.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
PSX_Spu.o : PSX_Spu.c $(HEADERS)
$(CC) -c -o $@ $<
K6502a.o : K6502a.s $(HEADERS)
mipsas -O0 -B -ahls=k6502.lst $<
$(PROG): $(OBJS)
$(CC) $(LINKER) -o $@ $(OBJS) -lps
combine2 pNesX.scr pNesX.exe
exefixup pNesX.exe
del pNesX.exe
ren padded.exe pNesX.exe
clean:
del *.o
.PHONY: all clean