From 5259fa8e6536fef08e0368248d7b4ddee5fb17d8 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Fri, 8 Dec 2023 08:12:50 -0800 Subject: [PATCH] Clear the carry flag, not the interrupt flag... --- sw/kernel/filesystems/fat32.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/kernel/filesystems/fat32.s b/sw/kernel/filesystems/fat32.s index b286dc8..9b62b85 100644 --- a/sw/kernel/filesystems/fat32.s +++ b/sw/kernel/filesystems/fat32.s @@ -85,7 +85,7 @@ L1: lda root_cluster_offs,x ; Add fat size to starting fat sector to get data start sector - cli + clc lda _fat_size adc _fat_start_sector sta _data_start_sector