Changeset 399 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


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/Initialization/AdvancedAta/AdvAtaInit.asm

    r392 r399  
    44
    55;
    6 ; XTIDE Universal BIOS and Associated Tools 
     6; XTIDE Universal BIOS and Associated Tools
    77; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    88;
     
    1111; the Free Software Foundation; either version 2 of the License, or
    1212; (at your option) any later version.
    13 ; 
     13;
    1414; This program is distributed in the hope that it will be useful,
    1515; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1616; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17 ; GNU General Public License for more details.     
     17; GNU General Public License for more details.
    1818; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    19 ;       
     19;
    2020
    2121; Section containing code
     
    7575;--------------------------------------------------------------------
    7676AdvAtaInit_InitializeControllerForDPTinDSDI:
    77     push    bp
    78     push    si
    79 
    8077    ; Call Controller Specific initialization function
    8178    mov     ax, [di+DPT_ADVANCED_ATA.wControllerID]
     
    8380    jz      SHORT .NoAdvancedController ; Return with CF cleared
    8481
     82    push    bp
     83    push    si
     84
    8585    ; We only support Vision at the moment so no need to identify ID
    8686    call    AdvAtaInit_LoadMasterDPTtoDSSIifSlaveInDSDI
    8787    call    Vision_InitializeWithIDinAHandConfigInAL
    8888
    89 .NoAdvancedController:
    9089    pop     si
    9190    pop     bp
     91
     92.NoAdvancedController:
    9293    ret
    9394
Note: See TracChangeset for help on using the changeset viewer.