%define VERSION "0.1.2" ;HOS version %define BOOT_FAT_SEG 0x07E0 ;right after boot sector %define BOOT_ROOT_SEG 0x0900 ;right after FAT %define BOOT_KERNEL_SEG 0x0AC0 ;right after ROOT_DIR %define BOOT_STAGE2_SEG 0x0B00 ;right after KERNEL_SEG %define BOOT_STAGE2_ADD 0xB000 ;address of stage2 to jump to, org at %define BOOT_KERNEL_ADD 0x100000 ;final pmode kernel destination - physical %define BOOT_RD_ADD 0x200000 ;2mb for ram disk %define BOOT_DATA_SEG 0x9000 ;data gathered by stage2 loader goes here %define BOOT_HASRD 0x0000 ;1 %define BOOT_VESA 0x0002 ;2 - 0 for console, otherwise VESA mode %define BOOT_VESA_OEM 0x0004 ;258 - null-terminated OEM identification string %define BOOT_VESA_VBE 0x0106 ;512 - copy of VESA VBEInfoBlock %define BOOT_ 0x0306 %define BOOT_DRIVE 0x7C24 ;1 - boot drive