Skip to content

Commit

Permalink
picoarch directory refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Inman committed May 29, 2022
1 parent d557b6c commit 5a80003
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 45 deletions.
6 changes: 4 additions & 2 deletions bits/commits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
# echo "$(git rev-parse --short=8 HEAD) $(basename $PWD) ($(date "+%Y-%m-%d %H:%M:%S"))" # $(git config --get remote.origin.url)
# echo "-------- ------"
#
cd ./third-party
shopt -s dotglob

update() {
for d in "$@"; do
test -d "$d" -a \! -L "$d" || continue
Expand All @@ -18,6 +16,10 @@ update() {
done
}

cd ./third-party
update *

cd ./picoarch/cores
update *

echo "--------"
Expand Down
10 changes: 5 additions & 5 deletions commits.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
5e600602 DinguxCommander
56414aa0 SDL-1.2
783df4c7 picoarch
cb6b2420 picoarch
76e45c34 libpicofe
88252880 libretro-common
15e0485e vvvvvv
e8801687 beetle-pce-fast
b3c35b65 fceumm
15536214 gambatte
492b4c63 genesis-plus-gx
73e64647 genesis-plus-gx
03fc2b7d gpsp
76e45c34 libpicofe
88252880 libretro-common
5d48e074 mgba
fc102fa3 nxengine
131a1b41 pcsx_rearmed
Expand All @@ -17,6 +18,5 @@ fc102fa3 nxengine
23f759bc snes9x2005
23f759bc snes9x2005_plus
85b55272 supafaust
15e0485e vvvvvv
--------
generated by ./bits/commits.sh
24 changes: 12 additions & 12 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,22 @@ payload:
cp ./src/blank/blank ./build/PAYLOAD/.system/bin/
cp ./src/say/say ./build/PAYLOAD/miyoo/app/
cp ./src/blank/blank ./build/PAYLOAD/miyoo/app/
cp ./third-party/picoarch/picoarch ./build/PAYLOAD/.system/bin/
cp ./third-party/picoarch/fceumm_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/gambatte_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/gpsp_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/pcsx_rearmed_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/picodrive_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/snes9x2005_plus_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/picoarch ./build/PAYLOAD/.system/bin/
cp ./third-party/picoarch/output/fceumm_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/gambatte_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/gpsp_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/pcsx_rearmed_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/picodrive_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/picoarch/output/snes9x2005_plus_libretro.so ./build/PAYLOAD/.system/cores/
cp ./third-party/DinguxCommander/output/DinguxCommander ./build/EXTRAS/Tools/Files.pak/
cp -r ./third-party/DinguxCommander/res ./build/EXTRAS/Tools/Files.pak/
cp ./third-party/screenshot/screenshot ./build/EXTRAS/Tools/Screenshots.pak/
cp ./third-party/picoarch/beetle-pce-fast_libretro.so ./build/EXTRAS/Emus/PCE.pak/mednafen_pce_fast_libretro.so
cp ./third-party/picoarch/pokemini_libretro.so ./build/EXTRAS/Emus/PKM.pak/
cp ./third-party/picoarch/supafaust_libretro.so ./build/EXTRAS/Emus/SFC.pak/
cp ./third-party/picoarch/nxengine_libretro.so "./build/EXTRAS/Roms/Native Games (SH)/Cave Story/"
cp ./third-party/picoarch/output/beetle-pce-fast_libretro.so ./build/EXTRAS/Emus/PCE.pak/mednafen_pce_fast_libretro.so
cp ./third-party/picoarch/output/pokemini_libretro.so ./build/EXTRAS/Emus/PKM.pak/
cp ./third-party/picoarch/output/supafaust_libretro.so ./build/EXTRAS/Emus/SFC.pak/
cp ./third-party/picoarch/output/nxengine_libretro.so "./build/EXTRAS/Roms/Native Games (SH)/Cave Story/"
cp ./third-party/vvvvvv/vvvvvv "./build/EXTRAS/Roms/Native Games (SH)/VVVVVV/"
# cp ./third-party/picoarch/genesis-plus-gx/genesis_plus_gx_libretro.so ./build/EXTRAS/Emus/MCD.pak/
# cp ./third-party/picoarch/output/genesis-plus-gx/genesis_plus_gx_libretro.so ./build/EXTRAS/Emus/MCD.pak/
# cp -R ./bits/bootlogos/pak/. ./build/EXTRAS/Tools/Single-use/bootlogo.tmp
# cp ./third-party/logotweak/logomake/logomake ./build/EXTRAS/Tools/Single-use/bootlogo.tmp/
# cp ./third-party/logotweak/logowrite/logowrite ./build/EXTRAS/Tools/Single-use/bootlogo.tmp/
Expand Down
2 changes: 1 addition & 1 deletion third-party/picoarch
Submodule picoarch updated 52 files
+2 −23 .gitignore
+27 −207 Makefile
+4 −4 patches/snes9x2005/1001-miyoomini-dynarec.patch
+0 −0 source/cheat.c
+0 −0 source/cheat.h
+0 −0 source/config.c
+0 −0 source/config.h
+0 −0 source/content.c
+0 −0 source/content.h
+0 −0 source/core.c
+0 −0 source/core.h
+0 −0 source/main.c
+0 −0 source/main.h
+0 −0 source/menu.c
+0 −0 source/menu.h
+0 −0 source/options.c
+0 −0 source/options.h
+0 −0 source/overrides.c
+0 −0 source/overrides.h
+0 −0 source/overrides/beetle-pce-fast.h
+0 −0 source/overrides/bluemsx.h
+0 −0 source/overrides/fceumm.h
+0 −0 source/overrides/fmsx.h
+0 −0 source/overrides/gambatte.h
+0 −0 source/overrides/gme.h
+0 −0 source/overrides/gpsp.h
+0 −0 source/overrides/mame2000.h
+0 −0 source/overrides/nxengine.h
+0 −0 source/overrides/pcsx_rearmed.h
+0 −0 source/overrides/picodrive.h
+0 −0 source/overrides/pokemini.h
+0 −0 source/overrides/quicknes.h
+0 −0 source/overrides/smsplus.h
+0 −0 source/overrides/snes9x2002.h
+0 −0 source/overrides/snes9x2005.h
+0 −0 source/overrides/snes9x2005_plus.h
+0 −0 source/overrides/supafaust.h
+0 −0 source/patch.c
+0 −0 source/patch.h
+0 −0 source/plat.h
+0 −0 source/plat_linux.c
+0 −0 source/plat_miyoomini.c
+0 −0 source/plat_sdl.c
+0 −0 source/plat_trimui.c
+0 −0 source/scale.c
+0 −0 source/scale.h
+0 −0 source/scaler_neon.c
+0 −0 source/scaler_neon.h
+0 −0 source/unzip.c
+0 −0 source/unzip.h
+0 −0 source/util.c
+0 −0 source/util.h
27 changes: 2 additions & 25 deletions todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@

Please see the README.txt in the zip file for installation and update instructions.

- fixed audio popping when run on the 20220419 official firmware or later (thanks eggs!)
- fixed potential slowdowns caused by custom SDL audio implementation (thanks eggs!)
- fixed PlayStation frameskip
- fixed crash in German version of Pokemon FireRed (thanks d30r!)
- fixed post-boot logo graphical glitches (may also require running the Fix Boot Graphics Glitch.pak from the extras zip)
- fixed display name generation for folders with periods in their name
- updated Genesis picodrive core to irixxxx's version for Vectorman fix (possibly only temporarily)
- updated Super Nintendo snes9x2005_plus core to libretro version
- updated button names in Advanced > Options > Player controls (Pokémon mini, Game Boy Advance, TurboGrafx-16)
- updated picoarch to warn when a core doesn't support save states, auto-poweroff, or quicksave and resume
- updated libmmenu to visually disable Save and Load if the core does not support save states
- added warn binary to use when a native game doesn't support save states, auto-poweroff, or quicksave and resume
- added Native Games to extras Roms, includes Cave Story and VVVVVV (both BYOD of course, see their individual readmes)
- added new SFC.pak to extras (this will replace the default Super Nintendo emulator in a future update to MiniUI)
-

-------------------------------

Expand All @@ -26,29 +13,18 @@ and upload comparable v0.0.3 there too
for now I'm running the toolchain with a local v0.0.3 for vvvvvv
===============================

- supafaust rename frameskip manual to auto_threshold
or just threshold since we don't have separate value/display names for retro_variables?

- refactor picoarch
separate src and cores directories to simplify searching the source
add core_override_fast_forward to cores I've added
research how this was added

- snes9x frameskip interval isn't hooked up to anything?
- restore auto frameskip (I've only observed an adverse effect with auto on SotN on PSX)
- I hooked it back up but it's still not doing anything...
it's like frameskip_interval isn't being updated
it is being updated but during fastforware picoarch is overriding it to 5

- script checking core repos for newer commits?

- look at the way eggs clockd works and see if we can do something similar to add libmmenu to standalones
- launch binary and pass it's pid to standalonemenu which listens for MENU and sends a sig STOP to the previous binary?

- add snes9x2005 non-plus to Extras?

- switch all cores to libretro?

- compare my core build flags to classic_armv7_a7 build flags

- add an Extended Font.pak?
Expand All @@ -70,6 +46,7 @@ for now I'm running the toolchain with a local v0.0.3 for vvvvvv
git submodule set-branch -b miniui-miyoomini third-party/picoarch
maybe
https://stackoverflow.com/questions/1777854/how-can-i-specify-a-branch-tag-when-adding-a-git-submodule/18799234#18799234
this worked for everything but SDL I think

- faqs
- known issues
Expand Down

0 comments on commit 5a80003

Please sign in to comment.