Changeset 276 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Feb 28, 2012, 2:21:03 PM (13 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/IdeRegisters.inc
r158 r276 81 81 82 82 83 ; Subcommands for COMMAND_SET_FEATURES 84 FEATURE_ENABLE_WRITE_CACHE EQU 02h 85 FEATURE_DISABLE_WRITE_CACHE EQU 82h ; Can also be used to flush cache 86 87 83 88 %endif ; IDEREGISTERS_INC -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r261 r276 108 108 109 109 ; Bit defines for DRVPARAMS.wFlags 110 FLG_DRVPARAMS_USERCHS EQU (1<<0) ; User specified P-CHS values 111 FLG_DRVPARAMS_BLOCKMODE EQU (1<<1) ; Enable Block mode transfers 112 FLG_DRVPARAMS_USERLBA EQU (1<<2) ; User specified LBA values 110 MASK_DRVPARAMS_WRITECACHE EQU (3<<0) ; Drive internal write cache settings (must start at bit 0) 111 FLG_DRVPARAMS_BLOCKMODE EQU (1<<2) ; Enable Block mode transfers 112 FLG_DRVPARAMS_USERCHS EQU (1<<3) ; User specified P-CHS values 113 FLG_DRVPARAMS_USERLBA EQU (1<<4) ; User specified LBA values 114 115 ; Drive Write Cache values for DRVPARAMS.wFlags.MASK_DRVPARAMS_WRITECACHE 116 DEFAULT_WRITE_CACHE EQU 0 ; Must be 0 117 DISABLE_WRITE_CACHE EQU 1 118 ENABLE_WRITE_CACHE EQU 2 119 120 113 121 114 122 ;
Note:
See TracChangeset
for help on using the changeset viewer.