Changeset 601 in xtideuniversalbios for trunk/Assembly_Library/Src/Util


Ignore:
Timestamp:
Feb 14, 2019, 7:38:08 PM (6 years ago)
Author:
Krister Nordvall
Message:

Changes:

  • Building the BIOS now works again.
  • Added a new IDE device type/transfer mode for use only with XT-IDE rev 2+ (or Chuck(G)-modded rev 1) cards installed in any of the following machines: Olivetti M24, AT&T PC6300, Xerox 6060 and Logabax Persona 1600. This new transfer mode is slightly faster than the regular XT-IDE rev 1 device type and requires that the card is configured for High Speed mode (or, in case of the card being a rev 1 card, has the Chuck(G) mod done). The new device type is called "XTIDE rev 2 (Olivetti M24)" in XTIDECFG.
  • Made some minor improvements to the library code that handles 'Drive Not Ready' errors in XTIDECFG.
  • Optimizations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Util/CMOS.asm

    r593 r601  
    131131GetSumOfBytes10hto2DhtoCX:
    132132    xor     cx, cx          ; Sum
    133     mov     dx, 10h         ; First index
     133    mov     dl, 10h         ; First index
     134    xor     ah, ah
    134135
    135136.AddNextByte:
    136137    call    CMOS_ReadFromIndexInDLtoAL
    137     xor     ah, ah
    138138    add     cx, ax
    139139    inc     dx
    140140    cmp     dl, 2Dh         ; Last index
    141     jbe     .AddNextByte
     141    jbe     SHORT .AddNextByte
    142142    ret
Note: See TracChangeset for help on using the changeset viewer.