Changeset 248 in xtideuniversalbios
- Timestamp:
- Feb 13, 2012, 1:22:18 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
r233 r248 10 10 ; Variables for translating drive numbers. 11 11 struc XLATEVARS 12 .wFDandHDswap: 12 13 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa 13 14 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
r243 r248 27 27 28 28 ;-------------------------------------------------------------------- 29 ; BootMenu_GetDriveToDXforMenuitemInCX_And_RamVars_GetSegmentToDS 29 30 ; BootMenu_GetDriveToDXforMenuitemInCX 30 31 ; Parameters: -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r241 r248 134 134 cmp ax, [bp+MENUINIT.wItems] 135 135 jae SHORT BootMenuEvent_EventCompleted ; Invalid key 136 137 ; Highlighting new item resets drive translation and we do not want that. 138 ; We must be able to translate both floppy drive and hard drive when using hotkey. 139 call RamVars_GetSegmentToDS 140 mov dx, [RAMVARS.xlateVars+XLATEVARS.wFDandHDswap] 136 141 CALL_MENU_LIBRARY HighlightItemFromAX 142 or [RAMVARS.xlateVars+XLATEVARS.wFDandHDswap], dx 137 143 ; Fall to .ItemSelectedFromCX 138 144 … … 143 149 .ItemSelectedFromCX: 144 150 CALL_MENU_LIBRARY Close 145 151 146 152 BootMenuEvent_EventCompleted: 147 153 stc -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DriveXlate.asm
r181 r248 85 85 ALIGN JUMP_ALIGN 86 86 DriveXlate_Reset: 87 mov WORD [RAMVARS.xlateVars ], 8000h ; .bFDSwap and .bHDSwap87 mov WORD [RAMVARS.xlateVars+XLATEVARS.wFDandHDswap], 8000h 88 88 ret 89 89 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r243 r248 154 154 iend 155 155 156 ; Libraries and data156 ; Libraries, data, Initialization and drive detection 157 157 %include "AssemblyLibrary.asm" 158 %ifdef MODULE_STRINGS_COMPRESSED159 %include "StringsCompressed.asm"160 %else161 %include "Strings.asm" ; For BIOS message strings162 %endif163 164 ; Initialization and drive detection165 158 %include "Initialize.asm" ; For BIOS initialization 166 159 %include "Interrupts.asm" ; For Interrupt initialization 167 160 %include "RamVars.asm" ; For RAMVARS initialization and access 161 %ifdef MODULE_STRINGS_COMPRESSED 162 %include "StringsCompressed.asm" 163 %else 164 %include "Strings.asm" ; For BIOS message strings 165 %endif 168 166 %include "CreateDPT.asm" ; For creating DPTs 169 167 %include "FindDPT.asm" ; For finding DPTs … … 173 171 %include "DetectDrives.asm" ; For detecting IDE drives 174 172 %include "DetectPrint.asm" ; For printing drive detection strings 175 173 176 174 ; Boot menu 177 175 %include "BootMenu.asm" ; For Boot Menu operations
Note:
See TracChangeset
for help on using the changeset viewer.