Remove fields from BPB that are EBPB actually

This is just a trick so i can use bpb_size in the kernel later,
omitting things that are not relevant to interfacing the FS.
This commit is contained in:
Nero 2020-10-15 20:20:17 +00:00
parent 7b18c6d236
commit ca3eebd692
2 changed files with 2 additions and 6 deletions

View file

@ -75,7 +75,7 @@ read: push ax
; dl bit 6-7: cylinder bits 8-9
mov cx, dx
mov dh, al
mov dl, [bp+bpb.drivenum]
mov dl, [bp-1]
mov ax, 0x0201
mov bx, di
@ -128,7 +128,7 @@ resetbuf: ; DS = ES
ret
main: mov bp, params
mov [bp+bpb.drivenum], dl
mov [bp-1], dl
; load root directory
call resetbuf