Changeset 233 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Feb 4, 2012, 6:21:22 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm
r203 r233 124 124 125 125 ;-------------------------------------------------------------------- 126 ; IterateToDptWith InterruptInServiceFlagSet126 ; IterateToDptWithFlagsHighInBL 127 127 ; Parameters: 128 128 ; DS:DI: Ptr to DPT to examine 129 ; BL: Bit(s) to test in DPT.bFlagsHigh 129 130 ; Returns: 130 131 ; CF: Set if wanted DPT found … … 134 135 ;-------------------------------------------------------------------- 135 136 ALIGN JUMP_ALIGN 136 IterateToDptWith InterruptInServiceFlagSet:137 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_INTERRUPT_IN_SERVICE; Clears CF (but we need the clc138 137 IterateToDptWithFlagsHighInBL: 138 test BYTE [di+DPT.bFlagsHigh], bl ; Clears CF (but we need the clc 139 ; below anyway for callers above) 139 140 jnz SHORT ReturnRightDPT 140 141 … … 144 145 145 146 ;-------------------------------------------------------------------- 146 ; FindDPT_ToDSDIfor InterruptInService147 ; FindDPT_ToDSDIforSerialDevice 147 148 ; Parameters: 148 149 ; DS: RAMVARS segment … … 154 155 ; SI 155 156 ;-------------------------------------------------------------------- 156 ALIGN JUMP_ALIGN 157 FindDPT_ToDSDIforInterruptInService: 158 mov si, IterateToDptWithInterruptInServiceFlagSet 157 ALIGN JUMP_ALIGN 158 FindDPT_ToDSDIforSerialDevice: 159 mov bl, FLGH_DPT_SERIAL_DEVICE 160 ; fall-through 161 162 ;-------------------------------------------------------------------- 163 ; FindDPT_ToDSDIforFlagsHigh 164 ; Parameters: 165 ; DS: RAMVARS segment 166 ; BL: Bit(s) to test in DPT.bFlagsHigh 167 ; Returns: 168 ; DS:DI: Ptr to DPT 169 ; CF: Set if wanted DPT found 170 ; Cleared if DPT not found 171 ; Corrupts registers: 172 ; SI 173 ;-------------------------------------------------------------------- 174 ALIGN JUMP_ALIGN 175 FindDPT_ToDSDIforFlagsHighInBL: 176 mov si, IterateToDptWithFlagsHighInBL 159 177 ; Fall to IterateAllDPTs 160 178
Note:
See TracChangeset
for help on using the changeset viewer.