From ab61cff780f6b4b6a632305143845b2903ccd4b9 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 3 Jun 2010 14:12:25 +0000 Subject: [PATCH] release 1.80beta2 git-svn-id: file:///home/notaz/opt/svn/PicoDrive@880 be3aeb3a-fb24-0410-a615-afba39da0efa --- platform/base_readme.txt | 42 ++++++++++++------- platform/pandora/Makefile | 10 ++--- ...PicoDrive.pxml => PicoDrive.pxml.template} | 8 ++-- platform/pandora/PicoDrive.run | 2 +- platform/pandora/make_pxml.sh | 10 +++++ platform/pandora/version.h | 2 +- 6 files changed, 48 insertions(+), 26 deletions(-) rename platform/pandora/{PicoDrive.pxml => PicoDrive.pxml.template} (68%) create mode 100755 platform/pandora/make_pxml.sh diff --git a/platform/base_readme.txt b/platform/base_readme.txt index d9dec5d5..e4361c45 100644 --- a/platform/base_readme.txt +++ b/platform/base_readme.txt @@ -93,8 +93,14 @@ The game must be dumped to ISO/CSO+MP3/WAV or CUE+BIN format. When using CUE/BIN, you must load .cue file from the menu, or else the emu will not find audio tracks. CUE/BIN usually takes a lot of space, so it can be converted to cue/cso/mp3 by +#ifdef PANDORA +using bin_to_cso_mp3 tool, which can be downloaded from: +http://notaz.gp2x.de/releases/misc/bin_to_cso_mp3.zip +See readme in the bin_to_cso_mp3/ directory for details. +#else using bin_to_cso_mp3 tool, which is included with the emulator. See readme in the bin_to_cso_mp3/ directory for details. +#endif ISO+mp3 files can be named similarly as for other emus. Here are some examples: @@ -242,6 +248,7 @@ Restores all options (except controls) to defaults. Display options --------------- +#ifndef PANDORA @@1. "Renderer" #ifdef GP2X 8bit fast: @@ -266,6 +273,7 @@ line by line, like the accurate one does. But because of the way it works it can't render any mid-frame image changes (raster effects), so it is useful only for some games. #endif +#endif #ifdef GP2X @@1. "Scaling" @@ -340,7 +348,7 @@ Color gamma can be adjusted with this. This can be used to reduce unwanted "ghosting" effect for dark games, by making black pixels brighter. Use in conjunction with "gamma adjustment" for more effect. -@@1. "Wait for vsync" +@@1. "Wait for v-sync" Wait for the screen to finish updating before switching to next frame, to avoid tearing. There are 3 options: * never: don't wait for vsync. @@ -356,6 +364,9 @@ Scale the image up, but keep 4:3 aspect, by adding black borders. @@1. "Set to fullscreen" Adjust the resizing options to make the game image fullscreen. #endif +#ifdef PANDORA +To be updated.. +#endif Sega/Mega CD options @@ -464,21 +475,14 @@ Key configuration Select "Configure controls" from the main menu. Then select "Player 1" and you will see two columns. The left column lists names of Genesis/MD controller buttons, and -#ifdef GP2X -the right GP2X ones, which are assigned to them. If you bind 2 different GP2X buttons +the right column your handheld ones, which are assigned. +#ifndef PANDORA +If you bind 2 different buttons to the same action, you will get a combo +(which means that you will have to press both buttons for that action to happen). #endif -#ifdef GIZ -the right Giz ones, which are assigned to them. If you bind 2 different Giz buttons -#endif -#ifdef PSP -the right PSP ones, which are assigned to them. If you bind 2 different PSP buttons -#endif -to the same action, you will get a combo (which means that you will have to press -both buttons for that action to happen). There is also option to enable 6 button pad (will allow you to configure XYZ buttons), and an option to set turbo rate (in Hz) for turbo buttons. -#endif #ifndef UIQ @@ -623,6 +627,7 @@ Additional thanks * Haze for his research (http://haze.mameworld.info). * Lordus, Exophase and Rokas for various ideas. * Nemesis for his YM2612 research. +* Many posters at spritesmind.net forums valuable information. * Mark and Jean-loup for zlib library. * ketchupgun for the skin. #ifdef GP2X @@ -652,10 +657,17 @@ Additional thanks Changelog --------- +1.80beta2 + * Pandora: updated documentation. + 1.80beta1 - * Added pandora port. - * Lots of other stuff I don't have time to write here - (to be added here soon). + + Added pandora port. + * Internal refactoring for 32x/SMS support. + * Move mapper database to external file. + + Added preliminary SMS emulation. + + Added emulation of 32x peripherals including VDP. More work is needed here. + + ARM: Added new SH2 recompiler for 32x. Some unification with SVP one. + - Disabled most of the above bacause I'm not yet happy with the results. 1.56 * Changed sync in Sega CD emulation again. Should fix games that diff --git a/platform/pandora/Makefile b/platform/pandora/Makefile index 0f737777..4827a54e 100644 --- a/platform/pandora/Makefile +++ b/platform/pandora/Makefile @@ -93,12 +93,12 @@ tidy: readme.txt: ../../tools/textfilter ../base_readme.txt ../../tools/textfilter ../base_readme.txt $@ PANDORA +PicoDrive.pxml: PicoDrive.pxml.template + ./make_pxml.sh PicoDrive.pxml.template PicoDrive.pxml + # ----------- release ----------- -ifneq ($(findstring rel,$(MAKECMDGOALS)),) -ifeq ($(VER),) -$(error need VER) -endif -endif + +VER = $(shell head -n 1 version.h | sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g') rel: PicoDrive PicoDrive.run picorestore ../../pico/carthw.cfg readme.txt \ skin PicoDrive.png PicoDrive_p.png PicoDrive.pxml diff --git a/platform/pandora/PicoDrive.pxml b/platform/pandora/PicoDrive.pxml.template similarity index 68% rename from platform/pandora/PicoDrive.pxml rename to platform/pandora/PicoDrive.pxml.template index ce033972..4164db37 100644 --- a/platform/pandora/PicoDrive.pxml +++ b/platform/pandora/PicoDrive.pxml.template @@ -17,12 +17,12 @@ - - + + - - + + diff --git a/platform/pandora/PicoDrive.run b/platform/pandora/PicoDrive.run index 2444ef5b..dc7c04d6 100755 --- a/platform/pandora/PicoDrive.run +++ b/platform/pandora/PicoDrive.run @@ -2,5 +2,5 @@ ./PicoDrive "$@" -# restore stuff ip pico crashes +# restore stuff if pico crashes ./picorestore diff --git a/platform/pandora/make_pxml.sh b/platform/pandora/make_pxml.sh new file mode 100755 index 00000000..875c7914 --- /dev/null +++ b/platform/pandora/make_pxml.sh @@ -0,0 +1,10 @@ +#!/bin/sh +sed -i + +major=`head -n 1 version.h | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\1/g'` +minor=`head -n 1 version.h | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\2/g'` +revision=`head -n 1 revision.h | sed 's/.*"\([0-9]*\)".*/\1/g'` + +sed 's/@major@/'$major'/' "$1" > "$2" +sed -i 's/@minor@/'$minor'/' "$2" +sed -i 's/@revision@/'$revision'/' "$2" diff --git a/platform/pandora/version.h b/platform/pandora/version.h index 8788af49..57325c50 100644 --- a/platform/pandora/version.h +++ b/platform/pandora/version.h @@ -1,2 +1,2 @@ -#define VERSION "1.80beta1" +#define VERSION "1.80beta2" -- 2.39.5