mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Stop planting hekate's watchdog cookie in IRAM
The emulator wrote hekate's "watchdog fired" magic (0x544457 at 0x4003FF18) before every boot. hekate then took its post-watchdog path and skipped LP0 and Minerva, because the EMC could not support DRAM training. It can now, so the cookie only made the boot differ from hardware, and it never covered Nyx, which trains the DRAM itself when it finds Minerva uninitialised. With the cookie gone, hekate's IPL saves the LP0 SDRAM config and trains 204, 800 and 1600 MHz itself, and Nyx takes over the trained context. An SD image without bootloader/sys now gets hekate's real "Missing LP0/Minerva lib" screen, which waits for a key press. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YYewwDPujjo5B2xRyC5Grb
This commit is contained in:
3 files changed
+22
-39
No files matched your search
@@ -642,7 +642,7 @@ bool sdl_display_poll_events(EmuState *state, uc_engine *uc) {
|
||||
case SDLK_r: {
|
||||
if (!ctrl) {
|
||||
// Plain R: soft reboot. Same path as the config window's "Reboot"
|
||||
// button — re-prime IRAM payload + WDT cookie, wipe DRAM, reset PC.
|
||||
// button — reload the payload into IRAM, wipe DRAM, reset PC.
|
||||
state->reboot_cold = true; // the user's reset is a power cycle
|
||||
state->reboot_requested = true;
|
||||
printf("[diag] Reboot requested (R)\n");
|
||||
|
||||
Reference in new issue
Block a user