rdos/com/@rdos.asm

33 lines
389 B
NASM

org 0x100
jmp init
%defstr V VERSION
banner: db "RDOS KERNEL ", V, 0x0A, 0x0D, '$', 0x1A
%include "kernel/far.asm"
%include "kernel/char.asm"
%include "kernel/drive.asm"
%include "kernel/fat.asm"
section .text
init: call rstseg
call dinit
mov dx, banner
call puts
mov dl, 0
call select
mov dx, 3
call setclus
call rdfat
mov dx, bx
inc dx
call wdfat
hlt: hlt
jmp hlt