Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
- Timestamp:
- Mar 12, 2011, 1:48:48 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
r105 r133 59 59 ; Corrupts registers: 60 60 ; CX, DX 61 ;-------------------------------------------------------------------- 61 ;-------------------------------------------------------------------- 62 62 ALIGN JUMP_ALIGN 63 63 .GetLastThumbLineToAX: … … 161 161 .RotateItemInCX: 162 162 mov dx, [bp+MENUINIT.wItems] 163 cmp cx, BYTE 0164 j lSHORT .RotateNegativeItemInCX163 test cx, cx 164 js SHORT .RotateNegativeItemInCX 165 165 cmp cx, dx 166 166 jae SHORT .RotatePositiveItemInCX … … 193 193 ALIGN JUMP_ALIGN 194 194 MenuScrollbars_IsItemInCXonVisiblePage: 195 cmp cx, [bp+MENU.wFirstVisibleItem]196 j bSHORT .ItemIsNotVisible195 cmp [bp+MENU.wFirstVisibleItem], cx 196 ja SHORT .ItemIsNotVisible 197 197 198 198 call MenuScrollbars_GetLastVisibleItemOnPageToAX … … 200 200 ja SHORT .ItemIsNotVisible 201 201 stc ; Item is visible 202 ret 203 ALIGN JUMP_ALIGN 202 ALIGN JUMP_ALIGN, ret 204 203 .ItemIsNotVisible: 205 clc206 204 ret 207 205
Note:
See TracChangeset
for help on using the changeset viewer.