Kernel: Fix segmenting bugs
This commit is contained in:
parent
39a1ed085c
commit
d9affa3cae
3 changed files with 23 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue