StupidOS/boot/common/const.inc
d0p1 🏳️‍⚧️ 74e09f7b33
Some checks are pending
Build / test (push) Waiting to run
Docs / test (push) Waiting to run
refactor: reorganize bootloader source code
2024-03-24 09:03:03 +01:00

16 lines
291 B
HTML

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