Changeset 143 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Mar 14, 2011, 5:24:48 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm
r116 r143 90 90 call HDrvSel_OutputDeviceControlByte 91 91 mov ax, 5 ; Delay at least 5us 92 call Delay_MicrosecondsFromAX92 call HTimer_MicrosecondsFromAX 93 93 94 94 ; HSR1: Clear_wait … … 96 96 out dx, al ; End Reset 97 97 mov ax, 2000 ; Delay at least 2ms 98 call Delay_MicrosecondsFromAX98 call HTimer_MicrosecondsFromAX 99 99 100 100 ; HSR2: Check_status -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HTimer.asm
r140 r143 45 45 ; RTC resolution is 977 microsecs. 46 46 ; 47 ; Delay_MicrosecondsFromAX47 ; HTimer_MicrosecondsFromAX 48 48 ; Parameters: 49 49 ; AX: Number of microsecs to wait … … 53 53 ; AX 54 54 ;-------------------------------------------------------------------- 55 Delay_MicrosecondsFromAX:55 HTimer_MicrosecondsFromAX: 56 56 %ifndef USE_AT 57 57 mov ax, 1 … … 70 70 pop dx 71 71 mov ax, 1 ; Prepare to wait 1 timer tick 72 jc SHORT Delay_TimerTicksFromAX ; Event Wait was unsupported or busy72 jc SHORT HTimer_TimerTicksFromAX ; Event Wait was unsupported or busy 73 73 ret 74 74 %endif … … 79 79 ; will occur at 54.9 ms intervals. 80 80 ; 81 ; Delay_TimerTicksFromAX81 ; HTimer_TimerTicksFromAX 82 82 ; Parameters: 83 83 ; AX: Number of timer ticks to wait … … 87 87 ; AX 88 88 ;-------------------------------------------------------------------- 89 Delay_TimerTicksFromAX:89 HTimer_TimerTicksFromAX: 90 90 sti ; Make sure that interrupts are enabled 91 91 call ReadTimeFromBdaToCX -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19hMenu.asm
r130 r143 20 20 STORE_POST_STACK_POINTER 21 21 SWITCH_TO_BOOT_MENU_STACK 22 call RamVars_GetSegmentToDS 23 ; Fall to .InitializeDisplayForBootMenu 24 25 ;-------------------------------------------------------------------- 26 ; .InitializeDisplayForBootMenu 27 ; Parameters: 28 ; Nothing 29 ; Returns: 30 ; Nothing 31 ; Corrupts registers: 32 ; AX, DI 33 ;-------------------------------------------------------------------- 34 .InitializeDisplayForBootMenu: 35 ; Change display mode if necessary 36 mov ax, [cs:ROMVARS.wDisplayMode] ; AH 00h = Set Video Mode 37 cmp al, DEFAULT_TEXT_MODE 38 je SHORT .InitializeDisplayLibrary 39 int BIOS_VIDEO_INTERRUPT_10h 40 .InitializeDisplayLibrary: 22 41 call BootMenuPrint_InitializeDisplayContext 23 call RamVars_GetSegmentToDS24 42 ; Fall to .ProcessMenuSelectionsUntilBootable 25 43
Note:
See TracChangeset
for help on using the changeset viewer.