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


Ignore:
Timestamp:
Apr 8, 2012, 6:17:37 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Added code to XTIDECFG for Power Management (standby timer) support in the BIOS.
  • Some minor optimizations.
File:
1 edited

Legend:

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

    r379 r380  
    1414
    1515;
    16 ; XTIDE Universal BIOS and Associated Tools 
     16; XTIDE Universal BIOS and Associated Tools
    1717; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    1818;
     
    2121; the Free Software Foundation; either version 2 of the License, or
    2222; (at your option) any later version.
    23 ; 
     23;
    2424; This program is distributed in the hope that it will be useful,
    2525; but WITHOUT ANY WARRANTY; without even the implied warranty of
    2626; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    27 ; GNU General Public License for more details.     
     27; GNU General Public License for more details.
    2828; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2929;
     
    114114    at  ROMVARS.bMinFddCnt,     db  0                       ; Do not force minimum number of floppy drives
    115115    at  ROMVARS.bStealSize,     db  1                       ; Steal 1kB from base memory
     116    at  ROMVARS.bIdleTimeout,   db  0                       ; Standby timer disabled by default
    116117
    117118    at  ROMVARS.ideVars0+IDEVARS.wPort,         dw  DEVICE_ATA_DEFAULT_PORT         ; Controller Command Block base port
     
    157158    at  ROMVARS.bMinFddCnt,     db  1                       ; Assume at least 1 floppy drive present if autodetect fails
    158159    at  ROMVARS.bStealSize,     db  1                       ; Steal 1kB from base memory in full mode
     160    at  ROMVARS.bIdleTimeout,   db  0                       ; Standby timer disabled by default
    159161
    160162    at  ROMVARS.ideVars0+IDEVARS.wPort,         dw  DEVICE_XTIDE_DEFAULT_PORT           ; Controller Command Block base port
     
    184186iend
    185187
    186     ; Strings are first to avoid them moving unnessarily when code is turned on and off with %ifdef's
     188    ; Strings are first to avoid them moving unnecessarily when code is turned on and off with %ifdef's
    187189    ; since some groups of strings need to be on the same 256-byte page.
    188190    ;
    189191%ifdef MODULE_STRINGS_COMPRESSED
    190192    %define STRINGSCOMPRESSED_STRINGS
    191     %include "StringsCompressed.asm" 
     193    %include "StringsCompressed.asm"
    192194%else
    193195    %include "Strings.asm"          ; For BIOS message strings
     
    199201
    200202    ; String compression tables need to come after the AssemblyLibrary (since they depend on addresses
    201     ; established in the assembly library), and are unncessary if strings are not compressed.
     203    ; established in the assembly library), and are unnecessary if strings are not compressed.
    202204    ;
    203205%ifdef MODULE_STRINGS_COMPRESSED
    204     %undef  STRINGSCOMPRESSED_STRINGS       
     206    %undef  STRINGSCOMPRESSED_STRINGS
    205207    %define STRINGSCOMPRESSED_TABLES
    206208    %include "StringsCompressed.asm"
    207209%endif
    208        
     210
    209211    %include "Initialize.asm"       ; For BIOS initialization
    210212    %include "Interrupts.asm"       ; For Interrupt initialization
Note: See TracChangeset for help on using the changeset viewer.