Changeset 392 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Apr 17, 2012, 2:42:54 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 3 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r386 r392 55 55 jcxz .AddHardDisks ; Set to zero on .ideVarsSerialAuto iteration (if any) 56 56 %endif 57 58 57 loop .DriveDetectLoop 59 58 … … 155 154 StartDetectionWithDriveSelectByteInBHandStringInCX: 156 155 call DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 156 call HotkeyBar_UpdateDuringDriveDetection 157 157 ; Fall to .ReadAtaInfoFromHardDisk 158 158 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm
r386 r392 22 22 23 23 ;-------------------------------------------------------------------- 24 ; BootMenuPrint_InitializeDisplayContext 25 ; Parameters: 26 ; Nothing 27 ; Returns: 28 ; Nothing 29 ; Corrupts registers: 30 ; AX, DI 31 ;-------------------------------------------------------------------- 32 BootMenuPrint_InitializeDisplayContext: 33 CALL_DISPLAY_LIBRARY InitializeDisplayContext 24 ; DetectPrint_InitializeDisplayContext 25 ; Parameters: 26 ; Nothing 27 ; Returns: 28 ; Nothing 29 ; Corrupts registers: 30 ; AX, DI 31 ;-------------------------------------------------------------------- 32 DetectPrint_InitializeDisplayContext: 33 CALL_DISPLAY_LIBRARY InitializeDisplayContext 34 ret 35 36 37 ;-------------------------------------------------------------------- 38 ; DetectPrint_GetSoftwareCoordinatesToAX 39 ; Parameters: 40 ; Nothing 41 ; Returns: 42 ; Nothing 43 ; Corrupts registers: 44 ; AX, DI 45 ;-------------------------------------------------------------------- 46 DetectPrint_GetSoftwareCoordinatesToAX: 47 CALL_DISPLAY_LIBRARY GetSoftwareCoordinatesToAX 34 48 ret 35 49 … … 186 200 ; Nothing 187 201 ; Corrupts registers: 188 ; AX, SI, DI202 ; AX, DH, SI, DI 189 203 ;-------------------------------------------------------------------- 190 204 DetectPrint_TryToBootFromDL: … … 192 206 mov bp, sp 193 207 194 mov ax, g_szHDD 195 test dl, dl 196 js SHORT .NotFDD 197 mov ax, g_szFDD 198 .NotFDD: 199 push ax 200 201 call DriveXlate_ToOrBack 202 push dx ; Push untranslated drive number 203 call DriveXlate_ToOrBack 204 push dx ; Push translated drive number 208 call DriveXlate_ToOrBack ; DL = Untranslated Drive number 209 mov dh, dl 210 call DriveXlate_ToOrBack ; DL = Translated Drive number 211 212 call HotkeyBar_ConvertDriveNumberFromDLtoDriveLetter ; DL = Translated letter 213 xchg dl, dh 214 call HotkeyBar_ConvertDriveNumberFromDLtoDriveLetter ; DL = Untranslated letter 215 push dx 216 xchg dl, dh 217 push dx 218 219 call ConvertDriveLetterInDLtoDriveNumber ; Restore DL 205 220 206 221 mov si, g_szTryToBoot … … 226 241 push bp 227 242 mov bp,sp 228 ; Fall to BootMenuPrint_FormatCSSIfromParamsInSSBP243 ; Fall to DetectPrint_FormatCSSIfromParamsInSSBP 229 244 230 245 ;-------------------------------------------------------------------- -
trunk/XTIDE_Universal_BIOS/Src/Initialization/FloppyDrive.asm
r376 r392 125 125 ; AX, CX, DX, DI, ES 126 126 ;-------------------------------------------------------------------- 127 %ifdef MODULE_BOOT_MENU 127 128 FloppyDrive_GetType: 128 129 mov ah, 08h ; Get Drive Parameters … … 130 131 int BIOS_DISKETTE_INTERRUPT_40h 131 132 ret 133 %endif 132 134 133 135 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r376 r392 69 69 ;-------------------------------------------------------------------- 70 70 Initialize_AndDetectDrives: 71 call BootMenuPrint_InitializeDisplayContext71 call DetectPrint_InitializeDisplayContext 72 72 call DetectPrint_RomFoundAtSegment 73 73 call RamVars_Initialize 74 call BootVars_Initialize 74 75 call Interrupts_InitializeInterruptVectors 75 76 call DetectDrives_FromAllIDEControllers -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r376 r392 63 63 mov si, Int13h_DiskFunctionsHandler ; Interrupt handler offset 64 64 call Interrupts_InstallHandlerToVectorInALFromCSSI 65 66 ; Install INT 19h handler to properly reset the system 67 mov al, BIOS_BOOT_LOADER_INTERRUPT_19h ; INT 19h interrupt vector offset 68 mov si, Int19hReset_Handler ; INT 19h handler to reboot the system 69 call Interrupts_InstallHandlerToVectorInALFromCSSI 65 70 ; Fall to .InitializeHardwareIrqHandlers 66 71
Note:
See TracChangeset
for help on using the changeset viewer.