kbeckmann / game-and-watch-retro-go

Emulator collection for Nintendo® Game & Watch™
GNU General Public License v2.0
440 stars 133 forks source link

Use external 32.728kHz crystal (RCC_LSE) for RTC #115

Closed kbeckmann closed 3 years ago

kbeckmann commented 3 years ago

Optionally make it compatible with the original firmware in case the OFW is used. Could perhaps look for a magic value in RAM and not re-initialize the RTC or something like that.

northskysl commented 3 years ago

This has been implemented in the STM32 RTC patchset that was merged to 'main. The patchset does not reset time, so I would assume that if time is set in the OFW it will remain the same in the retro-go as well.