Changeset 603 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.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/Strings.asm

    r601 r603  
    5454                    db  "%s @ %x",LF,CR                     ; -=XTIDE ... =- @ Segment
    5555                    db  "%s",LF,CR                          ; version string
     56%ifdef MODULE_STRINGS_COMPRESSED
    5657                    db  "Released under GNU GPL v2",LF,CR
     58%else
     59                    db  "Released under GNU GPL v2",LF
     60%endif
    5761                    db  LF,CR,NULL
    5862%ifdef MODULE_BOOT_MENU
     
    157161%endif ; MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
    158162
    159 g_szDeviceTypeValues_Displacement equ 3     ; 3 compressed, 4 uncompressed
    160 ;g_szDeviceTypeValues_Displacement equ (g_szDeviceTypeValues_32bit - g_szDeviceTypeValues)
     163%ifdef MODULE_STRINGS_COMPRESSED
     164    g_szDeviceTypeValues_Displacement equ 3
     165%else
     166    g_szDeviceTypeValues_Displacement equ 4
     167%endif
    161168;
    162169; Ensure that device type strings are correctly spaced in memory
Note: See TracChangeset for help on using the changeset viewer.