Changeset 90 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
- Timestamp:
- Jan 27, 2011, 11:31:31 AM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r86 r90 1 ; Project name : IDEBIOS1 ; Project name : XTIDE Universal BIOS 2 2 ; Description : Functions for initializing the BIOS. 3 3 … … 66 66 ALIGN JUMP_ALIGN 67 67 Interrupts_InitializeInt19h: 68 eMOVZX bx, [cs:ROMVARS.bBootLdrType] ; Load boot loader type 69 mov si, INTV_BOOTSTRAP ; 19h 70 xchg bx, si ; SI=Loader type, BX=19h 71 jmp [cs:si+.rgwSetupBootLoader] ; Jump to install selected loader 72 ALIGN WORD_ALIGN 73 .rgwSetupBootLoader: 74 dw .SetupBootMenuLoader ; BOOTLOADER_TYPE_MENU 75 dw .SetupSimpleLoader ; BOOTLOADER_TYPE_SIMPLE 76 dw .SetupBootMenuLoader ; reserved 77 dw .NoBootLoader ; BOOTLOADER_TYPE_NONE 78 79 ALIGN JUMP_ALIGN 80 .NoBootLoader: 81 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_LATE 82 jnz SHORT .SetupSimpleLoader ; Boot loader required for late initialization 83 ret 84 ALIGN JUMP_ALIGN 85 .SetupSimpleLoader: 86 mov si, Int19h_SimpleBootLoader 87 jmp Interrupts_InstallHandlerToVectorInBXFromCSSI 88 ALIGN JUMP_ALIGN 89 .SetupBootMenuLoader: 68 mov bx, INTV_BOOTSTRAP 90 69 mov si, Int19hMenu_BootLoader 91 70 jmp Interrupts_InstallHandlerToVectorInBXFromCSSI
Note:
See TracChangeset
for help on using the changeset viewer.