Changeset 401 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device


Ignore:
Timestamp:
Apr 20, 2012, 2:52:53 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Removed standard IDE support from XT builds.
  • IdeTransfer.asm lookup tables are now correct.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm

    r400 r401  
    268268
    269269;--------------------------------------------------------------------
     270%ifdef USE_186
    270271ALIGN JUMP_ALIGN
    271272ReadBlockFrom16bitDataPort:
     
    274275    db      6Dh         ; INSW (we want this in XT build)
    275276    ret
    276 
    277 ;--------------------------------------------------------------------
     277%endif
     278
     279;--------------------------------------------------------------------
     280%ifdef USE_AT
    278281ALIGN JUMP_ALIGN
    279282ReadBlockFrom32bitDataPort:
     
    285288    db      6Dh         ; INSW/INSD
    286289    ret
     290%endif
    287291
    288292
     
    366370
    367371;--------------------------------------------------------------------
     372%ifdef USE_186
    368373ALIGN JUMP_ALIGN
    369374WriteBlockTo16bitDataPort:
     
    373378    db      6Fh         ; OUTSW (we want this in XT build)
    374379    ret
    375 
    376 ;--------------------------------------------------------------------
     380%endif
     381
     382;--------------------------------------------------------------------
     383%ifdef USE_AT
    377384ALIGN JUMP_ALIGN
    378385WriteBlockTo32bitDataPort:
     
    385392    db      6Fh         ; OUTSW/OUTSD
    386393    ret
     394%endif
    387395
    388396
     
    392400g_rgfnPioRead:
    393401%ifdef MODULE_8BIT_IDE
    394         dw      ReadBlockFromXtideRev1      ; DEVICE_XTIDE_REV1
     402        dw      0                           ; 0, DEVICE_8BIT_JRIDE_ISA
    395403    %ifdef USE_186
    396         dw      ReadBlockFrom16bitDataPort  ; DEVICE_XTIDE_REV2
    397         dw      ReadBlockFrom16bitDataPort  ; DEVICE_FAST_XTIDE
     404        dw      ReadBlockFrom16bitDataPort  ; 1, DEVICE_FAST_XTIDE
     405        dw      ReadBlockFrom16bitDataPort  ; 2, DEVICE_8BIT_XTIDE_REV2
    398406    %else
    399         dw      ReadBlockFromXtideRev2      ; DEVICE_XTIDE_REV2
    400         dw      ReadBlockFromXtideRev2      ; DEVICE_FAST_XTIDE
     407        dw      ReadBlockFromXtideRev2      ; 1, DEVICE_FAST_XTIDE
     408        dw      ReadBlockFromXtideRev2      ; 2, DEVICE_8BIT_XTIDE_REV2
    401409    %endif
     410        dw      ReadBlockFromXtideRev1      ; 3, DEVICE_XTIDE_REV1
    402411
    403412%else
    404413        times   COUNT_OF_8BIT_IDE_DEVICES   dw  0
    405414%endif
    406         dw      ReadBlockFrom16bitDataPort  ; DEVICE_16BIT_ATA
    407         dw      ReadBlockFrom32bitDataPort  ; DEVICE_32BIT_ATA
     415%ifdef USE_AT
     416        dw      ReadBlockFrom16bitDataPort  ; 4, DEVICE_16BIT_ATA
     417        dw      ReadBlockFrom32bitDataPort  ; 5, DEVICE_32BIT_ATA
     418%endif
    408419
    409420
    410421g_rgfnPioWrite:
    411422%ifdef MODULE_8BIT_IDE
    412         dw      WriteBlockToXtideRev1       ; DEVICE_XTIDE_REV1
    413         dw      WriteBlockToXtideRev2       ; DEVICE_XTIDE_REV2
     423        dw      0                           ; 0, DEVICE_8BIT_JRIDE_ISA
    414424    %ifdef USE_186
    415         dw      WriteBlockTo16bitDataPort   ; DEVICE_FAST_XTIDE
     425        dw      WriteBlockTo16bitDataPort   ; 1, DEVICE_FAST_XTIDE
    416426    %else
    417         dw      WriteBlockToFastXtide       ; DEVICE_FAST_XTIDE
     427        dw      WriteBlockToFastXtide       ; 1, DEVICE_FAST_XTIDE
    418428    %endif
     429        dw      WriteBlockToXtideRev2       ; 2, DEVICE_XTIDE_REV2
     430        dw      WriteBlockToXtideRev1       ; 3, DEVICE_XTIDE_REV1
    419431
    420432%else
    421433        times   COUNT_OF_8BIT_IDE_DEVICES   dw  0
    422434%endif
    423         dw      WriteBlockTo16bitDataPort   ; DEVICE_16BIT_ATA
    424         dw      WriteBlockTo32bitDataPort   ; DEVICE_32BIT_ATA
     435%ifdef USE_AT
     436        dw      WriteBlockTo16bitDataPort   ; 4, DEVICE_16BIT_ATA
     437        dw      WriteBlockTo32bitDataPort   ; 5, DEVICE_32BIT_ATA
     438%endif
Note: See TracChangeset for help on using the changeset viewer.