Changeset 334 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Main.asm


Ignore:
Timestamp:
Mar 13, 2012, 5:29:34 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Serial server DPT flag optimization, remove Serial/IDE specific header on drive scan results, added GNU GPL v2 banner at boot.

File:
1 edited

Legend:

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

    r305 r334  
    158158iend
    159159
     160    ; Strings are first to avoid them moving unnessarily when code is turned on and off with %ifdef's
     161    ; since some groups of strings need to be on the same 256-byte page.
     162    ;
     163%ifdef MODULE_STRINGS_COMPRESSED
     164    %define STRINGSCOMPRESSED_STRINGS
     165    %include "StringsCompressed.asm"
     166%else
     167    %include "Strings.asm"          ; For BIOS message strings
     168%endif
     169
    160170    ; Libraries, data, Initialization and drive detection
     171
    161172    %include "AssemblyLibrary.asm"
     173
     174    ; String compression tables need to come after the AssemblyLibrary (since they depend on addresses
     175    ; established in the assembly library), and are unncessary if strings are not compressed.
     176    ;
     177%ifdef MODULE_STRINGS_COMPRESSED
     178    %undef  STRINGSCOMPRESSED_STRINGS       
     179    %define STRINGSCOMPRESSED_TABLES
     180    %include "StringsCompressed.asm"
     181%endif
     182       
    162183    %include "Initialize.asm"       ; For BIOS initialization
    163184    %include "Interrupts.asm"       ; For Interrupt initialization
     
    165186    %include "CreateDPT.asm"        ; For creating DPTs
    166187    %include "FindDPT.asm"          ; For finding DPTs
    167 %ifdef MODULE_STRINGS_COMPRESSED
    168     %include "StringsCompressed.asm"
    169 %else
    170     %include "Strings.asm"          ; For BIOS message strings
    171 %endif
    172188    %include "AccessDPT.asm"        ; For accessing DPTs
    173189    %include "BootMenuInfo.asm"     ; For creating BOOTMENUINFO structs
Note: See TracChangeset for help on using the changeset viewer.