Changeset 399 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2


Ignore:
Timestamp:
Apr 19, 2012, 10:39:44 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Added Power Management (Standby Timer) support to the BIOS and made it part of an optional module (MODULE_FEATURE_SETS). The total amount of ROM space used by this feature is 37 bytes. UNTESTED
  • Size optimizations (mostly inlining of procedures) and fixed a few bugs in AH9h_HInit.asm:
    1. DPT_ATA.bInitError would be cleared only if MODULE_SERIAL was not defined.
    2. The FLG_INITERROR_FAILED_TO_SET_BLOCK_MODE flag could never be set.
    3. InitializeBlockMode could potentially loop forever if there was an error.
  • Removed some odd looking code in .PushResetStatus in BootMenuPrintCfg.asm
  • Made some changes to XTIDECFG so it can be built.
Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm

    r376 r399  
    33
    44;
    5 ; XTIDE Universal BIOS and Associated Tools 
     5; XTIDE Universal BIOS and Associated Tools
    66; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    77;
     
    1010; the Free Software Foundation; either version 2 of the License, or
    1111; (at your option) any later version.
    12 ; 
     12;
    1313; This program is distributed in the hope that it will be useful,
    1414; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1515; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16 ; GNU General Public License for more details.     
     16; GNU General Public License for more details.
    1717; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    18 ;       
     18;
    1919
    2020; Section containing initialized data
     
    7171iend
    7272
    73 g_MenuitemBootMenuSerialScanDetect:     
     73g_MenuitemBootMenuSerialScanDetect:
    7474istruc MENUITEM
    7575    at  MENUITEM.fnActivate,        dw  Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI
     
    134134iend
    135135
     136%if 0   ; *FIXME*
    136137g_MenuitemBootMnuStngsSwapBootDriveNumbers:
    137138istruc MENUITEM
     
    149150    at  MENUITEM.itemValue + ITEM_VALUE.wValueBitmask,              dw  FLG_ROMVARS_DRVXLAT
    150151iend
     152%endif
    151153
    152154
     
    221223    or      [g_MenuitemBootMnuStngsDefaultBootDrive+MENUITEM.bFlags], al
    222224    or      [g_MenuitemBootMnuStngsSelectionTimeout+MENUITEM.bFlags], al
    223     or      [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al
     225;   or      [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al
    224226    ret
    225227
     
    228230    and     [g_MenuitemBootMnuStngsDefaultBootDrive+MENUITEM.bFlags], al
    229231    and     [g_MenuitemBootMnuStngsSelectionTimeout+MENUITEM.bFlags], al
    230     and     [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al
    231     ret 
     232;   and     [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al
     233    ret
    232234
    233235
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm

    r376 r399  
    33
    44;
    5 ; XTIDE Universal BIOS and Associated Tools 
     5; XTIDE Universal BIOS and Associated Tools
    66; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    77;
     
    1010; the Free Software Foundation; either version 2 of the License, or
    1111; (at your option) any later version.
    12 ; 
     12;
    1313; This program is distributed in the hope that it will be useful,
    1414; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1515; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16 ; GNU General Public License for more details.     
     16; GNU General Public License for more details.
    1717; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    18 ;       
     18;
    1919
    2020; Section containing initialized data
     
    523523        jb      .writeNonSerial
    524524
    525         mov     ax,DEVICE_ATA_DEFAULT_PORT          ; Defaults for 16-bit and better ATA devices
    526         mov     bx,DEVICE_ATA_DEFAULT_PORTCTRL
     525        mov     ax, DEVICE_ATA_PRIMARY_PORT         ; Defaults for 16-bit and better ATA devices
     526        mov     bx, DEVICE_ATA_PRIMARY_PORTCTRL
    527527
    528528.writeNonSerial:
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r380 r399  
    356356g_szItemBootDispMode:   db  "Display Mode",NULL
    357357g_szItemBootFloppyDrvs: db  "Number of Floppy Drives",NULL
    358 g_szItemBootSwap:       db  "Swap boot drive numbers",NULL
     358;g_szItemBootSwap:      db  "Swap boot drive numbers",NULL
    359359g_szItemSerialDetect:   db  "Scan for Serial Drives",NULL
    360360
     
    364364g_szDlgBootDispMode:    db  "Select display mode for Boot Menu.",NULL
    365365g_szDlgBootFloppyDrvs:  db  "Select number of Floppy Drives to display on boot menu.",NULL
    366 g_szDlgBootSwap:        db  "Enable drive number translation?",NULL
     366;g_szDlgBootSwap:       db  "Enable drive number translation?",NULL
    367367g_szDlgSerialDetect:    db  "Scan for serial drives?",NULL
    368368
     
    372372g_szNfoDispMode:        db  "Display Mode for Boot Menu.",NULL
    373373g_szNfoBootFloppyDrvs:  db  "Number of Floppy Drives to display on boot menu.",NULL
    374 g_szNfoBootSwap:        db  "Drive Number Translation (swap first drive with selected).",NULL
     374;g_szNfoBootSwap:       db  "Drive Number Translation (swap first drive with selected).",NULL
    375375g_szNfoSerialDetect:    db  "Scans all standard COM ports for serial drives."
    376376                        db  " This can also be invoked by holding down ALT at the end of normal drive detection.",NULL
     
    382382g_szHelpBootFloppyDrvs: incbin  "Bootmenu_FloppyDrives.txt"
    383383                        db  NULL
    384 g_szHelpBootSwap:       incbin  "Bootmenu_SwapDrives.txt"
    385                         db  NULL
     384;g_szHelpBootSwap:      incbin  "Bootmenu_SwapDrives.txt"
     385;                       db  NULL
    386386g_szHelpSerialDetect:   incbin  "Bootmenu_SerialDetect.txt"
    387387                        db  NULL
Note: See TracChangeset for help on using the changeset viewer.