moved varibles passed from vbr to .data section

this is to work around having to save them without .bss ready
This commit is contained in:
2024-12-19 15:18:28 -05:00
parent 63a1a1beea
commit 37eb87239c
2 changed files with 38 additions and 33 deletions

View File

@@ -234,7 +234,7 @@ NextCluster:
mov dword [si + FAT32_NextClusterData_t.fat_sector], eax
.load_fat_table:
xor ax, ax
mov al, boot_drive
mov al, byte [boot_drive]
push ax
mov ax, 0x1
@@ -306,7 +306,7 @@ ReadFATCluster:
print_string ReadFATCluster_INFO_cstr
xor ax, ax
mov al, boot_drive
mov al, byte [boot_drive]
push ax
mov ax, 0x1 ; count = 1