Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MBR and GPT support #26

Merged
merged 4 commits into from
Dec 4, 2023
Merged

MBR and GPT support #26

merged 4 commits into from
Dec 4, 2023

Conversation

reinauer
Copy link
Member

  • Add support for MBR and GPT partitions
  • mounter: Factor out processing of PatchFlags
  • Support two filesystem slots

The exact same code is duplicated three times.
This change brings support for a second filesystem stored in the ROM
(if there's enough space)

The romfile code is fairly local so there was no point in keeping the
files around in a4091_save_t. Now the file state is kept locally in
init_romfiles() instead.

Since not all filesystem drivers contain a resident init structure, it
is now also possible to specify a DosType that is used to register the
filesystem in filesystem.resource.
After NULL terminating the drive names we have to also
consider the string lengths in the UI or we will see
NULL bytes in the output :)
@reinauer reinauer merged commit 4aedb46 into A4091:main Dec 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant