added readme to cores

This commit is contained in:
Shaun Inman 2023-03-16 09:06:04 -04:00
parent 38ca2ec058
commit d975690f32
3 changed files with 29 additions and 7 deletions

9
cores/README.md Normal file
View file

@ -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/<core_name>` but you can override the repo path by setting `<core_name>_REPO`. You can select a specific commit by setting `<core_name>_HASH`. If the resulting lib name doesn't match the `<core_name>` you can specify the actual name by setting `<core_name>_CORE`. Additional flags required to build the core can be added by setting `<core_name>_FLAGS`. If the core does not use a makefile named `Makefile` you can specify a custom makefil by setting `<core_name>_MAKEFILE`. If building takes place in a subfolder you can specify that by setting `<core_name>_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-<core_name>` 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 `<core_name>.patch`. Then I delete the core folder and run `make <core_name>` 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

View file

@ -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

View file

@ -5,18 +5,23 @@
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
@ -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?