$(error need VER)\r
endif\r
endif\r
+CODE940 = code940/pico940_v3.bin\r
\r
-rel: PicoDrive PicoDrive.gpe code940/pico940_v3.bin readme.txt PicoDrive.png ../game_def.cfg \\r
+rel: PicoDrive PicoDrive.gpe $(CODE940) readme.txt PicoDrive.png ../game_def.cfg \\r
warm_2.4.25.o warm_2.4.26-open2x.o warm_2.6.24.ko\r
zip -9 -j ../../PicoDrive_$(VER).zip $^\r
zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt\r
zip -9 -r ../../PicoDrive_$(VER).zip bin_to_cso_mp3\r
rm -rf bin_to_cso_mp3\r
\r
-code940/code940.bin:\r
+$(CODE940):\r
make -C code940/\r
\r
--- /dev/null
+#!/bin/sh
+
+export LD_PRELOAD=
+
+export POLLUX_RAM_TIMINGS='ram_timings=2,9,4,1,1,1,1'
+export POLLUX_LCD_TIMINGS_NTSC='lcd_timings=397,1,37,277,341,0,17,337;clkdiv0=9'
+export POLLUX_LCD_TIMINGS_PAL='lcd_timings=428,1,37,277,341,0,17,337;clkdiv0=10'
+
+./PicoDrive $*
+
+cd /usr/gp2x
+exec ./gp2xmenu