Changeset 491 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Dec 15, 2012, 2:46:29 PM (11 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Added a new define (USE_UNDOC_INTEL) that enables optimizations possible by using undocumented instructions available on all Intel processors and truly compatible clones. AFAIK the only exceptions are the NEC V-series and the Sony CXQ70108 processors so this option should be safe for use on the AT builds.
  • Building BIOSDRVS or the BIOS without MODULE_STRINGS_COMPRESSED would fail due to the recent code exclusions so I changed them a bit. Also fixed the mistaken change to Main.asm
  • Changed the Tandy specific info in Configuration_FullMode.txt so it matches the info in the Wiki.
  • Optimizations and fixes in general.
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc

    r487 r491  
    55
    66;
    7 ; XTIDE Universal BIOS and Associated Tools 
     7; XTIDE Universal BIOS and Associated Tools
    88; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    99;
     
    1212; the Free Software Foundation; either version 2 of the License, or
    1313; (at your option) any later version.
    14 ; 
     14;
    1515; This program is distributed in the hope that it will be useful,
    1616; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1717; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18 ; GNU General Public License for more details.     
     18; GNU General Public License for more details.
    1919; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2020;
     
    3434; Possible base addresses. Note that all XT-CF IDE registers are SHL 1 compared
    3535; to standard IDE registers.
     36XTCF_BASE_PORT_DETECTION_SEED       EQU     140h    ; Not a valid base address but needed for autodetection
    3637XTCF_BASE_PORT_1                    EQU     200h
    3738XTCF_BASE_PORT_2                    EQU     240h
     
    4243; XT-CF Control Register (do not SHL 1 these!)
    4344XTCF_CONTROL_REGISTER               EQU     1Fh
    44 XTCT_CONTROL_REGISTER_INVERTED_in   EQU     1Eh
     45XTCF_CONTROL_REGISTER_INVERTED_in   EQU     1Eh
    4546
    4647; Control Register contents:
     
    4849; Control Register holds high byte from Sector Window segment if >= A0h
    4950; (First possible segment for Sector Window is A000h)
    50 ; 
     51;
    5152; 8-bit PIO transfers (port I/O) are used if Control Register is zero.
    5253; Any other value means DMA transfers (using DMA channel 3).
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r488 r491  
    4545    .twLbaSectors           resb    6   ; 48-bit sector count for LBA addressing
    4646%endif
    47                             alignb  2   ; WORD alignent for DPT_SERIAL or DPT_ATA
     47                            alignb  2   ; WORD alignment for DPT_SERIAL or DPT_ATA
    4848endstruc
    4949
     
    133133; first! DPT_ATA.bDevice uses small values so there will be no problems.
    134134%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    135 %if DPT_SERIAL.bSerialPort <> DPT_ATA.bDevice
    136     %error "DPT_ATA.bDevice and DPT_SERIAL.bSerialPort must be in same offsets!"
     135    %if DPT_SERIAL.bSerialPort <> DPT_ATA.bDevice
     136        %error "DPT_ATA.bDevice and DPT_SERIAL.bSerialPort must be in same offsets!"
     137    %endif
    137138%endif
    138 %endif
    139 %endif
     139%endif ; MODULE_SERIAL
    140140
    141141
  • trunk/XTIDE_Universal_BIOS/Inc/IDE_8bit.inc

    r445 r491  
    5555    shl     cx, 5
    5656%else
    57     UNROLL_SECTORS_IN_CX_TO_QWORDS
    58     shr     cx, 1
     57;   UNROLL_SECTORS_IN_CX_TO_QWORDS
     58;   shr     cx, 1
     59    mov     ch, cl      ; 2 bytes shorter but possibly slower
     60    mov     cl, 3
     61    shr     cx, cl
    5962%endif
    6063%endmacro
  • trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.inc

    r477 r491  
    1 ; /*
    21; Project name  :   XTIDE Universal BIOS
    32; Description   :   Dependencies for optional modules.
    43
    54;
    6 ; XTIDE Universal BIOS and Associated Tools 
     5; XTIDE Universal BIOS and Associated Tools
    76; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    87;
     
    1110; the Free Software Foundation; either version 2 of the License, or
    1211; (at your option) any later version.
    13 ; 
     12;
    1413; This program is distributed in the hope that it will be useful,
    1514; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1615; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17 ; GNU General Public License for more details.     
     16; GNU General Public License for more details.
    1817; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    1918;
     
    3130    %endif
    3231%endif
    33 
    3432
    3533
     
    5351    %include "HotkeyBar.inc"        ; For Hotkeys
    5452    %ifdef MODULE_BOOT_MENU
    55         %include "BootMenu.inc"         ; For Boot Menu
     53        %include "BootMenu.inc"     ; For Boot Menu
    5654    %endif
    5755%endif
     
    6058    %include "IntController.inc"
    6159%endif
    62 
    6360
    6461
Note: See TracChangeset for help on using the changeset viewer.