- Timestamp:
- Jun 9, 2012, 10:33:53 AM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Initialization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r413 r431 78 78 call RamVars_Initialize 79 79 call BootVars_Initialize 80 call DetectDrives_FromAllIDEControllers 80 81 call Interrupts_InitializeInterruptVectors 81 call DetectDrives_FromAllIDEControllers82 82 ; Fall to .StoreDptPointersToIntVectors 83 83 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r417 r431 22 22 23 23 ;-------------------------------------------------------------------- 24 ; Drives must be detected before this function is called! 25 ; 24 26 ; Interrupts_InitializeInterruptVectors 25 27 ; Parameters: … … 32 34 ;-------------------------------------------------------------------- 33 35 Interrupts_InitializeInterruptVectors: 36 ; Install INT 19h handler to properly reset the system 37 mov al, BIOS_BOOT_LOADER_INTERRUPT_19h ; INT 19h interrupt vector offset 38 mov si, Int19hReset_Handler ; INT 19h handler to reboot the system 39 call Interrupts_InstallHandlerToVectorInALFromCSSI 40 41 ; If no drives detected, leave system INT 13h and 40h handlers 42 ; in place. We need our INT 13h handler to swap drive letters. 43 %ifndef MODULE_HOTKEYS 44 cmp BYTE [RAMVARS.bDrvCnt], 0 45 je SHORT Interrupts_Return 46 %endif 34 47 ; Fall to .InitializeInt13hAnd40h 35 48 … … 66 79 eCMOVNZ si, Int13h_DiskFunctionsHandlerWithStackChange 67 80 %endif 68 call Interrupts_InstallHandlerToVectorInALFromCSSI 69 70 ; Install INT 19h handler to properly reset the system 71 mov al, BIOS_BOOT_LOADER_INTERRUPT_19h ; INT 19h interrupt vector offset 72 mov si, Int19hReset_Handler ; INT 19h handler to reboot the system 81 73 82 %ifndef MODULE_IRQ 74 83 ; Fall to Interrupts_InstallHandlerToVectorInALFromCSSI … … 163 172 mov [es:bx], si ; Store offset 164 173 mov [es:bx+2], cs ; Store segment 174 Interrupts_Return: 165 175 ret 166 176
Note:
See TracChangeset
for help on using the changeset viewer.