Changeset 62 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuTime.asm


Ignore:
Timestamp:
Nov 30, 2010, 8:06:44 AM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Small improvements to timeout counter drawing.
File:
1 edited

Legend:

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

    r60 r62  
    22; Project name  :   Assembly Library
    33; Created date  :   25.7.2010
    4 ; Last update   :   25.11.2010
     4; Last update   :   30.11.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Menu timeouts other time related functions.
     
    7575ALIGN JUMP_ALIGN
    7676.RedrawSinceNoTimeout:
    77     call    MenuBorders_RedrawTimeoutValue
     77    call    MenuBorders_RedrawBottomBorderLine
    7878    clc
    7979ALIGN JUMP_ALIGN
     
    100100    call    PointDSBXtoTimeoutCounter
    101101    call    TimerTicks_GetTimeoutTicksLeftToAXfromDSBX
    102     jc      SHORT .TimeoutHasOccurred
     102    jc      SHORT .TimeoutHasOccurredSoMakeSureTicksAreNotBelowZero
    103103
    104104    xchg    dx, ax
    105105    call    TimerTicks_GetSecondsToAXfromTicksInDX
    106     clc
    107106    jmp     SHORT .PopRegistersAndReturn
    108 .TimeoutHasOccurred:
     107.TimeoutHasOccurredSoMakeSureTicksAreNotBelowZero:
    109108    xor     ax, ax
    110     stc
    111109.PopRegistersAndReturn:
    112110    pop     bx
Note: See TracChangeset for help on using the changeset viewer.