Changeset 363 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/IDE_8bit.inc


Ignore:
Timestamp:
Mar 26, 2012, 4:20:43 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Added Advanced ATA Module (MODULE_ADVANCED_ATA) with native support for QDI Vision QD6500 and QD6580 VLB IDE Controllers.
  • Hopefully optimized IDE transfer functions for 8088 (replaced some memory accesses from WORD to BYTE).
  • XT build does not fit in 8k at the moment!!!
File:
1 edited

Legend:

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

    r152 r363  
    44%ifndef IDE_8BIT_INC
    55%define IDE_8BIT_INC
     6
     7;--------------------------------------------------------------------
     8; UNROLL_SECTORS_IN_CX_TO_QWORDS
     9;   Parameters:
     10;       CX:     Number of sectors in block
     11;   Returns:
     12;       CX:     Number of QWORDs in block
     13;   Corrupts registers:
     14;       Nothing
     15;--------------------------------------------------------------------
     16%macro UNROLL_SECTORS_IN_CX_TO_QWORDS 0
     17%ifdef USE_186
     18    shl     cx, 6
     19%else
     20    xchg    cl, ch      ; Sectors to WORDs (SHL CX, 8)
     21    shr     cx, 1
     22    shr     cx, 1
     23%endif
     24%endmacro
     25
    626
    727;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.