diff --git a/constants/dss_equ.inc b/constants/dss_equ.inc index dbe9c0f..f644d97 100644 --- a/constants/dss_equ.inc +++ b/constants/dss_equ.inc @@ -1,5 +1,6 @@ ;[Вызов функций DSS]-------------------- ToDSS EQU #10 +.DRV EQU #18 ;--------------------------------------- ;---[Буфер под служебную строку DSS]---- @@ -153,7 +154,20 @@ Dss: .CTRLPRN EQU #5E .Print EQU #5F ;--------------------------------------- -; +.DRV.Init EQU #00 +.DRV.Open EQU #01 +.DRV.Close EQU #02 +.DRV.MediaCheck EQU #03 +.DRV.GetBPB EQU #04 +.DRV.Read EQU #05 +.DRV.Write EQU #06 +.DRV.Removable EQU #07 +.DRV.GenIOCTL EQU #08 + ;.DRV.Reserved EQU #09 +.DRV.LongRead EQU #10 +.DRV.LongWrite EQU #11 + + ; ;------------[Video modes]-------------- diff --git a/structures/FileSystem.inc b/structures/FileSystem.inc index 30c7ad2..2372496 100644 --- a/structures/FileSystem.inc +++ b/structures/FileSystem.inc @@ -18,7 +18,7 @@ .BPB_PHISICAL_DRIVE_NUMBER: WORD #80 ; +#24 PHISICAL DRIVE NUMBER .BPB_EXT_BOOT_RECORD_SIGNATURE: BYTE #29 ; +#26 EXTENDED BOOT RECORD SIGNATURE .BPB_SERIAL_NUMBER: DWORD 0 ; +#27 VOLUME SERIAL NUMBER -.BPB_LABEL: TEXT 8,{"NO NAME"," "} ; +#2B DISK LABEL +.BPB_LABEL: TEXT 11,{"NO NAME"," "} ; +#2B DISK LABEL .ID_FAT: TEXT 8,{"FAT16"," "} ; +#36 FILE SYSTEM ID ( BPB_FS_ID ) ENDS ; \ No newline at end of file