u8/caanoo release
authornotaz <notaz@pixelinis>
Sat, 6 Oct 2012 18:04:55 +0000 (21:04 +0300)
committernotaz <notaz@pixelinis>
Sat, 6 Oct 2012 18:04:55 +0000 (21:04 +0300)
gp2x/Makefile
gp2x/gpsp_caanoo.gpe [new file with mode: 0755]
gp2x/gpsp_caanoo.ini [new file with mode: 0644]
gp2x/readme_gp2x.txt
sound.c

index 9f06dd8..5e8a906 100644 (file)
@@ -76,3 +76,12 @@ $(BIN):      $(OBJS)
 clean:
        rm -f *.o *.u *.z $(BIN) 
 
+rel: gpsp_caanoo gpsp_caanoo.ini gpsp_caanoo.gpe warm_2.6.24.ko \
+               ../COPYING.DOC ../readme.txt readme_gp2x.txt ../game_config.txt
+       rm -rf out
+       mkdir -p out/gpsp_caanoo
+       cp $^ out/gpsp_caanoo/
+       mv out/gpsp_caanoo/gpsp_caanoo.ini out/
+       mv out/gpsp_caanoo/readme_gp2x.txt out/gpsp_caanoo/readme_caanoo.txt
+       echo -n '/mnt/sd' > out/gpsp_caanoo/romdir.txt
+       cd out && zip -9 -r ../gpsp_caanoo.zip *
diff --git a/gp2x/gpsp_caanoo.gpe b/gp2x/gpsp_caanoo.gpe
new file mode 100755 (executable)
index 0000000..288ca4b
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# if you know good LCD settings, set them here
+# export pollux_dpc_set='lcd_timings=397,1,37,277,341,0,17,337;clkdiv0=9'
+
+./gpsp_caanoo "$@"
+
+cd /usr/gp2x
+exec ./gp2xmenu
diff --git a/gp2x/gpsp_caanoo.ini b/gp2x/gpsp_caanoo.ini
new file mode 100644 (file)
index 0000000..251ada4
--- /dev/null
@@ -0,0 +1,4 @@
+[info]
+name="gpSP Caanoo"
+path="/gpsp_caanoo/gpsp_caanoo.gpe"
+group="GAMES"
index 75f74c4..26a5a87 100644 (file)
@@ -1,3 +1,40 @@
+-- porter's foreword --\r
+\r
+Even though ZX-81 ported my Wiz version to Caanoo, some people kept\r
+asking me to do the port instead because of apparent sound problems,\r
+so here it is. Note that I did not use ZX-81's work for this release,\r
+because I had various changes for Pandora version and wanted to have\r
+them in, so different set of bugs then in ZX-81's version are\r
+possible. Savestates might also be incompatible.\r
+\r
+To use this, you'll first need to copy authentic GBA BIOS to gpSP\r
+directory. It must be named gba_bios.bin and should be 16kB in size.\r
+\r
+I've appended the original gpSP GP2X readme file as it contains lots\r
+of information that is still relevant for this version, as well as\r
+development history of this project.\r
+\r
+- notaz\r
+\r
+Changelog:\r
+\r
+0.9-2xb u8\r
+- Caanoo port\r
+- fixed tv-out for pandora\r
+- integrated M-HT's neon scalers (pandora only)\r
+- merged an assortment of calc84maniac's bugfixes\r
+\r
+0.9-2xb u7\r
+- Pandora port, using hardware scaler for video output.\r
+- Fixed a few portablility issues in ARM asm and sound code.\r
+- Tweaked timing to suit pandora's LCD refresh nicely.\r
+- Maybe fixed GBC/digital sound channel desync over time.\r
+- Some other not-that-relevant cleanups and tweaks.\r
+\r
+Source code should be available at:\r
+http://notaz.gp2x.de/cgi-bin/gitweb.cgi\r
+\r
+\r
 -- gameplaySP2X  Gameboy Advance emulator for GP2X --\r
 \r
 gpSP2X is a version of my (Exophase)'s emulator originally for Sony PSP.\r
diff --git a/sound.c b/sound.c
index 5593bbe..962b3a6 100644 (file)
--- a/sound.c
+++ b/sound.c
@@ -32,6 +32,8 @@ static SDL_cond *sound_cv;
 
 #ifdef PSP_BUILD
 u32 audio_buffer_size_number = 1;
+#elif defined(POLLUX_BUILD)
+u32 audio_buffer_size_number = 7;
 #else
 u32 audio_buffer_size_number = 8;
 #endif