Changeset 203 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Nov 23, 2011, 8:42:19 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm
r200 r203 124 124 125 125 ;-------------------------------------------------------------------- 126 ; IterateToDptWith FlagsHighSet:126 ; IterateToDptWithInterruptInServiceFlagSet 127 127 ; Parameters: 128 128 ; DS:DI: Ptr to DPT to examine 129 ; AL: Bit in bFlagsHigh to test130 129 ; Returns: 131 130 ; CF: Set if wanted DPT found … … 135 134 ;-------------------------------------------------------------------- 136 135 ALIGN JUMP_ALIGN 137 IterateToDptWithFlagsHighSet: 138 test BYTE [di+DPT.bFlagsHigh], al ; Clears CF (but we need the clc below anyway callers above) 136 IterateToDptWithInterruptInServiceFlagSet: 137 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_INTERRUPT_IN_SERVICE ; Clears CF (but we need the clc 138 ; below anyway for callers above) 139 139 jnz SHORT ReturnRightDPT 140 140 … … 145 145 ;-------------------------------------------------------------------- 146 146 ; FindDPT_ToDSDIforInterruptInService 147 ; FindDPT_ToDSDIforSerialDevice148 147 ; Parameters: 149 148 ; DS: RAMVARS segment … … 153 152 ; Cleared if DPT not found 154 153 ; Corrupts registers: 155 ; SI , AX, BX (for SerialDevice only)154 ; SI 156 155 ;-------------------------------------------------------------------- 157 156 ALIGN JUMP_ALIGN 158 159 %ifdef MODULE_SERIAL160 FindDPT_ToDSDIforSerialDevice:161 mov al, FLGH_DPT_SERIAL_DEVICE162 163 SKIP2B bx164 %endif165 166 ; do not align due to SKIP2B above167 157 FindDPT_ToDSDIforInterruptInService: 168 mov al, FLGH_DPT_INTERRUPT_IN_SERVICE 169 170 mov si, IterateToDptWithFlagsHighSet 158 mov si, IterateToDptWithInterruptInServiceFlagSet 171 159 ; Fall to IterateAllDPTs 172 160
Note:
See TracChangeset
for help on using the changeset viewer.