Permalink
Browse files

First commit of gpSPhone at v1.8.0

  • Loading branch information...
0 parents commit fc787e4d4054334893f462369eec13bba575c56f ME committed May 14, 2008
Showing with 55,880 additions and 0 deletions.
  1. BIN .DS_Store
  2. +340 −0 COPYING.DOC
  3. +43 −0 Makefile
  4. +11 −0 build.txt
  5. +388 −0 cheats.c
  6. +44 −0 cheats.h
  7. +279 −0 common.h
  8. +4,490 −0 cpu.c
  9. +219 −0 cpu.h
  10. +3,522 −0 cpu_threaded.c
  11. +184 −0 disasm.c
  12. +5,878 −0 font.h
  13. +950 −0 game_config.txt
  14. +51 −0 gp2x/Makefile
  15. +48 −0 gp2x/align_test.c
  16. +1,392 −0 gp2x/arm_codegen.h
  17. +1,661 −0 gp2x/arm_dpimacros.h
  18. +1,973 −0 gp2x/arm_emit.h
  19. +1,016 −0 gp2x/arm_stub.S
  20. +478 −0 gp2x/bios_cache.S
  21. +256 −0 gp2x/cmdline.c
  22. +3 −0 gp2x/cmdline.h
  23. +1,276 −0 gp2x/cpu_speed.c
  24. +484 −0 gp2x/cpuctrl.c
  25. +72 −0 gp2x/cpuctrl.h
  26. +671 −0 gp2x/daemon.c
  27. +18 −0 gp2x/daemon.h
  28. +139 −0 gp2x/display.c
  29. +5 −0 gp2x/display.h
  30. +143 −0 gp2x/font.c
  31. +93 −0 gp2x/gp2x.c
  32. +50 −0 gp2x/gp2x.h
  33. +242 −0 gp2x/gp2xminilib.c
  34. +58 −0 gp2x/gp2xminilib.h
  35. +135 −0 gp2x/load_imm_test.c
  36. +262 −0 gp2x/readme_gp2x.txt
  37. +205 −0 gp2x/speedtest.c
  38. +3 −0 gp2x/speedtest.h
  39. +181 −0 gp2x/video_blend.S
  40. +1,651 −0 gui.c
  41. +40 −0 gui.h
  42. +731 −0 input.c
  43. +89 −0 input.h
  44. BIN iphone/.DS_Store
  45. +1,093 −0 iphone/arm_asm_stub.S
  46. +54 −0 iphone/arm_stub_c.c
  47. +98 −0 iphone/display.c
  48. +143 −0 iphone/font.c
  49. +36 −0 iphone/gp2x.h
  50. +47 −0 iphone/gp2xminilib.h
  51. BIN iphone/gpSPhone/src/.DS_Store
  52. +67 −0 iphone/gpSPhone/src/ControllerView.h
  53. +453 −0 iphone/gpSPhone/src/ControllerView.m
  54. +39 −0 iphone/gpSPhone/src/EmulationView.h
  55. +170 −0 iphone/gpSPhone/src/EmulationView.m
  56. +57 −0 iphone/gpSPhone/src/FileBrowser.h
  57. +209 −0 iphone/gpSPhone/src/FileBrowser.m
  58. +51 −0 iphone/gpSPhone/src/FileTable.h
  59. +144 −0 iphone/gpSPhone/src/FileTable.m
  60. +435 −0 iphone/gpSPhone/src/JoyPad.c
  61. +3 −0 iphone/gpSPhone/src/JoyPad.h
  62. +155 −0 iphone/gpSPhone/src/MainView.h
  63. +1,147 −0 iphone/gpSPhone/src/MainView.m
  64. +39 −0 iphone/gpSPhone/src/ScreenView.h
  65. +155 −0 iphone/gpSPhone/src/ScreenView.m
  66. +50 −0 iphone/gpSPhone/src/gpSPhoneApp.h
  67. +230 −0 iphone/gpSPhone/src/gpSPhoneApp.m
  68. +320 −0 iphone/gpSPhone/src/gpSPhone_iPhone.c
  69. +114 −0 iphone/gpSPhone/src/gpSPhone_iPhone.h
  70. +47 −0 iphone/gpSPhone/src/iphone.c
  71. +46 −0 iphone/gpSPhone/src/main.m
  72. +261 −0 iphone/iphone.c
  73. +52 −0 iphone/iphone_common.h
  74. +62 −0 iphone/iphone_video.h
  75. +217 −0 iphone/iphoneminilib.c
  76. +181 −0 iphone/video_blend.S
  77. +1,046 −0 main.c
  78. +202 −0 main.h
  79. +3,287 −0 memory.c
  80. +220 −0 memory.h
  81. +26 −0 psp/Makefile
  82. +2,531 −0 psp/mips_emit.h
  83. +3,427 −0 psp/mips_stub.S
  84. +880 −0 readme.txt
  85. +956 −0 sound.c
  86. +328 −0 sound.h
  87. +3,890 −0 video.c
  88. +94 −0 video.h
  89. +38 −0 x86/Makefile
  90. +2,327 −0 x86/x86_emit.h
  91. +498 −0 x86/x86_stub.S
  92. BIN x86/x86_stub.o
  93. +155 −0 zip.c
  94. +26 −0 zip.h
BIN .DS_Store
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,43 @@
+CC = /usr/local/bin/arm-apple-darwin8-gcc
+LD = $(CC)
+VERSION = 1.8.0
+LDFLAGS = -lobjc \
+ -framework CoreFoundation \
+ -framework Foundation \
+ -framework UIKit \
+ -framework LayerKit \
+ -framework CoreGraphics \
+ -framework GraphicsServices \
+ -framework CoreSurface \
+ -framework CoreAudio \
+ -framework Celestial \
+ -framework AudioToolbox \
+ -lz
+
+#CFLAGS = -DDEBUG -O2 -Wall -funroll-loops -DVERSION='"$(VERSION)"'
+CFLAGS = -DARM_ARCH -DGP2X_BUILD -msoft-float -march=armv6k -maspen-version-min=1.0 -fpeel-loops -O3 -fnested-functions -funsigned-char -fno-common -fno-builtin -falign-functions -fomit-frame-pointer -fweb -fstrict-aliasing -fstrength-reduce -fexpensive-optimizations -finline -finline-functions -funroll-loops -DVERSION='"$(VERSION)"'
+#-mcpu=arm1176jzf-s -fpeel-loops
+#-msoft-float
+
+all: gpSPhone
+
+#iphone/video_blend.o
+
+gpSPhone: iphone/gpSPhone/src/JoyPad.o iphone/gpSPhone/src/iphone.o iphone/gpSPhone/src/main.o iphone/gpSPhone/src/gpSPhoneApp.o iphone/gpSPhone/src/ControllerView.o iphone/gpSPhone/src/MainView.o iphone/gpSPhone/src/FileTable.o iphone/gpSPhone/src/FileBrowser.o iphone/gpSPhone/src/EmulationView.o iphone/gpSPhone/src/ScreenView.o iphone/gpSPhone/src/gpSPhone_iPhone.o iphone/arm_stub_c.o iphone/font.o iphone/display.o cheats.o zip.o gui.o main.o cpu.o sound.o input.o memory.o video.o iphone/arm_asm_stub.o cpu_threaded.o
+ $(LD) ${CFLAGS} $(LDFLAGS) -o $@ $^
+
+%.o: %.m
+ $(CC) ${CFLAGS} -c $< -o $@
+
+%.o: %.c
+ $(CC) ${CFLAGS} -c $< -o $@
+
+%.o: %.S
+ $(CC) -c $< -o $@
+
+%.z: %.c
+ $(CC) ${CFLAGS} -S $< -o $@
+
+clean:
+ rm -f ./*.o iphone/*.o iphone/gpSPhone/*.o iphone/gpSPhone/src/*.o gpSPhone src/*.gch
+ rm -rf ./build
@@ -0,0 +1,11 @@
+How to build gpSP for PSP:
+
+The makefile is in the psp directory, simply go there and type make.
+make kxploit will build for 1.5 firmware. Be sure to include
+game_config.txt and gpsp.cfg in the same directory as EBOOT.PBP, as
+well as gba_bios.bin (not included).
+
+Dependencies as of v0.6:
+
+ SDL
+ zlib
Oops, something went wrong.

0 comments on commit fc787e4

Please sign in to comment.