Changeset 621 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
- Timestamp:
- Nov 21, 2021, 2:15:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm
r567 r621 137 137 ;-------------------------------------------------------------------- 138 138 ; Iteration routines for FindDPT_MasterOrSingleForIdevarsOffsetInDL and 139 ; FindDPT_SlaveForIdevarsOffsetInDL, for use with IterateAllDPTs139 ; FindDPT_SlaveForIdevarsOffsetInDL, for use with FindDPT_IterateAllDPTs 140 140 ; 141 141 ; Returns when DPT is found on the controller with Idevars offset in DL … … 152 152 IterateFindSecondDPTforIdevars: 153 153 call IterateFindFirstDPTforIdevars 154 jc SHORT .WrongController154 jc SHORT WrongController 155 155 mov si, IterateFindFirstDPTforIdevars 156 .WrongController:156 SetCFandReturn: 157 157 stc 158 WrongController: 158 159 ret 159 160 160 161 IterateFindFirstDPTforIdevars: 161 162 cmp dl, [di+DPT.bIdevarsOffset] ; Clears CF if matched 162 je .Done 163 stc ; Set CF for not found 164 .Done: 163 jne SHORT SetCFandReturn 165 164 ret 166 165 … … 221 220 ; Set if DPT not found, or no DPTs present 222 221 ; Corrupts registers: 223 ; SI222 ; BL, SI 224 223 ;-------------------------------------------------------------------- 225 224 %ifdef MODULE_SERIAL … … 315 314 loop .LoopWhileDPTsLeft 316 315 317 ALIGN JUMP_ALIGN318 316 .NotFound: 319 317 stc
Note:
See TracChangeset
for help on using the changeset viewer.