forked from notaz/gpsp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial pandora port, with hardware scaling and stuff
- Loading branch information
notaz
committed
Sep 5, 2011
1 parent
43c24b3
commit eb3668f
Showing
16 changed files
with
1,472 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
*.u | ||
*.z | ||
gpsp.gpe | ||
tags | ||
cscope.out | ||
pandora/linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,4 +251,8 @@ typedef u32 fixed16_16; | |
// #define STDIO_DEBUG | ||
#endif | ||
|
||
#ifdef PND_BUILD | ||
#include "pandora/pnd.h" | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# gpSP makefile | ||
# Gilead Kutnick - Exophase | ||
# pandora port - notaz | ||
|
||
# Global definitions | ||
|
||
CC = $(CROSS_COMPILE)gcc | ||
|
||
OBJS = pnd.o main.o cpu.o memory.o video.o input.o sound.o gui.o \ | ||
cheats.o zip.o cpu_threaded.o arm_stub.o video_blend.o warm.o \ | ||
linux/fbdev.o linux/xenv.o | ||
BIN = gpsp | ||
|
||
# Platform specific definitions | ||
|
||
VPATH += .. ../arm | ||
CFLAGS += -DARM_ARCH -DPND_BUILD | ||
CFLAGS += -funsigned-char | ||
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math | ||
CFLAGS += -fno-common -fno-builtin | ||
CFLAGS += -ggdb | ||
CFLAGS += -O2 | ||
|
||
# expecting to have PATH set up to get correct sdl-config first | ||
CFLAGS += `sdl-config --cflags` | ||
LIBS += `sdl-config --libs` | ||
LIBS += -ldl -lpthread -lz | ||
|
||
# Compilation: | ||
|
||
%.o: %.S | ||
$(CC) $(CFLAGS) -c -o $@ $< | ||
|
||
all: $(BIN) | ||
|
||
$(BIN): $(OBJS) | ||
$(CC) $(OBJS) $(LIBS) -o $(BIN) | ||
|
||
clean: | ||
rm -f *.o $(BIN) | ||
|
Oops, something went wrong.