Changeset 143 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Timestamp:
- Mar 14, 2011, 5:24:48 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Files:
-
- 2 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
Note:
See TracChangeset
for help on using the changeset viewer.