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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrintCfg.asm

    r392 r399  
    22; Description   :   Functions for printing drive configuration
    33;                   information on Boot Menu.
    4 ; 
     4;
    55; Included by BootMenuPrint.asm, this routine is to be inserted into
    66; BootMenuPrint_HardDiskRefreshInformation.
     
    88
    99;
    10 ; XTIDE Universal BIOS and Associated Tools 
     10; XTIDE Universal BIOS and Associated Tools
    1111; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    1212;
     
    1515; the Free Software Foundation; either version 2 of the License, or
    1616; (at your option) any later version.
    17 ; 
     17;
    1818; This program is distributed in the hope that it will be useful,
    1919; but WITHOUT ANY WARRANTY; without even the implied warranty of
    2020; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2121; GNU General Public License for more details.
    22 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html               
     22; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2323;
    24                
     24
    2525; Section containing code
    2626SECTION .text
     
    131131;--------------------------------------------------------------------
    132132.PushResetStatus:
    133     xor     ax, ax
    134 %ifdef MODULE_SERIAL
    135     test    BYTE [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE
    136     jnz     SHORT .AlwaysSuccess
    137133    mov     al, [di+DPT_ATA.bInitError]
    138 .AlwaysSuccess:
    139 %endif
    140134    push    ax
    141135
Note: See TracChangeset for help on using the changeset viewer.