Kernel: Fix segmenting bugs

This commit is contained in:
Nero 2021-04-20 16:27:10 +00:00
parent 39a1ed085c
commit d9affa3cae
3 changed files with 23 additions and 2 deletions

View file

@ -23,15 +23,20 @@ init: call rstseg
call rstseg
mov dx, testdta
push ds
call norm
call setdta
pop ds
mov dx, testfcb
call norm
call open
int 3
call read
mov ax, [cs:testdta]
mov cx, [cs:testdta+2]
int 3
hlt: hlt