StupidOS/boot/common/const.inc

20 lines
376 B
PHP
Raw Normal View History

2024-03-20 09:48:47 +00:00
CR = 0x0D
LF = 0x0A
; -------- Address ----------
2024-04-14 05:35:43 +00:00
MBR_BASE = 0x0600
BOOTSECT_BASE = 0x7C00
LOADER_BASE = 0x1000
2024-03-20 09:48:47 +00:00
MULTIBOOT_BASE = 0x100000
DISK_BUFFER = 0x8000
KERNEL_PRELOAD = 0xF000
STACK_TOP = 0x7000
2024-04-28 06:41:36 +00:00
; ---------- Magic ------------
STPDBOOT_MAGIC = 0x53545044
2024-03-20 09:48:47 +00:00
; ---------- Video ------------
VIDEO_WIDTH = 1024
VIDEO_HEIGHT = 768
VIDEO_DEPTH = 32