vintagepc / MINI404

Like MK404... with an appendectomy :smile: (Simulates MK3.x, MK4, MINI and XL)
https://vintagepc.github.io/MINI404/
Other
26 stars 8 forks source link

[BUG] EEPROM is cause of slow/hung boot #151

Closed vintagepc closed 6 months ago

vintagepc commented 6 months ago

Finding: deleting the EEPROM bin files seems to cause the simulator to not "hang" for ~30 seconds on startup.

Find out why the EEPROM presence adds so much boot time.

vintagepc commented 6 months ago

Appears to be caused by config_store().load_all(); and normal behaviour, this function just doesn't emulate well as it calls a lot of HAL_DELAYs. Likely similar reasoning to the slowness of the AT21 eeprom reads.