From 89e964bba8af1698b363a536e49f55d10f652e52 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 13 Feb 2011 03:14:59 +0200 Subject: [PATCH] r4 release for Caanoo --- dist/ginge.gpe | 8 ++++---- dist/ginge_dyn_eabi.sh | 2 +- dist/make_cmn.sh | 3 +-- make_caanoo.sh | 26 ++++++++++++++++++++++++++ make_pnd.sh | 1 + make_wiz.sh | 1 + readme.txt | 25 +++++++++++++++---------- 7 files changed, 49 insertions(+), 17 deletions(-) create mode 100755 make_caanoo.sh diff --git a/dist/ginge.gpe b/dist/ginge.gpe index 9a7e95f..a9264fe 100755 --- a/dist/ginge.gpe +++ b/dist/ginge.gpe @@ -7,9 +7,9 @@ unset LD_PRELOAD # we might write something to /tmp, no need to write to flash # FIXME: doesn't seem to work, tmpfs broken in Wiz kernel? -if ! grep -q '/tmp' /proc/mounts; then - mount -t tmpfs none /tmp -fi +#if ! grep -q '/tmp' /proc/mounts; then +# mount -t tmpfs none /tmp +#fi # theoretically GP2X apps can make use of more RAM, because # Wiz has 2.6 kernel (larger memory requirements) and larger @@ -22,7 +22,7 @@ fi ./gp2xmenu --view-game #swapoff swapfile -umount /tmp +#umount /tmp /sbin/rmmod warm 2> /dev/null cd /usr/gp2x/ diff --git a/dist/ginge_dyn_eabi.sh b/dist/ginge_dyn_eabi.sh index 32c12f8..8db00c0 100755 --- a/dist/ginge_dyn_eabi.sh +++ b/dist/ginge_dyn_eabi.sh @@ -4,7 +4,7 @@ root=$1 shift loader="${root}lib/ld-linux.so.2" -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${root}lib" +export LD_LIBRARY_PATH="${root}lib" export LD_PRELOAD="${root}ginge_dyn" export GINGE_ROOT="${root}" diff --git a/dist/make_cmn.sh b/dist/make_cmn.sh index 48b918c..6487d03 100755 --- a/dist/make_cmn.sh +++ b/dist/make_cmn.sh @@ -3,8 +3,7 @@ set -e rm -rf ${out} -mkdir ${out} -cp gp2xmenu/gp2xmenu${tag} ${out}/gp2xmenu +mkdir -p ${out} cp -r gp2xmenu/gp2xmenu_data ${out}/ cp prep/ginge_prep${tag} ${out}/ginge_prep cp loader/ginge_dyn${tag} ${out}/ginge_dyn diff --git a/make_caanoo.sh b/make_caanoo.sh new file mode 100755 index 0000000..0ab91e1 --- /dev/null +++ b/make_caanoo.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +outc=out_caanoo +export out=${outc}/ginge +# all same as wiz, except menu +export tag=_wiz + +rm -rf ${out} +dist/make_cmn.sh +cp gp2xmenu/gp2xmenu_caanoo ${out}/gp2xmenu +mkdir -p ${out}/tools ${out}/lib +cp dist/ginge.gpe ${out}/ +cp dist/ginge.ini ${outc}/ +cp dist/ginge26.png ${out}/ginge.png +cp dist/ginge_banner.png ${out}/ +cp dist/ginge_dyn_eabi.sh ${out}/ginge_dyn.sh +cp tools/cramfsck_eabi ${out}/tools/cramfsck +cp tools/warm_2.6.24.ko ${out}/tools/ +cp -r lib ${out}/ + +cd ${outc}/ +rm ../ginge_caanoo.zip 2> /dev/null || true +zip -9r ../ginge_caanoo.zip * + diff --git a/make_pnd.sh b/make_pnd.sh index af7c9a7..61b51e4 100755 --- a/make_pnd.sh +++ b/make_pnd.sh @@ -8,6 +8,7 @@ export out=out_pnd export tag=_pnd dist/make_cmn.sh +cp gp2xmenu/gp2xmenu${tag} ${out}/gp2xmenu mkdir -p ${out}/tools cp dist/ginge.sh ${out}/ cp dist/ginge_dyn_eabi.sh ${out}/ginge_dyn.sh diff --git a/make_wiz.sh b/make_wiz.sh index 4ca3fea..bb2d05c 100755 --- a/make_wiz.sh +++ b/make_wiz.sh @@ -6,6 +6,7 @@ export out=out_wiz export tag=_wiz dist/make_cmn.sh +cp gp2xmenu/gp2xmenu${tag} ${out}/gp2xmenu mkdir -p ${out}/tools ${out}/lib cp dist/ginge.gpe ${out}/ cp dist/ginge32.png ${out}/ginge.png diff --git a/readme.txt b/readme.txt index 3eb1913..e775748 100644 --- a/readme.txt +++ b/readme.txt @@ -1,8 +1,8 @@ GINGE - Ginge Is Not GP2X Emulator -release 3 +release 4 -(C) notaz, 2010 +(C) notaz, 2010-2011 http://notaz.gp2x.de/ @@ -11,8 +11,8 @@ About Ginge is an application that can run many GP2X F100/F200, Wiz games and programs on other ARM Linux platforms, which currently includes Pandora -and Wiz itself. It is not a full hardware emulator like MAME, PicoDrive or -similar, it does not emulate the CPU. It can be considered as compatibility +Caanoo and Wiz itself. It is not a full hardware emulator like MAME, PicoDrive +or similar, it does not emulate the CPU. It can be considered as compatibility layer similar to Wine on PC Linux, however it does emulate small portion of MMSP2 and Pollux system-on-chips. It operates by hooking certain system calls and using realtime patching of code that accesses memory mapped hardware @@ -27,13 +27,14 @@ can then be used to start GP2X software, which will either run if it's compatible, or just return back to the menu if it is not. In some cases it might hang though. -Keys are mapped to corresponding keys on both pandora and Wiz, except: +Keys are mapped to corresponding keys pandora, Wiz and Caanoo , except: -Key Pandora Wiz -Stick Push 1 unmapped -Volume up/down '.', ',' Volume up/down +Key Pandora Wiz Caanoo +Stick Push 1 unmapped Stick Push +Volume up/down '.', ',' Volume up/down Home+I/Home+II On pandora pressing 'q' will exit the menu or try to kill current application. +On Cannoo Home+Y tries to kill current application. Structure @@ -55,6 +56,10 @@ it does is running ginge_prep on GP2X .gpe program, ginge_prep handles the rest. Changelog --------- +r4 ++ ginge now runs on Caanoo +* minor fixes in path handling + r3 * improved exec handling, mostly for gpecomp. + added preliminary Wiz support, pcsx4all works. @@ -91,8 +96,8 @@ modification, is permitted provided that the following conditions are met: * The program in any of it's forms is not sold or used as part of any commercial package, including pre-installed or included in any kind of portable device. - * It is not bundled and distributed with any GP2X program without respective - program's author's permission. + * It is not bundled and distributed with any GP2X or Wiz program without + respective program's author's permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -- 2.39.5