MEGA65 / mega65-core

MEGA65 FPGA core
Other
238 stars 84 forks source link

Long delay before booting to open rom when no SD cards inserted. #713

Closed cybern0id closed 10 months ago

cybern0id commented 1 year ago

Test Environment (required)

Describe the bug Since release of development core build #6, when booting with no SD cards inserted, there is a not insignificant delay of approximately 60 seconds before the open rom is loaded. The status splash screen displays "Trying SDCARD BUS 0" as last message during the delay. Previous behaviour (in release 0.95 core) was to boot immediately to open rom. Likely a side-effect of the fix for issue https://github.com/MEGA65/mega65-core/issues/669

Screenshot 2023-06-21 at 17 30 33

To Reproduce Steps to reproduce the behavior:

  1. Remove all SD cards
  2. Boot any development or 683-cart core since develop build 6

Expected behavior No boot delay and immediate loading of open rom.

gurcei commented 11 months ago

I had a fix underway for this, on the fix_long_delay_to_openrom branch. Think I made progress with this, but will try revisit it soon to recall where I was at with it.

gurcei commented 11 months ago

Ok, have tested it on my m65 hardware:

In addition, I tweaked hyppo so that if there is an sd-card found, but no MEGA65.ROM image exists on it, it will boot to open-rom.

Prior behaviour was that this condition would cause the system to reset, which wasn't very useful. At least if an empty sd-card could boot to openrom, you're still in a good position to use mega65_ftp tool to populate the sd-card with any missing files like MEGA65.ROM.

Will make a PR for this.

gurcei commented 10 months ago

Ok, I've merged this into development branch, should be sorted now.