From d4bea61c8f1e5fb1a68c401610bd424c052ef636 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Mon, 7 Oct 2013 21:06:54 +0200 Subject: [PATCH] Add support for the OpenDingux platform --- .gitignore | 3 + Makefile | 17 +++++- configure | 11 +++- platform/common/plat_sdl.c | 3 + platform/libpicofe | 2 +- platform/opendingux/data/default.gcw0.desktop | 9 +++ platform/opendingux/data/megadrive.png | Bin 0 -> 1524 bytes platform/opendingux/data/skin/background.png | Bin 0 -> 16170 bytes platform/opendingux/data/skin/font.png | Bin 0 -> 11264 bytes platform/opendingux/data/skin/readme.txt | 7 +++ platform/opendingux/data/skin/skin.txt | 3 + platform/opendingux/inputmap.c | 55 ++++++++++++++++++ 12 files changed, 105 insertions(+), 5 deletions(-) create mode 100644 platform/opendingux/data/default.gcw0.desktop create mode 100644 platform/opendingux/data/megadrive.png create mode 100644 platform/opendingux/data/skin/background.png create mode 100644 platform/opendingux/data/skin/font.png create mode 100644 platform/opendingux/data/skin/readme.txt create mode 100644 platform/opendingux/data/skin/skin.txt create mode 100644 platform/opendingux/inputmap.c diff --git a/.gitignore b/.gitignore index 9f71eb92..b7ef852d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ mds/ cfg/ libs/ obj/ +.opk_data +PicoDrive +PicoDrive.opk diff --git a/Makefile b/Makefile index 67ba86f1..0df793e8 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,21 @@ asm_cdpico = 0 asm_cdmemory = 0 endif -# frontend +ifeq "$(PLATFORM)" "opendingux" +opk: $(TARGET).opk + +$(TARGET).opk: $(TARGET) + $(RM) -rf .opk_data + cp -r platform/opendingux/data .opk_data + cp $< .opk_data/PicoDrive + $(STRIP) .opk_data/PicoDrive + mksquashfs .opk_data $@ -all-root -noappend -no-exports -no-xattrs + +OBJS += platform/opendingux/inputmap.o + +# OpenDingux is a generic platform, really. +PLATFORM := generic +endif ifeq "$(PLATFORM)" "generic" OBJS += platform/linux/emu.o platform/linux/blit.o # FIXME OBJS += platform/common/plat_sdl.o @@ -156,6 +170,7 @@ target_: $(TARGET) clean: $(RM) $(TARGET) $(OBJS) + $(RM) -r .opk_data $(TARGET): $(OBJS) $(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS) diff --git a/configure b/configure index 453d5309..29b45e1f 100755 --- a/configure +++ b/configure @@ -31,7 +31,7 @@ check_define() # setting options to "yes" or "no" will make that choice default, # "" means "autodetect". -platform_list="generic pandora gp2x" +platform_list="generic pandora gp2x opendingux" platform="generic" sound_driver_list="oss alsa sdl" sound_drivers="" @@ -51,6 +51,7 @@ optimize_arm920="no" CC="${CC-${CROSS_COMPILE}gcc}" CXX="${CXX-${CROSS_COMPILE}g++}" AS="${AS-${CROSS_COMPILE}as}" +STRIP="${STRIP-${CROSS_COMPILE}strip}" SDL_CONFIG="`$CC --print-sysroot`/usr/bin/sdl-config" MAIN_LDLIBS="$LDLIBS -lm" config_mak="config.mak" @@ -68,6 +69,9 @@ set_platform() case "$platform" in generic) ;; + opendingux) + sound_drivers="sdl" + ;; pandora) sound_drivers="oss alsa" optimize_cortexa8="yes" @@ -111,7 +115,7 @@ if [ "$show_help" = "yes" ]; then echo " --sound-drivers=LIST sound output drivers [guessed]" echo " available: $sound_driver_list" echo "influential environment variables:" - echo " CROSS_COMPILE CC CXX AS CFLAGS ASFLAGS LDFLAGS LDLIBS" + echo " CROSS_COMPILE CC CXX AS STRIP CFLAGS ASFLAGS LDFLAGS LDLIBS" exit 1 fi @@ -225,7 +229,7 @@ arm*) esac case "$platform" in -generic) +generic | opendingux) need_sdl="yes" ;; esac @@ -361,6 +365,7 @@ echo >> $config_mak echo "CC = $CC" >> $config_mak echo "CXX = $CXX" >> $config_mak echo "AS = $AS" >> $config_mak +echo "STRIP = $STRIP" >> $config_mak echo "CFLAGS += $CFLAGS" >> $config_mak echo "ASFLAGS += $ASFLAGS" >> $config_mak echo "LDFLAGS += $LDFLAGS" >> $config_mak diff --git a/platform/common/plat_sdl.c b/platform/common/plat_sdl.c index 63039d44..4404691a 100644 --- a/platform/common/plat_sdl.c +++ b/platform/common/plat_sdl.c @@ -72,12 +72,15 @@ const struct menu_keymap in_sdl_joy_map[] __attribute__((weak)) = { SDLK_WORLD_3, PBTN_MA3 }, }; +extern const char * const in_sdl_key_names[] __attribute__((weak)); + static const struct in_pdata in_sdl_platform_data = { .defbinds = in_sdl_defbinds, .key_map = in_sdl_key_map, .kmap_size = sizeof(in_sdl_key_map) / sizeof(in_sdl_key_map[0]), .joy_map = in_sdl_joy_map, .jmap_size = sizeof(in_sdl_joy_map) / sizeof(in_sdl_joy_map[0]), + .key_names = in_sdl_key_names, }; /* YUV stuff */ diff --git a/platform/libpicofe b/platform/libpicofe index c19e28f6..d685ce46 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit c19e28f62660cdaed26698234cff9c084517b34c +Subproject commit d685ce4625e9f3b25b0852d31960cb429da06a9d diff --git a/platform/opendingux/data/default.gcw0.desktop b/platform/opendingux/data/default.gcw0.desktop new file mode 100644 index 00000000..80458bd8 --- /dev/null +++ b/platform/opendingux/data/default.gcw0.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Picodrive +Comment=A megadrive/genesis emulator +Exec=PicoDrive +Terminal=false +Type=Application +StartupNotify=true +Icon=megadrive +Categories=emulators; diff --git a/platform/opendingux/data/megadrive.png b/platform/opendingux/data/megadrive.png new file mode 100644 index 0000000000000000000000000000000000000000..e1bc5f8d4edadb7c42935eb2d79ec5da1ce586f0 GIT binary patch literal 1524 zcmV3d)L)W7Pp4_halYjr6s z^upbT56t&)&iQ`$!uOmxL%`6tRzYG8uxwAel^tPN#!q zSv-02gqJU0^7{2_-oAay>FFtdZMTWXEk?>ge& zl1`_Yo}Nb6b^dba4qIDW?CtH@5-(o7;OOXxt4oQ*yZ+ zx~|)M9UL4C1Y}vJ*=*8mHrd?Vbi`*g8VzP=XOU$YS(X_eA14q95C{YqA0Nl>_dD?U zeB8KkgVE7Z_V@R(EQ@lvjIQf6n@zgi?m%FAdiorVM#F)kD9q2#qiGs`zaL4G5Cq}B zB1sY>BO`qH@PS+|N2OAs(P*%@w>J2>_?(RS! z6bhZgFbtbgse~ws$g)hKP(af(DwPVgS`A&-(RH2WcCjpr=g*(hYPFDMnNq35_V)HbAQ%juqgJcgoF$)|n?q3)R8^%^ zDp4+%9n~-l1Jg8VHk+)kuXE>9o9^!JVp$fAMgvKb$mMcuZEXz%5{U$wrlDyX%gf7- zSkp8_Q6v_N5sgNXB#BHWgQ}_&i$yd|vnyp72FuIKtgNiCzP`@t>M9!>8?@VPc6WEV zefzdu#dfL$+Zr!>?BoZMS zjgrsjX|-Adfti^Z3WdU@gu`K5A`*$Pu&{t6N%(v|e)+kFk`d|db@=7y9^JhTKA(?j zwaVh+BC;%#NFKXH8WE5|3l zqU-uVz~}RkN~MU!VqYYcN|DRuNG6k{QmOw5wOY;D1z$Q1&zPK?Boc{SI_Gm@v6%hm z`=vM#2p|Z;Kwx-ym}}Rr*@QwNve~R->}xnn8jHnnyWNiXY|ilT@P7op`McnE@iO{D a3;Y|Ox_VreIEYFB0000g$mJ literal 0 HcmV?d00001 diff --git a/platform/opendingux/data/skin/background.png b/platform/opendingux/data/skin/background.png new file mode 100644 index 0000000000000000000000000000000000000000..5dc2bb6653f81e839f0303fb194a86da1d444984 GIT binary patch literal 16170 zcmYkDbyQT}*T(7Y9BE|0K?WQek%l3Z8kCeS0ZHkQF6j~^B$XJt5u~L>z@bN486+fz z&i8(Qf4!^)Gi%Lo@44shv(J7$`?>FQwbdxeSjcd2a40p@RrGLha20^}2PAmF-&>uB zGQbO|ySlL_4h}ipf4{gtmx8ZxaJXXTP81{pif^lnuxu zMKBC)2y_3or7BRDH=6_A4|$ZCEtjZKhhi=c{l3EzHl)f-gZsqWYbG$BnRb7lIOg19 zC*&XeLINiu9c$oACr#>ILn5_P`qk)-P)&cmOkTMq#}G6Uvklcl$2{2jVbC!ViU@3_ zZ-$+5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LVA| literal 0 HcmV?d00001 diff --git a/platform/opendingux/data/skin/font.png b/platform/opendingux/data/skin/font.png new file mode 100644 index 0000000000000000000000000000000000000000..707a5b433f25537a1514c1c6b71bbd1e0a92daf3 GIT binary patch literal 11264 zcmV+bEdSGqP)U8P*7-ZbZ>KLZ*U+lnSp_Ufq@}0xwybFAi#%#fq@|}KQEO56)-X|e7nZL z$iTqBa9P*U#mSX{G{Bl%P*lRez;J+pfx##xwK$o9f#C}S14DXwNkIt%17i#W1A|CX zc0maP17iUL1A|C*NRTrF17iyV0~1e4YDEbH0|SF|enDkXW_m`6f}y3QrGjHhep0GJ zaAk2xYHqQDXI^rCQ9*uDVo7QW0|Nup4h9AW240u^5(W3f%sd4n162kpgNVo|1qcff zJ_s=cNG>fZg9jx8g8+j9g8_pBLjXe}Lp{R+hNBE`7{wV~7)u#fFy3PlV+vxLz;uCG zm^qSpA@ds+OO_6nTdaDlt*rOhEZL^9ePa)2-_4=K(Z%tFGm-NGmm}8}ZcXk5JW@PU zd4+f<@d@)yL(o<5icqT158+-B6_LH7;i6x}CW#w~Uy-Pgl#@Irl`kzV zeL|*8R$ca%T%Wv){2zs_iiJvgN^h0dsuZZ2sQy$tsNSU!s;Q*;LF<6_B%M@UD?LHI zSNcZ`78uqV#TeU~$eS{ozBIdFzSClfs*^S+dw;4dus<{M;#|MXC)T}S9v!D zcV!QCPhBq)ZyO(X-(bH4|NMaZz==UigLj2o41F2S6d@OB6%`R(5i>J(Puzn9wnW{e zu;hl6HK{k#IWjCVGqdJqU(99Cv(K+6*i`tgSi2;vbXD1#3jNBGs$DgVwO(~o>mN4i zHPtkqZIx>)Y(Ls5-Br|mx>vQYvH$Kwn@O`L|D75??eGkZnfg$5<;Xeg_o%+-I&+-3%01W^SH2RkDT>t<8AY({UO#lFTB>(_`g8%^e z{{R4h=>PzAFaQARU;qF*m;eA5Z<1fdMgRaPVo5|nRCwCVlihWLFbqbo*a%+x+7V!k zWC=1v8G=mV%ys*KF*c+H3=729jk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jT~-g+=FqHUIw)+5Z&bA{})JgxXEsMB;s&N-@SMt6eq@)-S9} zg_-p%Zz?_7hB?7ehc`oa`=l_55+Uxp!1n+2T|a%Z_7qz?LD!<3-l0iR*CUij$ZK}{ z9)FF$aZZxt{O?2byn0){i10B5;Hwm_4md9Wr_c`1U43n54F;5}eY(bV!RH~e9{nM9 zp7Q*3Zla!*7|2S?Zj- +#include + +#include "../libpicofe/input.h" +#include "../libpicofe/in_sdl.h" +#include "../common/input_pico.h" + +const struct in_default_bind in_sdl_defbinds[] = { + { SDLK_UP, IN_BINDTYPE_PLAYER12, GBTN_UP }, + { SDLK_DOWN, IN_BINDTYPE_PLAYER12, GBTN_DOWN }, + { SDLK_LEFT, IN_BINDTYPE_PLAYER12, GBTN_LEFT }, + { SDLK_RIGHT, IN_BINDTYPE_PLAYER12, GBTN_RIGHT }, + { SDLK_LSHIFT, IN_BINDTYPE_PLAYER12, GBTN_A }, + { SDLK_LALT, IN_BINDTYPE_PLAYER12, GBTN_B }, + { SDLK_LCTRL, IN_BINDTYPE_PLAYER12, GBTN_C }, + { SDLK_RETURN, IN_BINDTYPE_PLAYER12, GBTN_START }, + { SDLK_ESCAPE, IN_BINDTYPE_EMU, PEVB_MENU }, + { SDLK_TAB, IN_BINDTYPE_EMU, PEVB_PICO_PPREV }, + { SDLK_BACKSPACE, IN_BINDTYPE_EMU, PEVB_PICO_PNEXT }, + { SDLK_BACKSPACE, IN_BINDTYPE_EMU, PEVB_STATE_SAVE }, + { SDLK_TAB, IN_BINDTYPE_EMU, PEVB_STATE_LOAD }, + { SDLK_SPACE, IN_BINDTYPE_EMU, PEVB_FF }, + { 0, 0, 0 } +}; + +const struct menu_keymap in_sdl_key_map[] = +{ + { SDLK_UP, PBTN_UP }, + { SDLK_DOWN, PBTN_DOWN }, + { SDLK_LEFT, PBTN_LEFT }, + { SDLK_RIGHT, PBTN_RIGHT }, + { SDLK_LCTRL, PBTN_MOK }, + { SDLK_LALT, PBTN_MBACK }, + { SDLK_SPACE, PBTN_MA2 }, + { SDLK_LSHIFT, PBTN_MA3 }, + { SDLK_TAB, PBTN_L }, + { SDLK_BACKSPACE, PBTN_R }, +}; + +const char * const in_sdl_key_names[SDLK_LAST] = { + [SDLK_UP] = "UP", + [SDLK_DOWN] = "DOWN", + [SDLK_LEFT] = "LEFT", + [SDLK_RIGHT] = "RIGHT", + [SDLK_LCTRL] = "A", + [SDLK_LALT] = "B", + [SDLK_LSHIFT] = "X", + [SDLK_SPACE] = "Y", + [SDLK_TAB] = "L", + [SDLK_BACKSPACE] = "R", + [SDLK_RETURN] = "START", + [SDLK_ESCAPE] = "SELECT", + [SDLK_POWER] = "POWER", + [SDLK_PAUSE] = "LOCK", +}; -- 2.39.5