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


Ignore:
Timestamp:
Nov 6, 2020, 2:49:32 PM (3 years ago)
Author:
krille_n_
Message:

Changes:

  • Fixed a bug in Strings.asm from r589 where building the BIOS without MODULE_STRINGS_COMPRESSED would fail. Also removed a redundant CR to save a byte when building without MODULE_STRINGS_COMPRESSED.
  • Optimized the code in MODULE_HOTKEYS to reduce ROM space usage, stack usage and time spent in the user timer tick interrupt handler (1Ch). I hope this will fix the problem with hangs introduced in r599.
File:
1 edited

Legend:

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

    r601 r603  
    100100      db     3dh,  39h                ; compressed
    101101
     102%ifdef MODULE_STRINGS_COMPRESSED
    102103    ; db    "Released under GNU GPL v2",LF,CR
    103104    ; db     52h,  65h,  6ch,  65h,  61h,  73h,  65h,  64h,  20h,  75h,  6eh,  64h,  65h,  72h,  20h,  47h,  4eh,  55h,  20h,  47h,  50h,  4ch,  20h,  76h,  32h,  0ah,  0dh    ; uncompressed
    104105      db     58h,  6bh,  72h,  6bh,  67h,  79h,  6bh, 0eah,  7bh,  74h,  6ah,  6bh, 0f8h,  4dh,  54h, 0dbh,  4dh,  56h, 0d2h,  7ch,  2ch,  39h                                  ; compressed
    105106
     107%else
     108db  "Released under GNU GPL v2",LF
     109%endif
    106110    ; db    LF,CR,NULL
    107111    ; db     0ah,  0dh,  00h    ; uncompressed
     
    314318%endif ; MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    315319
    316 g_szDeviceTypeValues_Displacement equ 3     ; 3 compressed, 4 uncompressed
    317 ;g_szDeviceTypeValues_Displacement equ (g_szDeviceTypeValues_32bit - g_szDeviceTypeValues)
     320%ifdef MODULE_STRINGS_COMPRESSED
     321g_szDeviceTypeValues_Displacement equ 3
     322%else
     323g_szDeviceTypeValues_Displacement equ 4
     324%endif
    318325;
    319326; Ensure that device type strings are correctly spaced in memory
     
    601608
    602609;; translated usage stats
     610;; 181:1
     611;; 48:2
     612;; 172:2
     613;; 50:2
     614;; 171:2
     615;; 45:2
     616;; 51:3
     617;; 200:1
     618;; 34:3
     619;; 179:8
     620;; 33:1
     621;; 53:2
     622;; 47:2
    603623;; 54:2
    604 ;; 172:2
    605 ;; 171:2
    606 ;; 47:2
    607 ;; 53:2
     624;; 46:3
     625;; 32:34
     626;; 56:9
    608627;; 175:1
    609 ;; 56:9
    610 ;; 45:2
    611 ;; 50:2
    612 ;; 200:1
    613 ;; 33:1
    614 ;; 51:3
    615 ;; 179:8
    616 ;; 46:3
    617 ;; 48:2
    618 ;; 34:3
    619628;; 49:2
    620 ;; 181:1
    621629;; 44:1
    622 ;; 32:34
    623630;; total translated: 20
    624631
    625632;; format usage stats
     633;; 5-x:1
     634;; s:14
     635;; z:2
     636;; u:6
     637;; 2-u:1
     638;; nl:12
     639;; 2-I:1
     640;; c:13
    626641;; 5-u:2
    627 ;; z:2
    628 ;; nl:12
    629642;; x:5
    630643;; A:4
    631 ;; 2-u:1
    632 ;; s:14
    633 ;; 2-I:1
    634 ;; 5-x:1
    635 ;; u:6
    636 ;; c:13
    637644;; total format: 11
    638645
Note: See TracChangeset for help on using the changeset viewer.