Changeset 181 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc


Ignore:
Timestamp:
Nov 13, 2011, 3:38:40 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Size optimizations.
  • Added a define (EXCLUDE_FROM_XTIDECFG) to exclude unused library code from XTIDECFG.
  • Tried to minimize time spent with interrupts disabled.
  • Some minor attempts to improve speed (reordering instructions etc).
  • Tried to improve readability, did some cleanup and fixed some errors in comments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r179 r181  
    55%define ROMVARS_INC
    66
    7 ; ROM Variables. There are written to ROM image before flashing.
     7; ROM Variables. Written to the ROM image before flashing.
    88struc ROMVARS
    9     .wRomSign       resb    2   ; ROM Signature (AA55h)
    10     .bRomSize       resb    1   ; ROM size in 512 byte blocks
    11     .rgbJump        resb    3   ; First instruction to ROM init (jmp)
     9    .wRomSign           resb    2   ; ROM Signature (AA55h)
     10    .bRomSize           resb    1   ; ROM size in 512 byte blocks
     11    .rgbJump            resb    3   ; First instruction to ROM init (jmp)
    1212
    13     .rgbSign        resb    8   ; Signature for XTIDE Configurator Program
    14     .szTitle        resb    31  ; BIOS title string
    15     .szVersion      resb    25  ; BIOS version string
     13    .rgbSign            resb    8   ; Signature for XTIDE Configurator Program
     14    .szTitle            resb    31  ; BIOS title string
     15    .szVersion          resb    25  ; BIOS version string
    1616
    17     .wFlags         resb    2   ; Word for ROM flags
    18     .wDisplayMode   resb    2   ; Display mode for boot menu
    19     .wBootTimeout   resb    2   ; Boot Menu selection timeout in system timer ticks
    20     .bIdeCnt        resb    1   ; Number of available IDE controllers
    21     .bBootDrv       resb    1   ; Boot Menu default drive
    22     .bMinFddCnt     resb    1   ; Minimum number of Floppy Drives
    23     .bStealSize     resb    1   ; Number of 1kB blocks stolen from 640kB base RAM
     17    .wFlags             resb    2   ; Word for ROM flags
     18    .wDisplayMode       resb    2   ; Display mode for boot menu
     19    .wBootTimeout       resb    2   ; Boot Menu selection timeout in system timer ticks
     20    .bIdeCnt            resb    1   ; Number of available IDE controllers
     21    .bBootDrv           resb    1   ; Boot Menu default drive
     22    .bMinFddCnt         resb    1   ; Minimum number of Floppy Drives
     23    .bStealSize         resb    1   ; Number of 1kB blocks stolen from 640kB base RAM
    2424
    25     .ideVars0       resb    IDEVARS_size
    26     .ideVars1       resb    IDEVARS_size
    27     .ideVars2       resb    IDEVARS_size
    28     .ideVars3       resb    IDEVARS_size
     25    .ideVars0           resb    IDEVARS_size
     26    .ideVars1           resb    IDEVARS_size
     27    .ideVars2           resb    IDEVARS_size
     28    .ideVars3           resb    IDEVARS_size
    2929
    3030%ifdef MODULE_SERIAL
     
    3434
    3535; Bit defines for ROMVARS.wFlags
    36 FLG_ROMVARS_FULLMODE    EQU (1<<0)  ; Full operating mode (steals base RAM, supports EBIOS etc.)
    37 FLG_ROMVARS_DRVXLAT     EQU (1<<2)  ; Enable drive number translation
     36FLG_ROMVARS_FULLMODE        EQU (1<<0)  ; Full operating mode (steals base RAM, supports EBIOS etc.)
     37FLG_ROMVARS_DRVXLAT         EQU (1<<2)  ; Enable drive number translation
    3838FLG_ROMVARS_MODULE_SERIAL   EQU (1<<3)
    3939FLG_ROMVARS_MODULE_EBIOS    EQU (1<<4)
Note: See TracChangeset for help on using the changeset viewer.