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


Ignore:
Timestamp:
Oct 10, 2012, 6:22:23 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Large changes to prepare full XT-CF support (DMA not yet implemented and memory mapped transfers are not working).
File:
1 edited

Legend:

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

    r421 r473  
    217217%endif
    218218
    219 g_szBusTypeValues:
    220 g_szBusTypeValues_8JrIde:       ; db        "M8 ",NULL
    221                                 ; db         4dh,  38h,  20h,  00h    ; uncompressed
    222                                   db         53h,  31h,  00h          ; compressed
    223 
    224 g_szBusTypeValues_8Fast:        ; db        "F8 ",NULL
    225                                 ; db         46h,  38h,  20h,  00h    ; uncompressed
    226                                   db         4ch,  31h,  00h          ; compressed
    227 
    228 g_szBusTypeValues_8Reversed:    ; db        "X8 ",NULL
    229                                 ; db         58h,  38h,  20h,  00h    ; uncompressed
    230                                   db         5eh,  31h,  00h          ; compressed
    231 
    232 g_szBusTypeValues_8Dual:        ; db        "D8 ",NULL
    233                                 ; db         44h,  38h,  20h,  00h    ; uncompressed
    234                                   db         4ah,  31h,  00h          ; compressed
    235 
    236 g_szBusTypeValues_16:           ; db        " 16",NULL
    237                                 ; db         20h,  31h,  36h,  00h    ; uncompressed
    238                                   db         20h,  2bh,  10h          ; compressed
    239 
    240 g_szBusTypeValues_32:           ; db        " 32",NULL
    241                                 ; db         20h,  33h,  32h,  00h    ; uncompressed
    242                                   db         20h,  2dh,  0ch          ; compressed
    243 
    244 g_szBusTypeValues_Serial:       ; db        "SER",NULL
    245                                 ; db         53h,  45h,  52h,  00h    ; uncompressed
    246                                   db         59h,  4bh,  98h          ; compressed
    247 
    248 
    249 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Fast - g_szBusTypeValues)
    250 ;
    251 ; Ensure that bus type strings are correctly spaced in memory
     219g_szDeviceTypeValues:
     220g_szDeviceTypeValues_16bit:     ; db        " 16",NULL
     221                                ; db         20h,  31h,  36h,  00h    ; uncompressed
     222                                  db         20h,  2bh,  10h          ; compressed
     223
     224g_szDeviceTypeValues_32bit:     ; db        " 32",NULL
     225                                ; db         20h,  33h,  32h,  00h    ; uncompressed
     226                                  db         20h,  2dh,  0ch          ; compressed
     227
     228g_szDeviceTypeValues_XTIDEr1:   ; db        "D8 ",NULL  ; Dual 8-bit
     229                                ; db         44h,  38h,  20h,  00h    ; uncompressed
     230                                  db         4ah,  31h,  00h          ; compressed
     231
     232g_szDeviceTypeValues_XTIDEr2:   ; db        "X8 ",NULL  ; A0<->A3 swapped 8-bit
     233                                ; db         58h,  38h,  20h,  00h    ; uncompressed
     234                                  db         5eh,  31h,  00h          ; compressed
     235
     236g_szDeviceTypeValues_XTCFpio8:  ; db        "T8 ",NULL  ; True 8-bit
     237                                ; db         54h,  38h,  20h,  00h    ; uncompressed
     238                                  db         5ah,  31h,  00h          ; compressed
     239
     240g_szDeviceTypeValues_XTCFdma:   ; db        "8MA",NULL  ; DMA 8-bit
     241                                ; db         38h,  4dh,  41h,  00h    ; uncompressed
     242                                  db         31h,  53h,  87h          ; compressed
     243
     244g_szDeviceTypeValues_XTCFmem:   ; db        "M8 ",NULL  ; Memory Mapped 8-bit
     245                                ; db         4dh,  38h,  20h,  00h    ; uncompressed
     246                                  db         53h,  31h,  00h          ; compressed
     247
     248g_szDeviceTypeValues_JrIde:     ; db        "M8 ",NULL
     249                                ; db         4dh,  38h,  20h,  00h    ; uncompressed
     250                                  db         53h,  31h,  00h          ; compressed
     251
     252g_szDeviceTypeValues_Serial:    ; db        "SER",NULL
     253                                ; db         53h,  45h,  52h,  00h    ; uncompressed
     254                                  db         59h,  4bh,  98h          ; compressed
     255
     256
     257g_szDeviceTypeValues_Displacement equ (g_szDeviceTypeValues_32bit - g_szDeviceTypeValues)
     258;
     259; Ensure that device type strings are correctly spaced in memory
    252260;
    253261%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    254 %if g_szBusTypeValues_8JrIde <> g_szBusTypeValues
    255 %error "g_szBusTypeValues Displacement Incorrect 1"
    256 %endif
    257 %if g_szBusTypeValues_8Fast <> g_szBusTypeValues + g_szBusTypeValues_Displacement
    258 %error "g_szBusTypeValues Displacement Incorrect 2"
    259 %endif
    260 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues_8Fast + g_szBusTypeValues_Displacement
    261 %error "g_szBusTypeValues Displacement Incorrect 3"
    262 %endif
    263 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
    264 %error "g_szBusTypeValues Displacement Incorrect 4"
    265 %endif
    266 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Dual + g_szBusTypeValues_Displacement
    267 %error "g_szBusTypeValues Displacement Incorrect 5"
    268 %endif
    269 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
    270 %error "g_szBusTypeValues Displacement Incorrect 6"
    271 %endif
    272 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
    273 %error "g_szBusTypeValues Displacement Incorrect 7"
     262%if g_szDeviceTypeValues_16bit <> g_szDeviceTypeValues
     263%error "g_szDeviceTypeValues Displacement Incorrect 1"
     264%endif
     265%if g_szDeviceTypeValues_32bit <> g_szDeviceTypeValues + g_szDeviceTypeValues_Displacement
     266%error "g_szDeviceTypeValues Displacement Incorrect 2"
     267%endif
     268%if g_szDeviceTypeValues_XTIDEr1 <> g_szDeviceTypeValues_32bit + g_szDeviceTypeValues_Displacement
     269%error "g_szDeviceTypeValues Displacement Incorrect 3"
     270%endif
     271%if g_szDeviceTypeValues_XTIDEr2 <> g_szDeviceTypeValues_XTIDEr1 + g_szDeviceTypeValues_Displacement
     272%error "g_szDeviceTypeValues Displacement Incorrect 4"
     273%endif
     274%if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
     275%error "g_szDeviceTypeValues Displacement Incorrect 5"
     276%endif
     277%if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
     278%error "g_szDeviceTypeValues Displacement Incorrect 6"
     279%endif
     280%if g_szDeviceTypeValues_XTCFmem <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
     281%error "g_szDeviceTypeValues Displacement Incorrect 7"
     282%endif
     283%if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFmem + g_szDeviceTypeValues_Displacement
     284%error "g_szDeviceTypeValues Displacement Incorrect 8"
     285%endif
     286%if g_szDeviceTypeValues_Serial <> g_szDeviceTypeValues_JrIde + g_szDeviceTypeValues_Displacement
     287%error "g_szDeviceTypeValues Displacement Incorrect 9"
    274288%endif
    275289%endif
     
    475489;; translated usage stats
    476490;; 33:1
    477 ;; 32:26
     491;; 32:27
    478492;; 181:1
    479493;; 53:2
     
    490504;; 34:3
    491505;; 49:1
    492 ;; 56:4
     506;; 56:6
    493507;; 45:1
    494508;; 175:1
     
    519533;; 63,?:
    520534;; 64,@:1
    521 ;; 65,A:4
     535;; 65,A:5
    522536;; 66,B:8
    523537;; 67,C:2
    524538;; 68,D:10
    525539;; 69,E:3
    526 ;; 70,F:4
     540;; 70,F:3
    527541;; 71,G:3
    528542;; 72,H:2
     
    531545;; 75,K:1
    532546;; 76,L:4
    533 ;; 77,M:5
     547;; 77,M:7
    534548;; 78,N:2
    535549;; 79,O:2
     
    538552;; 82,R:7
    539553;; 83,S:3
    540 ;; 84,T:
     554;; 84,T:1
    541555;; 85,U:2
    542556;; 86,V:
     
    576590;; 120,x:
    577591;; 121,y:2
    578 ;; alphabet used count: 44
     592;; alphabet used count: 45
    579593%endif ; STRINGSCOMPRESSED_TABLES
    580594
Note: See TracChangeset for help on using the changeset viewer.