Commit Graph

481 Commits

Author SHA1 Message Date
Brian Pugh
2ac8ff2e17 extflash_erase target (#143)
* extflash_erase target

* cleanup extflash_erase target script per PR comments

* remove verbosity in extflash_erase.sh

* fix syntax error in extflash_erase.sh. added flash_intflash as target dependency
2021-09-06 18:41:46 +02:00
Konrad Beckmann
823b4ea41e Name variables more accurately
FLASHAPP = scripts/flashapp.sh
FLASH_MULTI = scripts/flash_multi.sh
2021-09-06 18:34:27 +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
b9c0414f93 readme: Add note about unlocking before changing the external flash 2021-09-05 16:29:09 +02:00
Christian Unhold
38dcc2dc0e makefile: add COMPRESS to help 2021-09-03 22:47:00 +02:00
Christian Unhold
e4011d8bf9 flashapp: 64-bit percent calculation
This avoids an overflow with big progress values.
Previously, the Flash erase percentage was jumping back to 0%
after 41 MiB erased.
2021-09-03 22:47:00 +02:00
Konrad Beckmann
28130acd8f Add NULL-checks for load and save state functions
Fixes a bug where it would crash if the power button is pressed
while an overlay is active in the ROM selection menu.
2021-09-01 15:33:46 +02:00
unhold
54275de64e flashapp: 64-bit progress calculation (#145)
This avoids an overflow with big progress values.
Previously, the Flash erase status bar was jumping back to start
after every 16 MiB erased.
2021-08-31 22:36:07 +02:00
unhold
67312e82bf gw_flash: Add MX25U51245G-54 (#144) 2021-08-27 09:52:59 +02:00
Konrad Beckmann
bfaaff6b50 ci: Enable CI for PRs 2021-08-25 17:48:07 +02:00
Konrad Beckmann
f8ae6ee682 Remove accidentally added submodule 2021-08-25 17:44:11 +02:00
Brian Pugh
c1cddb4769 Increase number of brightness levels to 10 (#141) 2021-08-25 17:42:06 +02:00
Konrad Beckmann
ef7cc2d09e Update submodule 2021-08-25 17:41:42 +02:00
bzhxx
f80ef35fc4 Fix G&W keys abstraction issue #130 (#138)
Closes #130
2021-08-22 23:03:03 +02:00
Konrad Beckmann
ac73c47398 makefile: Use /usr/bin/env 2021-08-18 11:29:10 +02:00
Konrad Beckmann
c8b3e3955f makefile: Improve error messages for toolchain detection 2021-08-18 11:23:53 +02:00
Brian Pugh
278616969e fix savestates from saving/loading from the wrong location when __EXFLASH_OFFSET__ is specified (#136) 2021-08-17 20:13:39 +02:00
bzhxx
7ba5232828 add gw to saves restore script (#135) 2021-08-16 21:12:04 +02:00
bzhxx
48a30f75f0 add gw to save backup script (#134) 2021-08-16 21:11:52 +02:00
viral_dna
1bc9ff8e5d Add gw to list of supported emulators (#133) 2021-08-16 10:25:49 +02:00
Brian Pugh
dbc2253023 Working Bank2 Flashapp (#131)
* set intflash address when programming

* Allow flashapp to work when flashing bank 2

* update readme

* Add tim bootloader SRAM magic-byte

* move boot stuff around to more appropriate locations
2021-08-15 21:42:57 +02:00
viral_dna
4a303e492c readme: Add missing make option (#132) 2021-08-15 21:41:25 +02:00
Konrad Beckmann
8a641f844a Add EXTFLASH_FORCE_SPI to force legacy SPI mode for the flash driver 2021-08-15 02:22: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
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