Changeset 52 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm


Ignore:
Timestamp:
Oct 12, 2010, 6:51:07 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:
Completely rewritten line splitting (slower but no need to modify string).
Some changes to string processing functions.
Saved few bytes from CGA detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm

    r41 r52  
    22; Project name  :   Assembly Library
    33; Created date  :   20.7.2010
    4 ; Last update   :   9.8.2010
     4; Last update   :   12.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for drawing scroll bars over menu borders.
     
    9898ALIGN JUMP_ALIGN
    9999MenuScrollbars_MoveHighlightedItemByAX:
    100     mov     cx, [bp+MENU.wHighlightedItem]
     100    mov     cx, [bp+MENUINIT.wHighlightedItem]
    101101    add     cx, ax
    102102    call    .RotateItemInCX
     
    118118
    119119    mov     dx, [bp+MENU.wFirstVisibleItem]
    120     sub     dx, [bp+MENU.wHighlightedItem]
     120    sub     dx, [bp+MENUINIT.wHighlightedItem]
    121121    add     dx, cx
    122122    MAX_S   dx, 0
Note: See TracChangeset for help on using the changeset viewer.