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


Ignore:
Timestamp:
Jun 3, 2015, 12:30:54 PM (9 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Fixed a bug in AH24h_HSetBlocks.asm from r550. Trying to set a too large block size with an XT-CF card in DMA transfer mode would corrupt the stack.
  • Fixed a bug from r545 where the list of devices under g_szDeviceTypeValues in Strings.asm was no longer up to date causing the boot menu to display the wrong string for devices numbered higher than DEVICE_8BIT_XTCF_PIO8.
  • Made some fairly significant changes to the XT-CF code to reduce size. Two changes in functionality; 1) Added a simple check to validate the request for a change of the XT-CF transfer mode. 2) Changing transfer mode to use DMA no longer calls AH24h_SetBlockSize if the block size already is within the limits of DMA transfers. UNTESTED
  • XTIDECFG now clears IDEVARS.bIRQ when changing IDE controller to a serial device to keep the boot menu from displaying it since the serial device doesn't use IRQs at all.
  • Other minor optimizations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm

    r568 r588  
    253253
    254254g_szDeviceTypeValues:
    255 g_szDeviceTypeValues_16bit:     ; db    " 16",NULL
    256                                 ; db     20h,  31h,  36h,  00h    ; uncompressed
    257                                   db     20h,  2bh,  0fh          ; compressed
    258 
    259 g_szDeviceTypeValues_32bit:     ; db    " 32",NULL
    260                                 ; db     20h,  33h,  32h,  00h    ; uncompressed
    261                                   db     20h,  2dh,  0ch          ; compressed
    262 
    263 g_szDeviceTypeValues_8bit:      ; db    "  8",NULL
    264                                 ; db     20h,  20h,  38h,  00h    ; uncompressed
    265                                   db     20h,  20h,  10h          ; compressed
    266 
    267 g_szDeviceTypeValues_XTIDEr1:   ; db    "D8 ",NULL  ; Dual 8-bit
    268                                 ; db     44h,  38h,  20h,  00h    ; uncompressed
    269                                   db     4ah,  30h,  00h          ; compressed
    270 
    271 g_szDeviceTypeValues_XTIDEr2:   ; db    "X8 ",NULL  ; A0<->A3 swapped 8-bit
    272                                 ; db     58h,  38h,  20h,  00h    ; uncompressed
    273                                   db     5eh,  30h,  00h          ; compressed
    274 
    275 g_szDeviceTypeValues_XTCFpio8:  ; db    "T8 ",NULL  ; True 8-bit
    276                                 ; db     54h,  38h,  20h,  00h    ; uncompressed
    277                                   db     5ah,  30h,  00h          ; compressed
    278 
    279 g_szDeviceTypeValues_XTCFdma:   ; db    "8MA",NULL  ; DMA 8-bit
    280                                 ; db     38h,  4dh,  41h,  00h    ; uncompressed
    281                                   db     30h,  53h,  87h          ; compressed
    282 
    283 g_szDeviceTypeValues_XTCFmem:   ; db    "M8 ",NULL  ; Memory Mapped 8-bit
    284                                 ; db     4dh,  38h,  20h,  00h    ; uncompressed
    285                                   db     53h,  30h,  00h          ; compressed
    286 
    287 g_szDeviceTypeValues_JrIde:     ; db    "M8 ",NULL
    288                                 ; db     4dh,  38h,  20h,  00h    ; uncompressed
    289                                   db     53h,  30h,  00h          ; compressed
    290 
    291 g_szDeviceTypeValues_ADP50L:    ; db    "M8 ",NULL
    292                                 ; db     4dh,  38h,  20h,  00h    ; uncompressed
    293                                   db     53h,  30h,  00h          ; compressed
    294 
    295 g_szDeviceTypeValues_Serial:    ; db    "SER",NULL
    296                                 ; db     53h,  45h,  52h,  00h    ; uncompressed
    297                                   db     59h,  4bh,  98h          ; compressed
     255g_szDeviceTypeValues_16bit:         ; db    " 16",NULL
     256                                    ; db     20h,  31h,  36h,  00h    ; uncompressed
     257                                      db     20h,  2bh,  0fh          ; compressed
     258
     259g_szDeviceTypeValues_32bit:         ; db    " 32",NULL
     260                                    ; db     20h,  33h,  32h,  00h    ; uncompressed
     261                                      db     20h,  2dh,  0ch          ; compressed
     262
     263g_szDeviceTypeValues_8bit:          ; db    "  8",NULL
     264                                    ; db     20h,  20h,  38h,  00h    ; uncompressed
     265                                      db     20h,  20h,  10h          ; compressed
     266
     267g_szDeviceTypeValues_XTIDEr1:       ; db    "D8 ",NULL  ; Dual 8-bit
     268                                    ; db     44h,  38h,  20h,  00h    ; uncompressed
     269                                      db     4ah,  30h,  00h          ; compressed
     270
     271g_szDeviceTypeValues_XTIDEr2:       ; db    "X8 ",NULL  ; A0<->A3 swapped 8-bit
     272                                    ; db     58h,  38h,  20h,  00h    ; uncompressed
     273                                      db     5eh,  30h,  00h          ; compressed
     274
     275g_szDeviceTypeValues_XTCFpio8:      ; db    "T8 ",NULL  ; True 8-bit
     276                                    ; db     54h,  38h,  20h,  00h    ; uncompressed
     277                                      db     5ah,  30h,  00h          ; compressed
     278
     279g_szDeviceTypeValues_XTCFpio8BIU:   ; db    "T8B",NULL
     280                                    ; db     54h,  38h,  42h,  00h    ; uncompressed
     281                                      db     5ah,  30h,  88h          ; compressed
     282
     283g_szDeviceTypeValues_XTCFpio16BIU:  ; db    "16B",NULL
     284                                    ; db     31h,  36h,  42h,  00h    ; uncompressed
     285                                      db     2bh,  2fh,  88h          ; compressed
     286
     287g_szDeviceTypeValues_XTCFdma:       ; db    "8MA",NULL  ; DMA 8-bit
     288                                    ; db     38h,  4dh,  41h,  00h    ; uncompressed
     289                                      db     30h,  53h,  87h          ; compressed
     290
     291g_szDeviceTypeValues_JrIde:         ; db    "M8 ",NULL  ; Memory Mapped 8-bit
     292                                    ; db     4dh,  38h,  20h,  00h    ; uncompressed
     293                                      db     53h,  30h,  00h          ; compressed
     294
     295g_szDeviceTypeValues_ADP50L:        ; db    "M8 ",NULL  ; Memory Mapped 8-bit
     296                                    ; db     4dh,  38h,  20h,  00h    ; uncompressed
     297                                      db     53h,  30h,  00h          ; compressed
     298
     299g_szDeviceTypeValues_Serial:        ; db    "SER",NULL
     300                                    ; db     53h,  45h,  52h,  00h    ; uncompressed
     301                                      db     59h,  4bh,  98h          ; compressed
    298302
    299303
     
    310314%endif
    311315%if g_szDeviceTypeValues_8bit <> g_szDeviceTypeValues_32bit + g_szDeviceTypeValues_Displacement
    312 %error "g_szDeviceTypeValues Displacement Incorrect 2"
     316%error "g_szDeviceTypeValues Displacement Incorrect 3"
    313317%endif
    314318%if g_szDeviceTypeValues_XTIDEr1 <> g_szDeviceTypeValues_8bit + g_szDeviceTypeValues_Displacement
    315 %error "g_szDeviceTypeValues Displacement Incorrect 3"
     319%error "g_szDeviceTypeValues Displacement Incorrect 4"
    316320%endif
    317321%if g_szDeviceTypeValues_XTIDEr2 <> g_szDeviceTypeValues_XTIDEr1 + g_szDeviceTypeValues_Displacement
    318 %error "g_szDeviceTypeValues Displacement Incorrect 4"
     322%error "g_szDeviceTypeValues Displacement Incorrect 5"
    319323%endif
    320324%if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
    321 %error "g_szDeviceTypeValues Displacement Incorrect 5"
    322 %endif
    323 %if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
    324325%error "g_szDeviceTypeValues Displacement Incorrect 6"
    325326%endif
    326 %if g_szDeviceTypeValues_XTCFmem <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
     327%if g_szDeviceTypeValues_XTCFpio8BIU <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
    327328%error "g_szDeviceTypeValues Displacement Incorrect 7"
    328329%endif
    329 %if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFmem + g_szDeviceTypeValues_Displacement
     330%if g_szDeviceTypeValues_XTCFpio16BIU <> g_szDeviceTypeValues_XTCFpio8BIU + g_szDeviceTypeValues_Displacement
    330331%error "g_szDeviceTypeValues Displacement Incorrect 8"
    331332%endif
     333%if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio16BIU + g_szDeviceTypeValues_Displacement
     334%error "g_szDeviceTypeValues Displacement Incorrect 9"
     335%endif
     336%if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
     337%error "g_szDeviceTypeValues Displacement Incorrect 10"
     338%endif
    332339%if g_szDeviceTypeValues_ADP50L <> g_szDeviceTypeValues_JrIde + g_szDeviceTypeValues_Displacement
    333 %error "g_szDeviceTypeValues Displacement Incorrect 9"
     340%error "g_szDeviceTypeValues Displacement Incorrect 11"
    334341%endif
    335342%if g_szDeviceTypeValues_Serial <> g_szDeviceTypeValues_ADP50L + g_szDeviceTypeValues_Displacement
    336 %error "g_szDeviceTypeValues Displacement Incorrect 10"
     343%error "g_szDeviceTypeValues Displacement Incorrect 12"
    337344%endif
    338345%endif
     
    560567
    561568;; translated usage stats
    562 ;; 54:1
     569;; 172:2
    563570;; 47:2
    564 ;; 175:1
    565 ;; 49:1
    566 ;; 44:1
    567 ;; 50:2
     571;; 171:2
     572;; 46:3
     573;; 48:2
     574;; 181:1
    568575;; 200:1
    569 ;; 181:1
    570 ;; 172:2
     576;; 54:2
    571577;; 45:2
     578;; 49:2
     579;; 34:3
     580;; 179:8
    572581;; 56:8
    573582;; 33:1
    574583;; 53:2
    575 ;; 179:8
    576 ;; 171:2
     584;; 32:34
     585;; 175:1
     586;; 44:1
     587;; 50:2
    577588;; 51:3
    578 ;; 34:3
    579 ;; 48:2
    580 ;; 46:3
    581 ;; 32:35
    582589;; total translated: 20
    583590
    584591;; format usage stats
     592;; z:2
    585593;; nl:12
     594;; u:6
     595;; 5-x:1
     596;; c:13
     597;; A:4
     598;; s:14
     599;; 5-u:2
    586600;; x:5
    587 ;; A:4
    588 ;; 5-x:1
    589601;; 2-u:1
    590 ;; z:2
    591 ;; 5-u:2
    592 ;; s:14
    593602;; 2-I:1
    594 ;; u:6
    595 ;; c:13
    596603;; total format: 11
    597604
     
    605612;; 64,@:1
    606613;; 65,A:5
    607 ;; 66,B:9
     614;; 66,B:11
    608615;; 67,C:3
    609616;; 68,D:11
     
    616623;; 75,K:1
    617624;; 76,L:4
    618 ;; 77,M:8
     625;; 77,M:7
    619626;; 78,N:2
    620627;; 79,O:2
     
    623630;; 82,R:7
    624631;; 83,S:3
    625 ;; 84,T:1
     632;; 84,T:2
    626633;; 85,U:2
    627634;; 86,V:
Note: See TracChangeset for help on using the changeset viewer.