Changeset 601 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm


Ignore:
Timestamp:
Feb 14, 2019, 7:38:08 PM (5 years ago)
Author:
krille_n_
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/XTIDE_Universal_BIOS/Src/StringsCompressed.asm

    r589 r601  
    253253
    254254g_szDeviceTypeValues:
    255 g_szDeviceTypeValues_16bit:         ; db    " 16",NULL
    256                                     ; db     20h,  31h,  36h,  00h    ; uncompressed
    257                                       db     20h,  2bh,  0fh          ; compressed
     255g_szDeviceTypeValues_16bit:             ; db    " 16",NULL
     256                                        ; db     20h,  31h,  36h,  00h    ; uncompressed
     257                                          db     20h,  2bh,  0fh          ; compressed
    258258
    259259%ifdef MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    260 g_szDeviceTypeValues_32bit:         ; db    " 32",NULL
    261                                     ; db     20h,  33h,  32h,  00h    ; uncompressed
    262                                       db     20h,  2dh,  0ch          ; compressed
     260g_szDeviceTypeValues_32bit:             ; db    " 32",NULL
     261                                        ; db     20h,  33h,  32h,  00h    ; uncompressed
     262                                          db     20h,  2dh,  0ch          ; compressed
    263263
    264264%ifdef MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    265 g_szDeviceTypeValues_8bit:          ; db    "  8",NULL
    266                                     ; db     20h,  20h,  38h,  00h    ; uncompressed
    267                                       db     20h,  20h,  10h          ; compressed
    268 
    269 g_szDeviceTypeValues_XTIDEr1:       ; db    "D8 ",NULL  ; Dual 8-bit
    270                                     ; db     44h,  38h,  20h,  00h    ; uncompressed
    271                                       db     4ah,  30h,  00h          ; compressed
    272 
    273 g_szDeviceTypeValues_XTIDEr2:       ; db    "X8 ",NULL  ; A0<->A3 swapped 8-bit
    274                                     ; db     58h,  38h,  20h,  00h    ; uncompressed
    275                                       db     5eh,  30h,  00h          ; compressed
     265g_szDeviceTypeValues_8bit:              ; db    "  8",NULL
     266                                        ; db     20h,  20h,  38h,  00h    ; uncompressed
     267                                          db     20h,  20h,  10h          ; compressed
     268
     269g_szDeviceTypeValues_XTIDEr1:           ; db    "D8 ",NULL  ; Dual 8-bit
     270                                        ; db     44h,  38h,  20h,  00h    ; uncompressed
     271                                          db     4ah,  30h,  00h          ; compressed
     272
     273g_szDeviceTypeValues_XTIDEr2:           ; db    "X8 ",NULL  ; A0<->A3 swapped 8-bit
     274                                        ; db     58h,  38h,  20h,  00h    ; uncompressed
     275                                          db     5eh,  30h,  00h          ; compressed
     276
     277g_szDeviceTypeValues_XTIDEr2_Olivetti:  ; db    "X8O",NULL  ; Same as above but in Olivetti M24 and derivatives
     278                                        ; db     58h,  38h,  4fh,  00h    ; uncompressed
     279                                          db     5eh,  30h,  95h          ; compressed
    276280
    277281%ifdef MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    278 g_szDeviceTypeValues_XTCFpio8:      ; db    "T8 ",NULL  ; True 8-bit
    279                                     ; db     54h,  38h,  20h,  00h    ; uncompressed
    280                                       db     5ah,  30h,  00h          ; compressed
    281 
    282 g_szDeviceTypeValues_XTCFpio8BIU:   ; db    "T8B",NULL
    283                                     ; db     54h,  38h,  42h,  00h    ; uncompressed
    284                                       db     5ah,  30h,  88h          ; compressed
    285 
    286 g_szDeviceTypeValues_XTCFpio16BIU:  ; db    "16B",NULL
    287                                     ; db     31h,  36h,  42h,  00h    ; uncompressed
    288                                       db     2bh,  2fh,  88h          ; compressed
    289 
    290 g_szDeviceTypeValues_XTCFdma:       ; db    "8MA",NULL  ; DMA 8-bit
    291                                     ; db     38h,  4dh,  41h,  00h    ; uncompressed
    292                                       db     30h,  53h,  87h          ; compressed
    293 
    294 g_szDeviceTypeValues_JrIde:         ; db    "M8 ",NULL  ; Memory Mapped 8-bit
    295                                     ; db     4dh,  38h,  20h,  00h    ; uncompressed
    296                                       db     53h,  30h,  00h          ; compressed
    297 
    298 g_szDeviceTypeValues_ADP50L:        ; db    "M8 ",NULL  ; Memory Mapped 8-bit
    299                                     ; db     4dh,  38h,  20h,  00h    ; uncompressed
    300                                       db     53h,  30h,  00h          ; compressed
     282g_szDeviceTypeValues_XTCFpio8:          ; db    "T8 ",NULL  ; True 8-bit
     283                                        ; db     54h,  38h,  20h,  00h    ; uncompressed
     284                                          db     5ah,  30h,  00h          ; compressed
     285
     286g_szDeviceTypeValues_XTCFpio8BIU:       ; db    "T8B",NULL
     287                                        ; db     54h,  38h,  42h,  00h    ; uncompressed
     288                                          db     5ah,  30h,  88h          ; compressed
     289
     290g_szDeviceTypeValues_XTCFpio16BIU:      ; db    "16B",NULL
     291                                        ; db     31h,  36h,  42h,  00h    ; uncompressed
     292                                          db     2bh,  2fh,  88h          ; compressed
     293
     294g_szDeviceTypeValues_XTCFdma:           ; db    "8MA",NULL  ; DMA 8-bit
     295                                        ; db     38h,  4dh,  41h,  00h    ; uncompressed
     296                                          db     30h,  53h,  87h          ; compressed
     297
     298g_szDeviceTypeValues_JrIde:             ; db    "M8 ",NULL  ; Memory Mapped 8-bit
     299                                        ; db     4dh,  38h,  20h,  00h    ; uncompressed
     300                                          db     53h,  30h,  00h          ; compressed
     301
     302g_szDeviceTypeValues_ADP50L:            ; db    "M8 ",NULL  ; Memory Mapped 8-bit
     303                                        ; db     4dh,  38h,  20h,  00h    ; uncompressed
     304                                          db     53h,  30h,  00h          ; compressed
    301305
    302306%ifdef MODULE_SERIAL
    303 g_szDeviceTypeValues_Serial:        ; db    "SER",NULL
    304                                     ; db     53h,  45h,  52h,  00h    ; uncompressed
    305                                       db     59h,  4bh,  98h          ; compressed
     307g_szDeviceTypeValues_Serial:            ; db    "SER",NULL
     308                                        ; db     53h,  45h,  52h,  00h    ; uncompressed
     309                                          db     59h,  4bh,  98h          ; compressed
    306310
    307311%endif ; MODULE_SERIAL
     
    337341%error "g_szDeviceTypeValues Displacement Incorrect 5"
    338342%endif
     343%if g_szDeviceTypeValues_XTIDEr2_Olivetti <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
     344%error "g_szDeviceTypeValues Displacement Incorrect 6"
     345%endif
    339346
    340347%ifdef MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    341348
    342 %if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
    343 %error "g_szDeviceTypeValues Displacement Incorrect 6"
     349%if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2_Olivetti + g_szDeviceTypeValues_Displacement
     350%error "g_szDeviceTypeValues Displacement Incorrect 7"
    344351%endif
    345352%if g_szDeviceTypeValues_XTCFpio8BIU <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
    346 %error "g_szDeviceTypeValues Displacement Incorrect 7"
     353%error "g_szDeviceTypeValues Displacement Incorrect 8"
    347354%endif
    348355%if g_szDeviceTypeValues_XTCFpio16BIU <> g_szDeviceTypeValues_XTCFpio8BIU + g_szDeviceTypeValues_Displacement
    349 %error "g_szDeviceTypeValues Displacement Incorrect 8"
     356%error "g_szDeviceTypeValues Displacement Incorrect 9"
    350357%endif
    351358%if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio16BIU + g_szDeviceTypeValues_Displacement
    352 %error "g_szDeviceTypeValues Displacement Incorrect 9"
     359%error "g_szDeviceTypeValues Displacement Incorrect 10"
    353360%endif
    354361%if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
    355 %error "g_szDeviceTypeValues Displacement Incorrect 10"
     362%error "g_szDeviceTypeValues Displacement Incorrect 11"
    356363%endif
    357364%if g_szDeviceTypeValues_ADP50L <> g_szDeviceTypeValues_JrIde + g_szDeviceTypeValues_Displacement
    358 %error "g_szDeviceTypeValues Displacement Incorrect 11"
     365%error "g_szDeviceTypeValues Displacement Incorrect 12"
    359366%endif
    360367
     
    362369
    363370%if g_szDeviceTypeValues_Serial <> g_szDeviceTypeValues_ADP50L + g_szDeviceTypeValues_Displacement
    364 %error "g_szDeviceTypeValues Displacement Incorrect 12"
     371%error "g_szDeviceTypeValues Displacement Incorrect 13"
    365372%endif
    366373
     
    594601
    595602;; translated usage stats
    596 ;; 34:3
     603;; 54:2
     604;; 172:2
     605;; 171:2
     606;; 47:2
     607;; 53:2
     608;; 175:1
     609;; 56:9
     610;; 45:2
     611;; 50:2
     612;; 200:1
     613;; 33:1
     614;; 51:3
    597615;; 179:8
    598616;; 46:3
     617;; 48:2
     618;; 34:3
     619;; 49:2
     620;; 181:1
    599621;; 44:1
    600 ;; 200:1
    601 ;; 48:2
    602 ;; 175:1
    603 ;; 171:2
    604 ;; 51:3
    605 ;; 50:2
    606 ;; 33:1
    607 ;; 53:2
    608 ;; 45:2
    609 ;; 47:2
    610 ;; 172:2
    611 ;; 56:8
    612622;; 32:34
    613 ;; 181:1
    614 ;; 54:2
    615 ;; 49:2
    616623;; total translated: 20
    617624
    618625;; format usage stats
    619 ;; 5-x:1
     626;; 5-u:2
     627;; z:2
     628;; nl:12
     629;; x:5
     630;; A:4
    620631;; 2-u:1
    621632;; s:14
    622 ;; nl:12
    623 ;; A:4
    624 ;; 5-u:2
    625 ;; x:5
    626633;; 2-I:1
    627 ;; z:2
     634;; 5-x:1
    628635;; u:6
    629636;; c:13
     
    652659;; 77,M:7
    653660;; 78,N:2
    654 ;; 79,O:2
     661;; 79,O:3
    655662;; 80,P:1
    656663;; 81,Q:1
     
    661668;; 86,V:
    662669;; 87,W:
    663 ;; 88,X:1
     670;; 88,X:2
    664671;; 89,Y:
    665672;; 90,Z:
Note: See TracChangeset for help on using the changeset viewer.