Changeset 229 in xtideuniversalbios
- Timestamp:
- Jan 29, 2012, 5:46:59 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm
r228 r229 66 66 mov [si+EDRIVE_INFO.qwTotalSectors+2], dx 67 67 mov [si+EDRIVE_INFO.qwTotalSectors+4], bx 68 mov [si+EDRIVE_INFO.qwTotalSectors+6], ax 68 mov [si+EDRIVE_INFO.qwTotalSectors+6], ax ; Always zero 69 69 mov WORD [si+EDRIVE_INFO.wSectorSize], 512 70 70 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r194 r229 17 17 ; Nothing 18 18 ;-------------------------------------------------------------------- 19 Initialize_FromMainBiosRomSearch: 19 Initialize_FromMainBiosRomSearch: ; unused entrypoint ok 20 20 pushf 21 21 push es … … 24 24 25 25 LOAD_BDA_SEGMENT_TO es, ax 26 call Initialize_ShouldSkip 26 sti ; Enable interrupts 27 test BYTE [es:BDA.bKBFlgs1], (1<<2) ; Clears ZF if CTRL is held down 27 28 jnz SHORT .SkipRomInitialization 28 29 29 %ifdef USE_AT ; Early initialization on AT build30 call Initialize_AndDetectDrives31 %else ; Late initialization on XT builds 32 call Int 19hLate_InitializeInt19h33 %endif 30 ; Install INT 19h handler (boot loader) where drives are detected 31 mov bx, BIOS_BOOT_LOADER_INTERRUPT_19h 32 mov si, HandlerForLateInitialization 33 call Interrupts_InstallHandlerToVectorInBXFromCSSI 34 34 35 .SkipRomInitialization: 35 36 ePOPA … … 41 42 42 43 ;-------------------------------------------------------------------- 43 ; Checks if user wants to skip ROM initialization. 44 ; 45 ; Initialize_ShouldSkip 44 ; HandlerForLateInitialization 46 45 ; Parameters: 47 ; ES: BDA segment46 ; Nothing 48 47 ; Returns: 49 ; ZF: Cleared if ROM initialization is to be skipped 50 ; Set to continue ROM initialization 51 ; Corrupts registers: 52 ; Nothing 48 ; Never returns 53 49 ;-------------------------------------------------------------------- 54 Initialize_ShouldSkip:55 sti ; Enable interrupts56 test BYTE [es:BDA.bKBFlgs1], (1<<2) ; Clear ZF if CTRL is held down57 ret50 HandlerForLateInitialization: 51 LOAD_BDA_SEGMENT_TO es, ax 52 call Initialize_AndDetectDrives ; Installs new boot menu loader 53 int BIOS_BOOT_LOADER_INTERRUPT_19h ; Display boot menu 58 54 59 55 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r221 r229 182 182 183 183 ; Boot loader 184 %ifndef USE_AT185 %include "Int19hLate.asm" ; For late initialization186 %endif187 184 %include "Int19hMenu.asm" ; For Int 19h, Boot Loader for Boot Menu 188 185
Note:
See TracChangeset
for help on using the changeset viewer.