StupidOS/boot/common/const.inc

20 lines
376 B
HTML

CR = 0x0D
LF = 0x0A
; -------- Address ----------
MBR_BASE = 0x0600
BOOTSECT_BASE = 0x7C00
LOADER_BASE = 0x1000
MULTIBOOT_BASE = 0x100000
DISK_BUFFER = 0x8000
KERNEL_PRELOAD = 0xF000
STACK_TOP = 0x7000
; ---------- Magic ------------
STPDBOOT_MAGIC = 0x53545044
; ---------- Video ------------
VIDEO_WIDTH = 1024
VIDEO_HEIGHT = 768
VIDEO_DEPTH = 32