27 lines
1.0 KiB
PHP
27 lines
1.0 KiB
PHP
|
|
%define VERSION "0.13" ;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 0x106000 ;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_VESA_INFO 0x0306 ;256 - copy of VESA ModeInfoBlock for selected mode
|
|
%define BOOT_MEMENTRIES 0x040A ;4 - dword = number of memmap entries
|
|
%define BOOT_MEMMAP 0x2000 ;? - memory map information
|
|
|
|
|
|
|
|
%define BOOT_DRIVE 0x7C24 ;1 - boot drive
|
|
|
|
|