Changeset 413 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Apr 28, 2012, 4:23:30 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm
r376 r413 148 148 db COMMAND_READ_SECTORS_EXT ; 01b, LBA48 single sector 149 149 db COMMAND_READ_MULTIPLE ; 10b, CHS or LBA28 block mode 150 %ifdef MODULE_EBIOS 150 151 db COMMAND_READ_MULTIPLE_EXT ; 11b, LBA48 block mode 152 %endif 151 153 152 154 g_rgbWriteCommandLookup: … … 154 156 db COMMAND_WRITE_SECTORS_EXT 155 157 db COMMAND_WRITE_MULTIPLE 158 %ifdef MODULE_EBIOS 156 159 db COMMAND_WRITE_MULTIPLE_EXT 160 %endif 157 161 158 162 g_rgbVerifyCommandLookup: … … 160 164 db COMMAND_VERIFY_SECTORS_EXT 161 165 db COMMAND_VERIFY_SECTORS 166 %ifdef MODULE_EBIOS 162 167 db COMMAND_VERIFY_SECTORS_EXT 168 %endif -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r398 r413 77 77 ; DS: RAMVARS segment 78 78 ;-------------------------------------------------------------------- 79 call Initialize_AndDetectDrives 79 %ifdef MODULE_HOTKEYS 80 call TimerTicks_ReadFromBdaToAX 81 add ax, MIN_TIME_TO_DISPLAY_HOTKEY_BAR 82 mov [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeToClose], ax 83 %endif 84 85 call Initialize_AndDetectDrives 86 87 %ifdef MODULE_HOTKEYS 88 .WaitUntilTimeToCloseHotkeyBar: 89 call TimerTicks_ReadFromBdaToAX 90 cmp ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeToClose] 91 jb SHORT .WaitUntilTimeToCloseHotkeyBar 92 %endif 80 93 ; Fall to SelectDriveToBootFrom 81 94 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r392 r413 33 33 ; Nothing 34 34 ;-------------------------------------------------------------------- 35 Initialize_FromMainBiosRomSearch: ; unused entrypoint ok 36 pushf 37 push es 35 Initialize_FromMainBiosRomSearch: ; unused entrypoint ok 36 pushf ; To store IF 38 37 push ds 39 ePUSHA40 38 41 LOAD_BDA_SEGMENT_TO es, ax 42 sti ; Enable interrupts 43 test BYTE [es:BDA.bKBFlgs1], (1<<2) ; Clears ZF if CTRL is held down 39 %ifndef USE_186 40 push ax 41 LOAD_BDA_SEGMENT_TO ds, ax 42 %else 43 push BYTE 0 44 pop ds 45 %endif 46 47 sti ; Enable interrupts for keystrokes 48 test BYTE [BDA.bKBFlgs1], (1<<2) ; Clears ZF if CTRL is held down 44 49 jnz SHORT .SkipRomInitialization 45 50 46 51 ; Install INT 19h handler (boot loader) where drives are detected 47 mov al, BIOS_BOOT_LOADER_INTERRUPT_19h 48 mov si, Int19h_BootLoaderHandler 49 call Interrupts_InstallHandlerToVectorInALFromCSSI 52 mov WORD [BIOS_BOOT_LOADER_INTERRUPT_19h*4], Int19h_BootLoaderHandler 53 mov [BIOS_BOOT_LOADER_INTERRUPT_19h*4+2], cs 50 54 51 55 .SkipRomInitialization: 52 ePOPA 56 %ifndef USE_186 57 pop ax 58 %endif 53 59 pop ds 54 pop es55 60 popf 56 61 retf … … 66 71 ; DS: RAMVARS segment 67 72 ; Corrupts registers: 68 ; All 73 ; All, except ES 69 74 ;-------------------------------------------------------------------- 70 75 Initialize_AndDetectDrives:
Note:
See TracChangeset
for help on using the changeset viewer.