mirror of
https://github.com/Tolik-Trek/Shared_Includes.git
synced 2026-06-15 17:11:33 +03:00
...
This commit is contained in:
parent
785b2adeb8
commit
53e49fa3cc
@ -598,6 +598,10 @@ SYS_PAGE EQU #FE
|
|||||||
|
|
||||||
|
|
||||||
.USER_VARS EQU #F018 ; ¯¥à¥¬¥ë¥ ¯®«ì§®¢ ⥫ï
|
.USER_VARS EQU #F018 ; ¯¥à¥¬¥ë¥ ¯®«ì§®¢ ⥫ï
|
||||||
|
.RAM_ATAPI_PK EQU #FEE0; - #FEEC
|
||||||
|
;!TODO EQU #FEED - #FEEF
|
||||||
|
.RAM_ATAPI_READ EQU #FEF0; - #FEFC
|
||||||
|
;!TODO EQU #FEFD - #FEFF
|
||||||
.CMOS_EMULATOR EQU #FF00
|
.CMOS_EMULATOR EQU #FF00
|
||||||
.USER_VARS_2 EQU .CMOS_EMULATOR + CMOS.MAX_ADDRESS + 1
|
.USER_VARS_2 EQU .CMOS_EMULATOR + CMOS.MAX_ADDRESS + 1
|
||||||
;------------[ OLD ]-------------;
|
;------------[ OLD ]-------------;
|
||||||
@ -1576,24 +1580,24 @@ INIT_TBL_IDE2 HDD_INIT_TABLE = SYS_PAGE.IDE_2 ; !HARDC
|
|||||||
INIT_TBL_IDE3 HDD_INIT_TABLE = SYS_PAGE.IDE_3 ; !HARDCODE table in SYS_PAGE
|
INIT_TBL_IDE3 HDD_INIT_TABLE = SYS_PAGE.IDE_3 ; !HARDCODE table in SYS_PAGE
|
||||||
|
|
||||||
Write:
|
Write:
|
||||||
.DriveCtrl EQU #4152 ; HDW_DRV P_HD_CS ; #1F6 Drive Control
|
.DriveCtrl EQU #4152 ; HDW_DRV P_HD_CS - #1F6 Drive Control
|
||||||
.Command EQU #4153 ; HDW_COM P_CMD ; #1F7 Command
|
.Command EQU #4153 ; HDW_COM P_CMD - #1F7 Command
|
||||||
.Data EQU #0150 ; HDW_DAT W170 ; #1F0 Data
|
.Data EQU #0150 ; HDW_DAT W170 - #1F0 Data
|
||||||
.Error EQU #0151 ; HDW_ERR W171 ; #1F1 Error
|
.Error EQU #0151 ; HDW_ERR W171 - #1F1 Error
|
||||||
.Counter EQU #0152 ; HDW_CNT P_S_CNT W172 ; #1F2 Counter
|
.Counter EQU #0152 ; HDW_CNT P_S_CNT W172 - #1F2 Counter
|
||||||
.Sector EQU #0153 ; HDW_SEC P_S_NUM W173 ; #1F3 Sector
|
.Sector EQU #0153 ; HDW_SEC P_S_NUM W173 - #1F3 Sector
|
||||||
.CylinderLow EQU #0154 ; HDW_CLL P_C_LOW W174 ; #1F4 Cylinder Low
|
.CylinderLow EQU #0154 ; HDW_CLL P_C_LOW W174 - #1F4 Cylinder Low
|
||||||
.CylinderHigh EQU #0155 ; HDW_CLH P_C_HIG W175 ; #1F5 Cylinder High
|
.CylinderHigh EQU #0155 ; HDW_CLH P_C_HIG W175 - #1F5 Cylinder High
|
||||||
|
|
||||||
Read:
|
Read:
|
||||||
.Control EQU #4052 ; HDR_DRV R176 ; #1F6 Drive Control
|
.Control EQU #4052 ; HDR_DRV R176 - #1F6 Drive Control
|
||||||
.Status EQU #4053 ; HDR_CTL P_HDST R177 ; #1F7 Status (Control)
|
.Status EQU #4053 ; HDR_CTL P_HDST R177 - #1F7 Status (Control)
|
||||||
.Data EQU #0050 ; HDR_DAT P_DATS R170 ; #1F0 Data
|
.Data EQU #0050 ; HDR_DAT P_DATS R170 - #1F0 Data
|
||||||
.Error EQU #0051 ; HDR_ERR P_ERR R171 ; #1F1 Error
|
.Error EQU #0051 ; HDR_ERR P_ERR R171 - #1F1 Error
|
||||||
.Counter EQU #0052 ; HDR_CNT R172 ; #1F2 Counter
|
.Counter EQU #0052 ; HDR_CNT R172 - #1F2 Counter
|
||||||
.Sector EQU #0053 ; HDR_SEC R173 ; #1F3 Sector
|
.Sector EQU #0053 ; HDR_SEC R173 - #1F3 Sector
|
||||||
.CylinderLow EQU #0054 ; HDR_CLL R174 ; #1F4 Cylinder Low
|
.CylinderLow EQU #0054 ; HDR_CLL R174 - #1F4 Cylinder Low
|
||||||
.CylinderHigh EQU #0055 ; HDR_CLH R175 ; #1F5 Cylinder High
|
.CylinderHigh EQU #0055 ; HDR_CLH R175 - #1F5 Cylinder High
|
||||||
|
|
||||||
ControlBit: ; Bits for HardDrive.Read.Status
|
ControlBit: ; Bits for HardDrive.Read.Status
|
||||||
.Busy EQU 7 ; BSY
|
.Busy EQU 7 ; BSY
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user