Last change
on this file since 114 was 90, checked in by Tomi Tilli, 14 years ago |
Changes to XTIDE Universal BIOS:
- Removed INT 13h format and diagnostics functions.
- Removed INT 18h callback handler.
- Removed configuration for early/late initialization. Now XT builds always use late and AT build early initialization.
- Reduced number of supported IDE controllers from 5 to 4.
- Removed reserved configuration bytes.
- Removed simple and system boot loaders.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[90] | 1 | ; Project name : XTIDE Universal BIOS
|
---|
| 2 | ; Description : Late initialization for XT builds.
|
---|
| 3 |
|
---|
| 4 | ; Section containing code
|
---|
| 5 | SECTION .text
|
---|
| 6 |
|
---|
| 7 | ;--------------------------------------------------------------------
|
---|
| 8 | ; Int19hLate_InitializeInt19h
|
---|
| 9 | ; Parameters:
|
---|
| 10 | ; ES: BDA segment
|
---|
| 11 | ; Returns:
|
---|
| 12 | ; Nothing
|
---|
| 13 | ; Corrupts registers:
|
---|
| 14 | ; BX, SI
|
---|
| 15 | ;--------------------------------------------------------------------
|
---|
| 16 | ALIGN JUMP_ALIGN
|
---|
| 17 | Int19hLate_InitializeInt19h:
|
---|
| 18 | mov bx, INTV_BOOTSTRAP
|
---|
| 19 | mov si, HandlerForLateInitialization
|
---|
| 20 | jmp Interrupts_InstallHandlerToVectorInBXFromCSSI
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | ;--------------------------------------------------------------------
|
---|
| 24 | ; HandlerForLateInitialization
|
---|
| 25 | ; Parameters:
|
---|
| 26 | ; Nothing
|
---|
| 27 | ; Returns:
|
---|
| 28 | ; Never returns
|
---|
| 29 | ;--------------------------------------------------------------------
|
---|
| 30 | ALIGN JUMP_ALIGN
|
---|
| 31 | HandlerForLateInitialization:
|
---|
| 32 | LOAD_BDA_SEGMENT_TO es, ax
|
---|
| 33 | call Initialize_ShouldSkip ; Skip initialization?
|
---|
| 34 | jnz SHORT .SkipInitialization
|
---|
| 35 | call Initialize_AndDetectDrives ; Installs boot menu loader
|
---|
| 36 | int INTV_BOOTSTRAP
|
---|
| 37 | .SkipInitialization:
|
---|
| 38 | call RamVars_Initialize ; RAMVARS must be initialized even for simple boot loader
|
---|
| 39 | int INTV_BOOTSTRAP ; Call default system boot loader
|
---|
Note:
See
TracBrowser
for help on using the repository browser.