Changeset 276 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Feb 28, 2012, 2:21:03 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Changed version number to 2.0.0
  • Block will no longer be enabled if it is forced off using configurator.
  • Implemented non-working feature to disable drive internal write cache.
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/IdeRegisters.inc

    r158 r276  
    8181
    8282
     83; Subcommands for COMMAND_SET_FEATURES
     84FEATURE_ENABLE_WRITE_CACHE              EQU     02h
     85FEATURE_DISABLE_WRITE_CACHE             EQU     82h     ; Can also be used to flush cache
     86
     87
    8388%endif ; IDEREGISTERS_INC
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r261 r276  
    108108
    109109; 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
     110MASK_DRVPARAMS_WRITECACHE   EQU (3<<0)  ; Drive internal write cache settings (must start at bit 0)
     111FLG_DRVPARAMS_BLOCKMODE     EQU (1<<2)  ; Enable Block mode transfers
     112FLG_DRVPARAMS_USERCHS       EQU (1<<3)  ; User specified P-CHS values
     113FLG_DRVPARAMS_USERLBA       EQU (1<<4)  ; User specified LBA values
     114
     115; Drive Write Cache values for DRVPARAMS.wFlags.MASK_DRVPARAMS_WRITECACHE
     116DEFAULT_WRITE_CACHE         EQU 0       ; Must be 0
     117DISABLE_WRITE_CACHE         EQU 1
     118ENABLE_WRITE_CACHE          EQU 2
     119
     120
    113121
    114122;
Note: See TracChangeset for help on using the changeset viewer.