rdos/inc/mbr.asm

12 lines
429 B
NASM
Raw Normal View History

2020-05-02 23:57:23 +02:00
mbrtab: equ 0x1BE ; start of partition table
mbrsig: equ 0x1FE ; start of signature
mbrmn: equ 0x55AA ; signature value
pardn: equ 0x00 ; byte: partition active flag
parchs: equ 0x01 ; 3 bytes: CHS for first sector
partyp: equ 0x04 ; byte: partition type
parend: equ 0x05 ; 3 bytes: CHS for last sector
paroff: equ 0x08 ; dword: partition offset in sectors
parlen: equ 0x0C ; dword: partition length in sectors
parsiz: equ 0x10