core: fixed a bug for FAT32 with an unusually large FAT size and added another bug

This commit is contained in:
Tolik committed 2024-07-03 00:15:25 +10:00
1 parent 61de8fd9a0
commit 2ac8d1308a
8 files changed
+119 -69

No files matched your search

+3 -1
View File
@@ -83,11 +83,13 @@ cmd_info: CALL Get_Path
POP BC
PUSH BC
LD A,C
CP "C"
JR C,.ItIsFDD
LD DE,Dss.DRV.GenIOCTL.Enter
LD BC,Dss.DRV.GenIOCTL.GetParams
RST ToDSS.DRV ; !FIXIT ­¥ ¢®§¢à é ¥â à §¬¥à ᥪâ®à , ¯®í⮬ã å à¤ª®à ¯® 512
JR NC,.calc_size
;
.ItIsFDD: ;
LD HL,.Unknown_str
LD DE,Buffers.bat_params.PRM5 ; Drive size
CALL ncopy_string