Skip to content

[MEGAFLASH] Persistent core boot slot #938

Description

@lydon42

The idea is to provide a way to store the core boot slot (perhaps on a special key press) in a way so that on a consecutive boot this slot will be selected as the default slot.

The SD card might be to slow for this (could make the startup time longer, we don't want that), so we need a different place.

There is still the persistent RAM in the RTC. Both on-board models do have at least 16 byte. So one could try to use those.

  • determine default state of RAM after RTC has no power (need to know to determine if a slot was set)
  • add keypress or toggle that will trigger the storage of the slot on selection
  • store info with guard byte in RTC
  • start slot
  • on new startup: change default slot determination to read RTC ram for stored slot

To discuss:

  • which keys?
  • how to store?
  • does cartridge detection still override persistent slot?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions