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


Ignore:
Timestamp:
Dec 9, 2010, 5:14:25 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Forgot to update SI on new File Read and Write functions.
  • Screen clearing function now accepts any character and attribute.
  • Menu library now accepts CR,LF combination as line feed. Previously only LF,CR worked properly.
File:
1 edited

Legend:

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

    r52 r67  
    22; Project name  :   Assembly Library
    33; Created date  :   20.7.2010
    4 ; Last update   :   12.10.2010
     4; Last update   :   9.12.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for drawing scroll bars over menu borders.
     
    1717;               Cleared if no scroll bars needed
    1818;   Corrupts registers:
    19 ;       CX
     19;       AX
    2020;--------------------------------------------------------------------
    2121ALIGN JUMP_ALIGN
    2222MenuScrollbars_AreScrollbarsNeeded:
     23    xchg    ax, cx
    2324    call    MenuScrollbars_GetMaxVisibleItemsOnPageToCX
    2425    cmp     cx, [bp+MENUINIT.wItems]        ; Set CF if max visible < total items
     26    xchg    cx, ax
    2527    ret
    2628
Note: See TracChangeset for help on using the changeset viewer.