commit 280c5e9980ffaae136afbbcbec12daedd78d8946
parent f2059cf9fb0969e21776dcc0a104d3abe552644f
Author: Virgil Dupras <hsoft@hardcoded.net>
Date: Tue, 20 Jun 2023 17:02:56 -0400
fs/fatlo: alignment discipline
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/fs/fs/fatlo.fs b/fs/fs/fatlo.fs
@@ -65,7 +65,9 @@ sfieldb FATcnt
sfieldb rootentcntl
sfieldb rootentcnth
: rootentcnt bi rootentcnth 8 lshift | rootentcntl or ;
-sfieldw seccnt
+sfieldb seccntl
+sfieldb seccnth
+: seccnt bi seccnth 8 lshift | seccntl or ;
1 sallot
sfieldw FATsz \ in sectors
$18 const HDRSZ