redox/bootloader/x86_64/config.asm

19 lines
230 B
NASM
Raw Normal View History

2016-10-19 01:04:06 +02:00
SECTION .text
USE16
align 512, db 0
config:
2016-10-20 20:53:36 +02:00
.xres: dw 1024
.yres: dw 768
2016-10-19 01:04:06 +02:00
times 512 - ($ - config) db 0
save_config:
mov eax, (config - boot) / 512
mov bx, config
mov cx, 1
xor dx, dx
call store
ret