66 Commits

Author SHA1 Message Date
Adam Minchinton
8c6c451c52 Updated system header images in red & green themes 2021-11-16 22:16:58 +01:00
Adam Minchinton
b80e0712a0 Add Zelda variant to header bitmaps 2021-11-16 22:16:58 +01:00
Adam Minchinton
7f0dd97118 Update drawn UI to use new C_GW_MAIN_COLOR 2021-11-16 22:16:58 +01:00
Konrad Beckmann
086f50e8d2 Use a global enum definition for appids 2021-11-02 22:09:00 +01:00
Konrad Beckmann
9c48cc2b4a Fix indentation 2021-10-10 23:30:55 +02:00
Konrad Beckmann
11b1dd2dd7 Don't load state when resuming from sleep if STATE_SAVING is 0 2021-10-10 23:30:26 +02:00
Konrad Beckmann
290a9402c4 Add option to disable save state support (STATE_SAVING=0) 2021-10-10 15:28:18 +02:00
Brian Pugh
bfd9f79fff change startup gui override macro to just the TIME button 2021-09-06 17:52:25 +02:00
Konrad Beckmann
f604478126 Add more debug features
- Show the IDCODE of the device
- Adds ability to enable/disable the debug clocks
2021-08-13 00:49:34 +02:00
northskysl
d9542eb709 STM32 RTC Hardware Support & User Interface for Watch and Calendar (#128)
* Update rg_main.c

Added a menu to view and configure RTC parameters. It is activated by pressing 'TIME' button in retro-go main menu.

* Update main.c

Enable LSE oscillator and enable it as RTC clock source. Additionally enable CRS Sync LSE.

* Added time display to RTC menu

Added time display to RTC menu and also modified RTC initialization code so that it does not set the RTC date and time. Assuming that a fresh RTC has sensible values.

* Add date display to time menu

Added date display to time menu

* Fix predivs for LSE

Fixed predivs for LSE clock

* move RTC stuff to rg_rtc

Consolidate all RTC functions to rg_rtc. So far getters have been implemented only.

* Time setup UI + setters for Time

Setters for Time have been implemented and Time setup has been added into the UI to use them.

* Date setup added

Date setup with callbacks added

* Add real time datetime display

Modified the time menu to display and update in real time.

* Add a function to return Unix time

Unix time is returned as a 64-bit time_t. Casting to uint32_t will yield time in seconds since 1st Jan 1970.

* Fix setters' return type

Fixing warnings about wrong setter return type.

* Update rg_rtc.h

Missed the .h while updating return types of setters.

* Update rg_rtc.c

Add a nicer year display

* Reactivate LSI

This should fix an issue with DACs that causes Brightness control not to work.
2021-08-12 14:34:00 +02:00
ludo
3514fb8613 Add GW support 2021-08-09 20:20:17 +02:00
Konrad Beckmann
ade7cb6fc5 New flash driver and integrated loader 2021-08-03 17:06:54 +02:00
Rustam Zinurov
94062c331c Issue 101: Remember the last selected game in the menu after reset (#108)
Remember the last selected game in the menu after reset

Closes #101 

Add two extra variables to odroid settings:
 - main_menu_selected_tab
 - main_menu_cursor

* Reset active tab on power off

* Update retro-go-stm32 submodule to latest main

* Remember the last selected game in the menu on power off
2021-07-14 22:21:52 +02:00
Brian Pugh
f2f754e81e remove lupng from the build 2021-07-08 20:06:43 +02:00
Brian Pugh
013083f827 have rom manager expose the rom extension 2021-07-08 20:06:43 +02:00
Konrad Beckmann
52442187ee Remove TODO 2021-07-03 01:54:40 +02:00
Konrad Beckmann
c73bd95d74 Suspend after idling in the main menu
Default timeout is 10 minutes.

Also adds a configurable timeout for this.

Closes #80
2021-07-03 01:45:02 +02:00
Konrad Beckmann
e79c4fab0b Commit settings when going to sleep 2021-07-03 00:42:02 +02:00
Konrad Beckmann
4be407159f emulators: Render frames and pause on power resume
When the user presses the power button from the off
state, the last played game will load. A few frames
will be rendered and the emulator will be paused.

Closes #10
2021-07-01 21:02:16 +02:00
Konrad Beckmann
c45445cf81 Skip loading last played game if user holds down any extra button 2021-07-01 00:31:58 +02:00
Konrad Beckmann
559e2fc6ec Resume last played game when booting
Closes #38
2021-07-01 00:24:01 +02:00
ludo
24df24d082 - Remove generated file 2021-06-30 00:21:18 +02:00
ludo
711052daf7 - Add SG-1000 support 2021-06-30 00:21:12 +02:00
ludo
d15fe877f5 - Add support of SG-1000 2021-06-30 00:21:08 +02:00
ludo
c01ee42360 Add support of Colecovision 2021-06-30 00:21:05 +02:00
ludo
f67d762bb3 - Add support of Colecovision 2021-06-30 00:21:00 +02:00
Konrad Beckmann
a55120d69e debug: Disable action on a menu item 2021-06-17 12:28:27 +02:00
Konrad Beckmann
0459feb40a debug: Add more flash debug features 2021-06-17 12:22:46 +02:00
Konrad Beckmann
b250e5c555 Add debug menu to show flash jdec id 2021-06-17 10:30:58 +02:00
GaryZ88
3df1e0a0c0 Adding PC Engine (TurboGrafx-16) Emulation (#78)
Adding PC Engine (TurboGrafx-16) Emulation
2021-02-18 08:16:32 +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
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
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
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
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
59b841ac7a Include region in rom parsing 2020-12-28 21:59:47 +01:00
Franz Levin
76b248e2a3 use dynamic array size 2020-12-28 15:38:15 +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
Konrad Beckmann
bd02b964fe Fix some additional warnings 2020-12-27 22:01:33 +01:00