Skip to content

reimplement stage1 changes#552

Merged
Mintsuki merged 3 commits intoLimine-Bootloader:no-llmfrom
lukflug:no-llm
Apr 14, 2026
Merged

reimplement stage1 changes#552
Mintsuki merged 3 commits intoLimine-Bootloader:no-llmfrom
lukflug:no-llm

Conversation

@lukflug
Copy link
Copy Markdown
Contributor

@lukflug lukflug commented Apr 14, 2026

This PR reimplements three bugfixes in the stage1 disk_read routine:

  • bytes per sector is stored in bp, but ebp is sometimes used instead, so the upper word should be set to zero
  • correctly handle 64-bit logical block addresses
  • fix stack imbalance if int 13h fails

I also cherry-picked a commit by Mint that they told me was written by hand, which rearranges some bytes so that the boot sector size limitations are still respected.

@Mintsuki Mintsuki merged commit 81bde9e into Limine-Bootloader:no-llm Apr 14, 2026
1 of 2 checks 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.

2 participants