Implement calculation for FAT position
This commit is contained in:
parent
2cb39a4ff1
commit
1b42f1a480
2 changed files with 71 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
; stack size
|
||||
%define stacks 512
|
||||
|
||||
banner: db "rdos", 0xA, 0xD, '$'
|
||||
banner: db "rdos loaded", 0xA, 0xD, '$'
|
||||
|
||||
; Alias for Int 21h,AH=0h
|
||||
int20h: xor ah, ah
|
||||
|
@ -194,6 +194,7 @@ fputc: push ax
|
|||
iret
|
||||
|
||||
%include "kernel/diskio.asm"
|
||||
%include "kernel/fat.asm"
|
||||
|
||||
vects: dw int20h, int21h, retf, retf
|
||||
dw retf, retf, retf, int20h
|
||||
|
@ -224,6 +225,7 @@ intlp: movsw
|
|||
call dnconv
|
||||
mov al, dl
|
||||
call select
|
||||
call load_bpb
|
||||
|
||||
loop: int 0x28
|
||||
jmp loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue