18 lines
620 B
PHP
18 lines
620 B
PHP
|
|
%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_DATA_SEG 0x9000 ;data gathered by stage2 loader goes here
|
|
|
|
%define BOOT_HASRD 0x0000 ;1
|
|
|
|
|
|
%define BOOT_RD_ADD 0x200000 ;2mb for ram disk
|
|
%define BOOT_DRIVE 0x7C24 ;1 - boot drive
|