508 Commits

Author SHA1 Message Date
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
Konrad Beckmann
e452a5aade makefile: Fix make help 2021-08-12 22:55:19 +02:00
Konrad Beckmann
a0497229fd Set default display brightness to level3 2021-08-12 20:00:51 +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
Brian Pugh
5b8a944791 fix game and watch speed issues (#129) 2021-08-12 07:47:36 +02:00
Konrad Beckmann
7b0458d7db readme: Fix link 2021-08-11 22:20:31 +02:00
Brian Pugh
314fc9863d Add features to make compatible with tim's patched firmware (#124) 2021-08-11 22:18:07 +02:00
Konrad Beckmann
283a0619df Add lz4 support for PCE engine
Limited to roms smaller than 300k
2021-08-11 21:51:19 +02:00
Konrad Beckmann
422ad66214 ci: Add a placeholder rom for the gw emulator 2021-08-11 21:43:35 +02:00
Konrad Beckmann
e985070cdd size: Print gw size 2021-08-11 21:43:06 +02:00
zx81
6d269a8219 Zx81 (#126)
* - Fix sound in PCE emu
* - New fixes for PCE audio
2021-08-10 14:07:08 +02:00
Konrad Beckmann
550a9eaca7 gw: Integrate on screen display etc 2021-08-09 20:21:17 +02:00
ludo
3514fb8613 Add GW support 2021-08-09 20:20:17 +02:00
Konrad Beckmann
3fe89ad4f7 gitignore: Ignore *.pyc files 2021-08-08 19:43:21 +02:00
Brian Pugh
820722f4ae Flash monitor (#123)
* automatically launch openocd

* Add "monitor" and "flash-monitor" targets to launch logpoll
2021-08-08 18:55:17 +02:00
Brian Pugh
f96b4bcb43 In-game macro overlay (#122)
* draw_darken_rounded_rectangle initial commit

* image drawing routines

* mostly working static overlay

* use 24x24 instead of 32x32 images, slightly tweak some layout

* complete volume and brightness overlays

* save/load overlay

* png icons and tool to convert them to bit arrays

* add speedup overlay icons

* install common_ingame_overlay hook to all emulators

* explicitly invoke ingame overlay when saving so that the icon shows up before the pause

* make transparency look a little better on dark backgrounds

* tweak bars offset

* have pce use lcd_get_active_framebuffer

* shift sun 1 pixel to the right; even though it's just as off-centered, it looks better
2021-08-08 16:11:50 +02:00
Brian Pugh
eeffce05c6 Fix slightly incorrect buffer swapping in nes osd_blitscreen 2021-08-07 18:29:09 +02:00
Konrad Beckmann
72da767238 tools: Break out openocd and rewrite screengrabber a bit 2021-08-05 22:20:00 +02:00
Konrad Beckmann
9d56ddc0bc tools: Fix wrapping bug and add halt support for safer data reads 2021-08-05 21:14:00 +02:00
Konrad Beckmann
6241983f53 tools: Add argparse to logpoll and cleanup 2021-08-05 19:55:06 +02:00
Konrad Beckmann
4d44d6835d tools: Add logpoll to poll the stdout log from a running target 2021-08-05 19:36:03 +02:00
Konrad Beckmann
67685edea6 main: Increase max extflash size to 256 MB 2021-08-05 08:49:31 +02:00
Brian Pugh
fbb791b0a6 Fix sms from emulating 5% too fast introduced in b6bbe8e2. Slightly increase target frame period accuracy for all emulators 2021-08-04 19:58:00 +02:00
Konrad Beckmann
9f39efa2ef gw_flash: Assert that JEDEC ID is not FF FF FF 2021-08-04 16:17:32 +02:00
Konrad Beckmann
57601aa086 BSOD: Turn on the backlight
Useful if hitting an assert very early
2021-08-04 16:16:30 +02:00
Konrad Beckmann
6b7e6eeeb6 gw_flash: Add MX66U1G45G and MX66U2G45G 2021-08-04 11:58:46 +02:00
Konrad Beckmann
79636bd7ec makefile: Add make dump_logs to dump callstack and logs 2021-08-04 11:57:59 +02:00
Brian Pugh
a3af61f484 continue drawing frames and don't skip until CPU usage hits 100 percent 2021-08-03 23:58:49 +02:00
Konrad Beckmann
5e9d24ffa5 makefile: Print toolchain variables in help 2021-08-03 23:55:28 +02:00
Konrad Beckmann
ca1c68d0e9 Update submodule 2021-08-03 23:18:20 +02:00
Konrad Beckmann
2817336939 gw_flash: Add a default status poll timeout of 1s
Erase operations will be allowed to run forever.
2021-08-03 20:19:34 +02:00
Konrad Beckmann
399acf57f4 makefile: Print config variables in make help 2021-08-03 20:10:48 +02:00
Konrad Beckmann
bff9f57216 makefile: Reset device in reset_dbgmcu 2021-08-03 20:10:32 +02:00
Konrad Beckmann
ade7cb6fc5 New flash driver and integrated loader 2021-08-03 17:06:54 +02:00
Brian Pugh
1541393509 Long hold pause/set to toggle speedup (#114)
* nes long hold pause/set to toggle speedup

* refactor nes common emu loop; need to fix busyTime

* move odroid_system_tick into common loop, fix cpumon

* nes common_emu_loop

* pce common_emu_loop

* sms common_emu_loop

* fix some warnings

* setup pause/set macros; remove speedup based on long-pressing pause/set

* Update readme. Initial Controls section commit

* linting

* mute while macro save-stating
2021-07-29 20:20:55 +02:00
Brian Pugh
0403b679cb change pce pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
88c8df2492 change sms pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1dedf5986a change gb pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1925bcccb5 change nes pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
836db3157c Have NES use joystick abstraction (matching other emus) rather than directly reading raw gnw buttons 2021-07-25 09:17:38 +02:00
Brian Pugh
2d166d5cb0 Save state and poweroff when power is pressed when in-menu (#112) 2021-07-24 18:12:08 +02:00
Brian Pugh
b6bbe8e2bb Add 0.5x, 0.75x, 1.25x and 1.5x speed options (#111)
* fix GB speedup, add 1.25x and 1.5x options

* Add options for 0.5x and 0.75x in gb

* nes speedup

* pce speedup

* sms speedup

Closes #110
Closes #56
2021-07-21 08:23:46 +02:00
Konrad Beckmann
8276c2d607 Update submodule 2021-07-21 08:15:45 +02:00
Konrad Beckmann
3dce00d594 vscode: Add c_cpp_properties.json 2021-07-19 11:02:16 +02:00
Konrad Beckmann
5ccd71eae8 Update submodule
linux/gb: Fix size calculation of compressed area for linux
change uint32_t to size_t
2021-07-19 10:20:42 +02:00
Konrad Beckmann
f4730eb1eb linux/gb: Don't include a period in the rom extension 2021-07-15 23:18:27 +02:00
Konrad Beckmann
0f7ed40544 linux/gb: Initialize joystick struct 2021-07-15 23:08:47 +02:00
Brian Pugh
9d35031e69 replace zopfli with zlib until decompression bug is resolved 2021-07-15 20:05:50 +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
Konrad Beckmann
e7f2e7cf86 scripts: Disable debug based on RESET_DBGMCU 2021-07-13 19:25:30 +02:00