mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-11-29 13:32:15 +03:00
fixet bug with small partitions. Some small fixes
This commit is contained in:
1 parent
201fa03a29
commit
6af1575f2b
9 files changed
+88
-101
No files matched your search
+2
-2
@@ -790,7 +790,7 @@ RD_BPB: ; LD C,SLOT3
|
||||
RLA
|
||||
;
|
||||
LD C,A
|
||||
LD B,0 ; BC - File handels in sectors
|
||||
LD B,0 ; BC - File handels per sector
|
||||
;;;;
|
||||
IF COMPILE_UNUSED_CODE
|
||||
LD (CORE_BUFFERS.FatBuffer.FilesPerSector),A
|
||||
@@ -861,9 +861,9 @@ RD_BPB: ; LD C,SLOT3
|
||||
LD HL,(CORE_BUFFERS.SECTOR_BUFFER + BOOT_SECTOR.SectorsPerDrive)
|
||||
LD A,H
|
||||
OR L
|
||||
LD DE,(CORE_BUFFERS.FatBuffer.FirstDataSector_L)
|
||||
JP NZ,.HDDSMAL
|
||||
;
|
||||
LD DE,(CORE_BUFFERS.FatBuffer.FirstDataSector_L)
|
||||
EXX
|
||||
LD HL,(CORE_BUFFERS.SECTOR_BUFFER + BOOT_SECTOR.BPB_BIG_TOTAL_SECTORS_H)
|
||||
PUSH HL ; Total Sectors high
|
||||
|
||||
Reference in new issue
Block a user