spunull.so: plugins/spunull/spunull.c
$(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^
+plugins/gpu-gles/gpuGLES.so:
+ make -C plugins/gpu-gles/
+
clean:
$(RM) $(TARGET) $(OBJS)
VER ?= $(shell git describe --abbrev=0 master)
-rel: pcsx spunull.so pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \
+rel: pcsx spunull.so plugins/gpu-gles/gpuGLES.so \
+ pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \
pandora/picorestore pandora/readme.txt skin COPYING
rm -rf out
mkdir -p out/plugins
games and configure the emulator.
Supportd CD image formats:
-- .cue/.bin
-- .toc/.bin
-- .img
-- .mds
+- .bin/.cue
+- .bin/.toc
+- .img/.ccd/.sub
+- .mdf/.mds
- .Z/.Z.table
CDDA (CD audio) support requires .cue/.bin format.
Credits / License
-----------------
+Emulator core:
+
(C) 1999-2003 PCSX Team
(c) 1998 Vision Thing
Linuzappz <linuzappz@pcsx.net>
Tristin Celestin (PulseAudio support)
Wei Mingzhi (Maintainer, input plugin, iso/cheat support, misc stuff)
-GPU and SPU code by Pete Bernert and the P.E.Op.S. team
-ARM recompiler (C) 2009-2010 Ari64
+GLES plugin:
+ (C) 1999-2009 by Pete Bernert
+ EQ
+ Olli Hinkka
+ Proger
+ Pickle
+
+builtin GPU/SPU plugins:
+ Pete Bernert and the P.E.Op.S. team
+
+MIPS->ARM recompiler:
+ (C) 2009-2010 Ari64
-integration, optimization and frontend (C) 2010 notaz
+integration, optimization and frontend:
+ (C) 2010-2011 notaz
Source code is released under GNU GPL license, version 2 or later.
See COPYING included in the archive (.pnd can be extracted using unsquashfs).
# MAKEFILE FOR PETE'S MESAGL GPU... just run "make"\r
##############################################################################\r
\r
-##############################################################################\r
-# 1. SETS (CCFLAGS3 is used)\r
-##############################################################################\r
-\r
-PREFIX = /mythtv/media/devel/toolchains/pandora/arm-2007q3\r
-TARGET = arm-none-linux-gnueabi-\r
-\r
-CC = $(PREFIX)/bin/$(TARGET)gcc\r
+#PREFIX = /mythtv/media/devel/toolchains/pandora/arm-2007q3/\r
+CROSS_COMPILE ?= arm-none-linux-gnueabi-\r
\r
-CCFLAGS = -fPIC -c -Wall -O3 -ffast-math -fomit-frame-pointer -DMAEMO_CHANGES -DUSE_X11\r
+#CC = $(PREFIX)/bin/$(CROSS_COMPILE)gcc\r
+CC = $(CROSS_COMPILE)gcc\r
\r
+CFLAGS += -fPIC # -Wall\r
+CFLAGS += -O3 -ffast-math -fomit-frame-pointer\r
+CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8\r
+# note: the below causes strange bugs/crashes\r
+#CFLAGS += -mfloat-abi=softfp\r
+CFLAGS += -DMAEMO_CHANGES # -DUSE_X11\r
+CFLAGS += -I$(PREFIX)include\r
\r
-INCLUDE = -I$(PREFIX)/include\r
-LINK = $(PREFIX)/bin/$(TARGET)gcc\r
-LINKFLAGS = -shared -Wl,-soname,libgpuGLES.so -o libgpuGLES.so.1.0.0\r
-OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o\r
+TARGET = gpuGLES.so\r
+LDFLAGS += -shared -Wl,-soname,$(TARGET) -o $(TARGET)\r
+LIB = -L$(PREFIX)lib -lGLES_CM -lX11 -lXau -lXdmcp\r
\r
-LIB = -L$(PREFIX)/lib -lGLES_CM -lX11 -lXau -lXdmcp -lstdc++\r
-\r
-##############################################################################\r
-# 2. MAIN RULE\r
-##############################################################################\r
+OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o\r
\r
-gpuPeopsMesaGL : $(OBJ)\r
- $(LINK) $(LINKFLAGS) $(OBJ) $(LIB)\r
+all: $(TARGET)\r
\r
-##############################################################################\r
-# 3. GENERAL RULES\r
-##############################################################################\r
-\r
-%.o : %.c\r
- $(CC) $(CCFLAGS) $(INCLUDE) $<\r
-\r
-##############################################################################\r
-# 4. SPECIFIC RULES\r
-##############################################################################\r
+$(TARGET): $(OBJ)\r
+ $(CC) $(LDFLAGS) $(OBJ) $(LIB)\r
\r
clean:\r
- rm *.o libgpuGLES.so*
\ No newline at end of file
+ $(RM) $(TARGET) $(OBJ)\r