flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > What arguments are provided when leaving MBR and entering |
Author |
|
l4m2 01 Apr 2019, 12:46
What arguments are provided when leaving MBR and entering PBR?
|
|||
01 Apr 2019, 12:46 |
|
DimonSoft 03 Apr 2019, 10:59
AFAIR, the PBR code should be loaded to the physical address 7C000 and DL should contain the BIOS drive number for int 13h services, real mode is also expected. Everything else may be different since even BIOS’s themselves don’t give any guarantees except those I’ve just mentioned.
|
|||
03 Apr 2019, 10:59 |
|
revolution 03 Apr 2019, 11:16
DimonSoft: Do you mean the MBR (not the PBR)? Since the BIOS will load the MBR and run it. After that everything is up to the user.
Actually I'm not sure what a PBR even is, I just assumed it was some code loaded by a custom MBR. |
|||
03 Apr 2019, 11:16 |
|
guignol 03 Apr 2019, 12:52
Partition Boot Record
(but at first I thought about pokemon too) |
|||
03 Apr 2019, 12:52 |
|
DimonSoft 03 Apr 2019, 21:55
revolution wrote: DimonSoft: Do you mean the MBR (not the PBR)? Since the BIOS will load the MBR and run it. After that everything is up to the user. I consider PBR acronym to mean Partition Boot Record (aka VBR, Volume Boot Record). And, again AFAIR, PBR is usually written with the same expectations as MBR since the whole idea is the same, with the single difference that MBR contains partition table somewhere near the end of the boot sector. It makes sense to reuse the conditions for both instead of inventing something new. --- More info can be found here, it seems my memory served me quite well: https://wiki.osdev.org/MBR_(x86) |
|||
03 Apr 2019, 21:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.