diff --git a/cores/README.md b/cores/README.md new file mode 100644 index 0000000..98a0c60 --- /dev/null +++ b/cores/README.md @@ -0,0 +1,9 @@ +# Adding additional cores + +In the makefile: first add core name to the list of `CORES`. By default, this will `git clone https://github.com/libretro/` but you can override the repo path by setting `_REPO`. You can select a specific commit by setting `_HASH`. If the resulting lib name doesn't match the `` you can specify the actual name by setting `_CORE`. Additional flags required to build the core can be added by setting `_FLAGS`. If the core does not use a makefile named `Makefile` you can specify a custom makefil by setting `_MAKEFILE`. If building takes place in a subfolder you can specify that by setting `_BUILD_PATH`. + +In the patches directory: create a patch file that adds an RG35XX target to the makefile. To do this I run `make clone-` then seach the makefile for `MIYOO` and add a new `else ifeq ($(platform), rg35xx)` condition. I'll find a comparable device to base this addition on (either the Miyoo Mini or a Dingux device). The architecture flags should be something like `-marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a`. I usually enable `-fPIC -flto` as well. Then I'll try manually building the core. If the build succeeds and runs on the device I'll create the patch with git and name it `.patch`. Then I delete the core folder and run `make ` and confirm the build succeeds and runs on the device. + +In the `skeleton/EXTRAS/Emus/rg35xx/` directory I create a new pak for the emulator and add it to the bundle step of MinUI's makefile. I also create the requisite Bios, Roms, and Saves folders and document the addition in the extras readme. + +Fin \ No newline at end of file diff --git a/notes.txt b/notes.txt index b514b27..cf5f542 100644 --- a/notes.txt +++ b/notes.txt @@ -21,10 +21,13 @@ CODE_L1 0x64 100 SCANCODE_RIGHTALT SDLK_RALT KEY_RIGHTALT CODE_R1 0x65 101 SCANCODE_BREAK SDLK_BREAK KEY_LINEFEED CODE_L2 0x66 102 SCANCODE_HOME SDLK_HOME KEY_HOME CODE_R2 0x67 103 SCANCODE_CURSORBLOCKUP KEY_UP + rev SCANCODE_UP SDKL_UP CODE_MENU 0x68 104 SCANCODE_PAGEUP SDLK_PAGEUP KEY_PAGEUP CODE_PLUS 0x6C 108 SCANCODE_CURSORBLOCKDOWN KEY_DOWN + rev SCANCODE_DOWN SDKL_DOWN CODE_MINUS 0x6D 109 SCANCODE_PAGEDOWN SDLK_PAGEDOWN KEY_PAGEDOWN CODE_POWER 0x74 116 SCANCODE_POWER SDLK_POWER KEY_POWER + rev 0 SDLK_UNKNOWN --------------------------------------------------------------------------------------------------------- See also: FB_InitOSKeymap() in video/fbcon/SDL_fbevents.c:1079 diff --git a/todo.txt b/todo.txt index 7939811..32e6d9b 100644 --- a/todo.txt +++ b/todo.txt @@ -5,19 +5,24 @@ Please see the README.txt in the zip file for installation and update instructions. **Base** -- updated various frontend and emulator option default values -- added press A to see entire (or at least more of) truncated option description -- fixed controls being overridden by core defaults +- **Extras** -- updated various frontend and emulator option default values -- disabled TurboGrafx-16 option Alternate Turbo Toggle (device doesn't have the buttons used for it, L3/R3) +- ------------------------------- -cave story core? - would need to set up disabling autosleep and warning about lack of autosave and update ui for lack of save states, etc +hardware rev + volumn and menu buttons no longer work + headphone jack detection no longer works + booting doesn't work reliably + all of the above works fine on stock firmware + eggs cooked up ways to + under/overclock the cpu and + access more physical memory for the framebuffer + on unmodified stock :tada: + minarch some cores can only fast forward with prevent tearing off can this be set as an override preference? @@ -102,6 +107,11 @@ cores reset hangs the PlayStation emulator core Tekken 3 freezes PlayStation emulator core while fast-forwarding after a while + cave story + would need to set up disabling autosleep and + warning about lack of autosave and + update ui for lack of save states, etc + Union-ize this? Mini?