Changeset 380 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS
- Timestamp:
- Apr 8, 2012, 6:17:37 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/IdeRegisters.inc
r376 r380 3 3 4 4 ; 5 ; XTIDE Universal BIOS and Associated Tools 5 ; XTIDE Universal BIOS and Associated Tools 6 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 7 7 ; … … 10 10 ; the Free Software Foundation; either version 2 of the License, or 11 11 ; (at your option) any later version. 12 ; 12 ; 13 13 ; This program is distributed in the hope that it will be useful, 14 14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 ; 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. 17 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 18 ; … … 97 97 COMMAND_IDENTIFY_DEVICE EQU 0ECh 98 98 COMMAND_SET_FEATURES EQU 0EFh 99 COMMAND_IDLE EQU 0E3h 99 100 100 101 … … 102 103 FEATURE_ENABLE_WRITE_CACHE EQU 02h 103 104 FEATURE_DISABLE_WRITE_CACHE EQU 82h ; Can also be used to flush cache 104 FEATURE_SET_TRANSFER_MODE EQU 03h ; Transfe mode goes to the Sector Count Register105 FEATURE_SET_TRANSFER_MODE EQU 03h ; Transfer mode goes to the Sector Count Register 105 106 PIO_DEFAULT_MODE EQU 0h 106 107 PIO_DEFAULT_MODE_DISABLE_IORDY EQU 1h -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r376 r380 4 4 5 5 ; 6 ; XTIDE Universal BIOS and Associated Tools 6 ; XTIDE Universal BIOS and Associated Tools 7 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 8 8 ; … … 11 11 ; the Free Software Foundation; either version 2 of the License, or 12 12 ; (at your option) any later version. 13 ; 13 ; 14 14 ; This program is distributed in the hope that it will be useful, 15 15 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 16 16 ; 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. 18 18 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 19 19 ; … … 40 40 .bMinFddCnt resb 1 ; Minimum number of Floppy Drives 41 41 .bStealSize resb 1 ; Number of 1kB blocks stolen from 640kB base RAM 42 .bIdleTimeout resb 1 ; Standby timer value 42 43 43 44 .ideVarsBegin: -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r379 r380 14 14 15 15 ; 16 ; XTIDE Universal BIOS and Associated Tools 16 ; XTIDE Universal BIOS and Associated Tools 17 17 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 18 18 ; … … 21 21 ; the Free Software Foundation; either version 2 of the License, or 22 22 ; (at your option) any later version. 23 ; 23 ; 24 24 ; This program is distributed in the hope that it will be useful, 25 25 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 26 26 ; 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. 28 28 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 29 29 ; … … 114 114 at ROMVARS.bMinFddCnt, db 0 ; Do not force minimum number of floppy drives 115 115 at ROMVARS.bStealSize, db 1 ; Steal 1kB from base memory 116 at ROMVARS.bIdleTimeout, db 0 ; Standby timer disabled by default 116 117 117 118 at ROMVARS.ideVars0+IDEVARS.wPort, dw DEVICE_ATA_DEFAULT_PORT ; Controller Command Block base port … … 157 158 at ROMVARS.bMinFddCnt, db 1 ; Assume at least 1 floppy drive present if autodetect fails 158 159 at ROMVARS.bStealSize, db 1 ; Steal 1kB from base memory in full mode 160 at ROMVARS.bIdleTimeout, db 0 ; Standby timer disabled by default 159 161 160 162 at ROMVARS.ideVars0+IDEVARS.wPort, dw DEVICE_XTIDE_DEFAULT_PORT ; Controller Command Block base port … … 184 186 iend 185 187 186 ; Strings are first to avoid them moving unne ssarily when code is turned on and off with %ifdef's188 ; Strings are first to avoid them moving unnecessarily when code is turned on and off with %ifdef's 187 189 ; since some groups of strings need to be on the same 256-byte page. 188 190 ; 189 191 %ifdef MODULE_STRINGS_COMPRESSED 190 192 %define STRINGSCOMPRESSED_STRINGS 191 %include "StringsCompressed.asm" 193 %include "StringsCompressed.asm" 192 194 %else 193 195 %include "Strings.asm" ; For BIOS message strings … … 199 201 200 202 ; String compression tables need to come after the AssemblyLibrary (since they depend on addresses 201 ; established in the assembly library), and are unn cessary if strings are not compressed.203 ; established in the assembly library), and are unnecessary if strings are not compressed. 202 204 ; 203 205 %ifdef MODULE_STRINGS_COMPRESSED 204 %undef STRINGSCOMPRESSED_STRINGS 206 %undef STRINGSCOMPRESSED_STRINGS 205 207 %define STRINGSCOMPRESSED_TABLES 206 208 %include "StringsCompressed.asm" 207 209 %endif 208 210 209 211 %include "Initialize.asm" ; For BIOS initialization 210 212 %include "Interrupts.asm" ; For Interrupt initialization -
trunk/XTIDE_Universal_BIOS/makefile
r379 r380 8 8 # clean Removes all files from \Build # 9 9 # checksum* Builds all and then generates checksum byte to all binary files # 10 # strings* Compress src\ strings.asm to src\StringsCompressed.asm #10 # strings* Compress src\Strings.asm to src\StringsCompressed.asm # 11 11 # # 12 12 # * at the end of target name means that Perl is required for the job. # … … 16 16 # Following modules can be included or excluded: # 17 17 # MODULE_ADVANCED_ATA Native support for some VLB IDE controllers # 18 # MODULE_BOOT_MENU Boot Menu for selection drive to boot from#19 # MODULE_EBIOS Enhanced functions for access drives over 8.4 GB#18 # MODULE_BOOT_MENU Boot Menu for selection of drive to boot from # 19 # MODULE_EBIOS Enhanced functions for accessing drives over 8.4 GB # 20 20 # MODULE_JRIDE Support for JR-IDE/ISA # 21 21 # MODULE_SERIAL Virtual hard disks using serial port # 22 # MODULE_SERIAL_FLOPPY Virtual floppy drives using serial port 23 # MODULE_STRINGS_COMPRESSED Compressed strings to save space#22 # MODULE_SERIAL_FLOPPY Virtual floppy drives using serial port (requires MODULE_SERIAL) # 23 # MODULE_STRINGS_COMPRESSED Use compressed strings to save space # 24 24 # # 25 25 # Not modules but these affect the assembly: # 26 # ELIMINATE_CGA_SNOW Prevents CGA snowing at the cost of few bytes#26 # ELIMINATE_CGA_SNOW Prevents CGA snowing at the cost of a few bytes # 27 27 # USE_186 Use instructions supported by 80188/80186 and V20/V30 and later # 28 28 # USE_286 Use instructions supported by 286 and later #
Note:
See TracChangeset
for help on using the changeset viewer.