From f2657fdc01eb79a950597c4da09e66ec1c80980d Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Thu, 4 Sep 2025 19:59:36 -0400 Subject: [PATCH] seems I found a /little/ oopsie in the fat32 system --- include/fat32/FAT32_SYS.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fat32/FAT32_SYS.inc b/include/fat32/FAT32_SYS.inc index c89da58..2a498d7 100644 --- a/include/fat32/FAT32_SYS.inc +++ b/include/fat32/FAT32_SYS.inc @@ -32,7 +32,7 @@ InitFATDriver: mov ax, fat32_state push ax ; address of structure call kmemset - sub sp, 0x6 + add sp, 0x6 .calc_active_part: mov ax, word [partition_offset] @@ -221,7 +221,7 @@ NextCluster: mov ax, fat32_nc_data push ax ; address of structure call kmemset - sub sp, 0x6 + add sp, 0x6 mov edx, dword [bp + 4] mov si, fat32_nc_data ; instead of push/pop and moving the data back