Konrad Beckmann
4b0444b7b4
Add menu entry to power off the unit
2021-02-15 15:24:21 +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
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
Konrad Beckmann
a047912570
main: Fix BSOD infinite loop
2021-01-16 01:25:49 +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
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
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
3b50f7a1cd
Generate emulator configuration based on roms
...
Closes #57
2021-01-09 06:35:26 +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
Jan Dumon
b656959c4d
Integrate smsplusgx
2021-01-08 16:27:21 +01:00
Konrad Beckmann
d3bdb98781
Persist and show log after watchdog reset
2021-01-08 16:04:20 +01:00
Konrad Beckmann
9359d8b374
bsod: Encode fault in boot magic
2021-01-08 15:38:55 +01:00
Konrad Beckmann
c34d0e2cb8
Set boot_magic when watchdog expires
2021-01-08 15:32:41 +01:00
Jan Dumon
00e5d9a25c
Added a watchdog to avoid power-cycles when things go wrong
2021-01-08 14:28:48 +01:00
Konrad Beckmann
edef752123
Don't copy strings, reduces heap usage
2021-01-06 02:32:17 +01:00
Jan Dumon
47dc364af2
flash: align erase size with the address
...
Sub-block erases should be aligned with the size: e.g. 32kB erase should
only be done on 32kB boundaries, 64Kb erase should only be done on block
boundaries.
2021-01-05 15:44:14 +01:00
Jan Dumon
0b553b87da
Load emulators from flash into memory
...
This was originally written by Thomas Roth <code@stacksmashing.net > to
make it possible to support more emulators than what fits into memory at
the same time (commit c13aa09b ).
Instead of generating a monolithic binary, the different emulators are
stored in flash and loaded into ram right before they are launched.
This is the basis for adding more emulators e.g. smsplusgx.
2021-01-04 17:20:48 +01:00
Raúl Mora
5ef7292aa5
GUI updated similar to the Famicom Classic Mini title selection screen
2021-01-04 14:02:45 +01:00
Konrad Beckmann
52c6150519
Increase emulator_framebuffer to correct size
2021-01-04 08:19:51 +01:00
Konrad Beckmann
58470a91b9
Only disable caching on fb ram
2021-01-04 06:35:25 +01:00
Konrad Beckmann
f91e20153b
Add unaligned mempcy fix
2021-01-02 21:28:28 +01:00
Konrad Beckmann
db504ed905
main/flash: Use SPI_MODE
...
This will make the project work for everyone for now.
This should be revisited later.
2021-01-02 04:22:46 +01:00
Konrad Beckmann
2c3c566437
Support 4K, 32K and 64K flash erase
2020-12-29 17:02:43 +01:00
Konrad Beckmann
98954634b1
Fix warnings
2020-12-29 14:04:11 +01:00
Konrad Beckmann
29451a18c1
gb: Support GBC
2020-12-29 03:41:26 +01:00
Konrad Beckmann
c1efeecc23
Correctly specify the audio buffer size to handle 50/60 Hz
2020-12-29 03:05:15 +01:00
Konrad Beckmann
d34667cae4
gb: Store actual number of bytes of state save
2020-12-29 00:12:22 +01:00
Konrad Beckmann
59b841ac7a
Include region in rom parsing
2020-12-28 21:59:47 +01:00
Konrad Beckmann
e4add4a4a4
nes: Support PAL and NTSC
2020-12-28 21:21:06 +01:00
Franz Levin
76b248e2a3
use dynamic array size
2020-12-28 15:38:15 +01:00
Franz Levin
84e74f5b1c
cleanup
2020-12-28 01:44:42 +01:00
Konrad Beckmann
ec2fe6b548
Fix dependency issues for githash.h
2020-12-28 00:56:31 +01:00
Konrad Beckmann
aff237dddc
Remove incorrect include
2020-12-28 00:10:16 +01:00
Jan Dumon
000bffde95
gb: use screen_blit_v3to5
2020-12-27 22:09:29 +01:00
Konrad Beckmann
bd02b964fe
Fix some additional warnings
2020-12-27 22:01:33 +01:00
Jan Dumon
e618b0d8ef
fixed compiler warnings
2020-12-27 19:54:48 +01:00
Konrad Beckmann
2815b9a00a
BSOD: Reboot device after a button is pressed
2020-12-27 16:34:36 +01:00
Konrad Beckmann
09148a16f6
Fix rendering bug, support changing palettes
2020-12-27 16:34:33 +01:00