472 Commits

Author SHA1 Message Date
Konrad Beckmann
1bb1268c0f ci: mv files instead of cp 2021-02-18 08:22:29 +01:00
Konrad Beckmann
461d43380f ci: Download a PCE rom 2021-02-18 08:22:28 +01:00
GaryZ88
3df1e0a0c0 Adding PC Engine (TurboGrafx-16) Emulation (#78)
Adding PC Engine (TurboGrafx-16) Emulation
2021-02-18 08:16:32 +01:00
Konrad Beckmann
4b0444b7b4 Add menu entry to power off the unit 2021-02-15 15:24:21 +01:00
Konrad Beckmann
d9f570d75f ci: Download actual ROMs for GG and SMS 2021-02-12 14:17:31 +01:00
Jan Dumon
ea18ae2f5f Use objcopy to convert roms to .o files
Converting the rom files to .c files with char arrays is very heavy on
the memory usage of the compiler. By converting them directly to .o
files this step is no longer needed.

The Makefile dependencies of generating the rom files has been fixed.
Parsing the rom files will now only happen once when -j is used.
2021-02-12 13:55:51 +01:00
Scorp0rX0r
0e2edb09d2 Fix LCD init and merge resume support 2021-02-07 16:36:09 +01:00
Jan Dumon
8b5dd9aca6 reduce memory usage of listbox_item_t
Instead of using a fixed-length buffer, the user of listbox_item_t is
responsible for the memory. Most of the items are titles of roms and
those are static.
2021-01-22 19:11:10 +01:00
Jan Dumon
c8c7c6cb35 Increase speed of keeping keys pressed 2021-01-22 17:43:03 +01:00
deanhuff
098fd63532 Fix dump & load save scripts (#70)
* Update program_saves.sh

The rom struct was changed from `rom_entry_t` to `retro_emulator_file_t` which also had the effect that the rom name member changed name from `rom_name` to `name`.
2021-01-22 06:19:52 +01:00
Jan Dumon
39377661f8 parse_roms: generate a const struct of the roms
This avoids using malloc for the menu structure of the roms.
2021-01-21 17:26:34 +01:00
Jan Dumon
aab0a71eb9 When keeping pressed repeat directional keys in menus 2021-01-21 06:36:35 +01:00
Jan Dumon
eecbcd6a0a smsplusgx: fix indentation and remove obsolete code 2021-01-21 06:36:06 +01:00
Jan Dumon
cfd1a4cc37 smsplusgx: use correct blit function 2021-01-21 06:36:06 +01:00
Konrad Beckmann
a4a0602527 smsplusgx: Divide volume factor by 2 to prevent overflow in stereo mixing 2021-01-19 09:42:52 +01:00
Konrad Beckmann
6932a5f341 Improve audio volume calculation 2021-01-18 21:31:34 +01:00
trochr
0a6744b538 Added a hint for building on Mac 2021-01-18 10:08:59 +01:00
Konrad Beckmann
a047912570 main: Fix BSOD infinite loop 2021-01-16 01:25:49 +01:00
Konrad Beckmann
172b1079bc linux: Adapt gb emulator to new submodule 2021-01-16 00:50:10 +01:00
Konrad Beckmann
1f4dee743d linux: Adapt nes emulator to new submodule 2021-01-16 00:47:08 +01:00
Konrad Beckmann
d6f51d4b8a ci: Build the Dockerfile too 2021-01-15 00:35:45 +01:00
Konrad Beckmann
1670080694 makefile/ld: Improve internal flash programming
Two binaries generated:
- gw_retro_go_intflash.bin containing the internal flash, 0x08000000
- gw_retro_go_extflash.bin containing the external flash, 0x90000000

This enables us to use the openocd program command with "verify", as we force it to verify only the data at 0x08000000.

Previously, we would get warnings from openocd when programming the elf file (Warn : no flash bank found for address 0x90000000). These are now gone.

Makefile targets have been changed to be more clear:

- `make flash_intflash`: flashes the internal flash (0x08000000)
- `make flash_intflash_nc`: same as the above, but  uses nc to communicate with a running openocd session
- `make flash_extflash`: flashes the external flash (0x90000000)
- `make flash`: Flashes both of the above
- `make flash_all`: Alias to flash (kept for legacy reasons, so users can keep running their old commands)
2021-01-13 23:32:32 +01:00
Konrad Beckmann
4b9ebe5b40 ld: Add (NOLOAD) to appropriate sections 2021-01-13 23:03:41 +01:00
Konrad Beckmann
804171b920 makefile: Add -fstack-usage -Wstack-usage=20480 2021-01-13 22:18:53 +01:00
Konrad Beckmann
3e0a92ccb2 size.sh: Calculate MiB correctly 2021-01-13 09:17:32 +01:00
Konrad Beckmann
ea53a9c89e parse_roms: Write constant for roms_count 2021-01-13 06:24:43 +01:00
Konrad Beckmann
4567dfad9d retro-go: Fix warning 2021-01-12 23:52:11 +01:00
Konrad Beckmann
7ce42520d6 Move headers to more sensible places 2021-01-12 23:49:30 +01:00
Konrad Beckmann
a78703d51c Update submodule 2021-01-12 23:34:20 +01:00
Konrad Beckmann
13372bcac1 Cleanup scripts a bit 2021-01-12 23:32:13 +01:00
Konrad Beckmann
4843d965b9 github: Add auto assign 2021-01-12 19:21:26 +01:00
Jan Dumon
81e3822edf odroid_input: implement odroid_input_wait_for_key() 2021-01-12 09:52:54 +01:00
Konrad Beckmann
c6014e0bd9 retro-go: Update submodule (gb, nes fixes) and fixup 2021-01-11 12:10:05 +01:00
Konrad Beckmann
0d9d7605e7 nes: Update submodule and adjust integration 2021-01-11 11:22:26 +01:00
Franz Levin
bc61c642b1 battery: Added battery status 2021-01-11 02:30:22 +01:00
Franz Levin
58573dc296 cubemx: Generated new code 2021-01-11 02:30:22 +01:00
Franz Levin
51d5f4cac1 cubemx: Added pins, adc, timer, interrupts for fuel gauge 2021-01-11 02:30:22 +01:00
Chris Hughes
c93991c59b osx: Fix for save state scripts 2021-01-11 01:32:47 +01:00
Konrad Beckmann
62ceaefa87 Include gui in internal flash
This makes it possible to program only the internal flash without any roms loaded and get a menu that loads without crashing.
2021-01-09 23:14:51 +01:00
Konrad Beckmann
6698f89809 ci: Add placeholder roms for GG/SMS so it is built 2021-01-09 22:18:51 +01:00
Konrad Beckmann
efa8e37a8e linux: Add basic gb integration 2021-01-09 16:34:21 +01:00
Konrad Beckmann
72159e5b08 parse_roms: Write build/saveflash.ld if it's changed 2021-01-09 06:50:17 +01:00
Konrad Beckmann
6dfce45374 parse_roms: Write build/config.h if it's changed 2021-01-09 06:45:04 +01:00
Konrad Beckmann
3b50f7a1cd Generate emulator configuration based on roms
Closes #57
2021-01-09 06:35:26 +01:00
Konrad Beckmann
274399a4bd makefile: Remove unused targets 2021-01-09 06:10:56 +01:00
Konrad Beckmann
945f5d9de0 size: Include sms 2021-01-09 04:22:01 +01:00
Konrad Beckmann
4fc8552bf2 launcher: Show options with the pause/set button
Makes it more consistent with the in-game settings that uses the same button.
2021-01-08 23:41:24 +01:00
Nikolay Antsiferov
7edd9ed819 Update readme with Sega Master System and Game Gear, fix markdown linting 2021-01-08 21:46:31 +01:00
Konrad Beckmann
a9ef026ed3 Support backup of sms/gg save states 2021-01-08 17:23:05 +01:00
Jan Dumon
b656959c4d Integrate smsplusgx 2021-01-08 16:27:21 +01:00