refactoring

This commit is contained in:
Anatoliy Belyanskiy 2023-07-03 23:04:03 +10:00
parent 6e9cb7fd96
commit ced877c153
2 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,6 @@
;[‚ë§®¢ ä㭪権 DSS]--------------------
ToDSS EQU #10
.DRV EQU #18
;---------------------------------------
;---[<EFBFBD>ãä¥à ¯®¤ á«ã¦¥¡­ãî áâபã 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]--------------

View File

@ -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
;