Changeset 472 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Oct 2, 2012, 6:28:46 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc
r471 r472 58 58 59 59 ;-------------------------------------------------------------------- 60 ; IS_XTCF_IN_PORT_CX61 ; Parameters:62 ; CX: Port to search XT-CF from (can be anything)63 ; Returns:64 ; AH: RET_HD_SUCCESS if XT-CF is found from port65 ; RET_HD_INVALID if XT-CF is not found66 ;--------------------------------------------------------------------67 IS_XTCF_IN_PORT_CX EQU 168 69 ;--------------------------------------------------------------------70 60 ; READ_XTCF_CONTROL_REGISTER_TO_DH 71 61 ; Parameters: … … 74 64 ; DH: XT-CF Control Register contents 75 65 ;-------------------------------------------------------------------- 76 READ_XTCF_CONTROL_REGISTER_TO_DH EQU 266 READ_XTCF_CONTROL_REGISTER_TO_DH EQU 1 77 67 78 68 ;-------------------------------------------------------------------- … … 82 72 ; DL: Drive Number 83 73 ;-------------------------------------------------------------------- 84 WRITE_DH_TO_XTCF_CONTROL_REGISTER EQU 374 WRITE_DH_TO_XTCF_CONTROL_REGISTER EQU 2 85 75 86 76 -
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r437 r472 23 23 24 24 ; Base DPT for all device types 25 struc DPT ; 10 or 18 bytes26 ; General Disk Parameter Table related 25 struc DPT 26 ; General Disk Parameter Table related (Bytes 0...3) 27 27 .wFlags: 28 28 .bFlagsLow resb 1 … … 31 31 .bInitError resb 1 ; Flags for AH=09h initialization errors 32 32 33 ; CHS variables 33 ; CHS variables (Bytes 4...8) 34 34 .wLchsCylinders resb 2 ; (1...1027, yes 1027) 35 35 .wLchsHeadsAndSectors: … … 43 43 .wPchsCylinders resb 2 44 44 .twLbaSectors resb 6 ; 48-bit sector count for LBA addressing 45 %else46 resb 1 ; Alignment47 45 %endif 46 47 %ifdef MODULE_8BIT_IDE 48 .wXTCFport resb 2 ; Autodetected XT-CF port 49 %endif 50 alignb 2 ; WORD alignent for DPT_SERIAL or DPT_ATA 48 51 endstruc 49 52 … … 115 118 .wMinPioCycleTime resb 2 ; Minimum PIO Cycle Time in ns 116 119 .bPioMode resb 1 ; Best supported PIO mode 117 resb 1120 alignb 2 118 121 endstruc 119 122 %endif
Note:
See TracChangeset
for help on using the changeset viewer.