This repository has been archived on 2024-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
potatOS-pro/bootloader/x86_64/config.asm

19 lines
230 B
NASM

SECTION .text
USE16
align 512, db 0
config:
.xres: dw 1024
.yres: dw 768
times 512 - ($ - config) db 0
save_config:
mov eax, (config - boot) / 512
mov bx, config
mov cx, 1
xor dx, dx
call store
ret