Ignore:
Timestamp:
Apr 11, 2013, 8:05:27 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Segment overflow is now checked when transfer buffer pointer is normalized (AT builds only).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm

    r526 r538  
    6262.readOrWrite:
    6363        mov     [bp+IDEPACK.bFeatures],ah       ; store protocol command
     64%ifdef USE_AT
     65        mov     dh, [bp+IDEPACK.bSectorCount]
     66%endif
    6467        call    IdeTransfer_NormalizePointerInESSI
     68%ifdef USE_AT
     69        jnc     SHORT .PointerNormalizationWasSuccessfull
     70        xor     cx, cx          ; Nothing transferred
     71        jmp     SerialCommand_ReturnError
     72.PointerNormalizationWasSuccessfull:
     73%endif
    6574
    6675        mov     dx, [di+DPT_SERIAL.wSerialPortAndBaud]
Note: See TracChangeset for help on using the changeset viewer.