Changeset 568 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
- Timestamp:
- Dec 21, 2014, 5:37:53 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
r526 r568 116 116 ALIGN MENU_JUMP_ALIGN 117 117 MenuScrollbars_MoveHighlightedItemByAX: 118 mov cx, [bp+MENUINIT.wHighlightedItem]119 add cx, ax120 ; Fall to .RotateItemInCX121 122 ;--------------------------------------------------------------------123 ; .RotateItemInCX124 ; Parameters125 ; CX: Possibly under of overflown item to be rotated126 ; SS:BP: Ptr to MENU127 ; Returns:128 ; CX: Valid item index129 ; Corrupts registers:130 ; DX131 ;--------------------------------------------------------------------132 ;.RotateItemInCX:133 118 mov dx, [bp+MENUINIT.wItems] 134 test cx, cx 119 add ax, [bp+MENUINIT.wHighlightedItem] 120 xchg cx, ax 135 121 js SHORT .RotateNegativeItemInCX 136 122 sub cx, dx
Note:
See TracChangeset
for help on using the changeset viewer.