BOOT: bug fixes

This commit is contained in:
Anatoliy Belyanskiy committed 2024-06-02 18:43:36 +10:00
1 parent 4b564101d1
commit 83bfcf7cdd
12 files changed
+850 -323

No files matched your search

+3 -3
View File
@@ -769,9 +769,9 @@ RD_BPB: ; LD C,SLOT3
LD C,A
LD B,0 ; BC - File handels in sectors
;;;;
IF COMPILE_UNUSED_CODE
LD (CORE_BUFFERS.FatBuffer.FilesPerSector),A
ENDIF
IF COMPILE_UNUSED_CODE
LD (CORE_BUFFERS.FatBuffer.FilesPerSector),A
ENDIF
;
EX DE,HL
LD HL,(CORE_BUFFERS.SECTOR_BUFFER + BOOT_SECTOR.FilesInRootDIR) ; 0 for fat32
+1 -1
View File
@@ -97,7 +97,7 @@
.FirstDataSector_H: WORD #0000 ; MSD_DAT_SEC high
.BytesPerCluster: WORD #0000 ; CLUSTER_LEN
.END_CHAIN_CLUSTER_L: WORD #FFFF
.END_CHAIN_CLUSTER_H: WORD #0FFF ; [ ] fat3
.END_CHAIN_CLUSTER_H: WORD #0FFF
.MaxClusterLow: WORD #0000 ; ¬ ªá. ç¨á«® ª« áâ¥à®¢ (¡¥§ á«ã¦.)
.MaxClusterHigh: WORD #0000 ; ¬ ªá. ç¨á«® ª« áâ¥à®¢ (¡¥§ á«ã¦.)
.BytesPerSector WORD #0000
+1 -1
View File
@@ -1 +1 @@
986
987