Changeset 64 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog


Ignore:
Timestamp:
Dec 5, 2010, 4:58:05 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Progress dialog now prevents max progress value from being zero.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogProgress.asm

    r58 r64  
    22; Project name  :   Assembly Library
    33; Created date  :   15.8.2010
    4 ; Last update   :   18.11.2010
     4; Last update   :   5.12.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Displays progress bar dialog and starts progress task.
     
    8383    call    TimerTicks_ReadFromBdaToAX
    8484    mov     [si+PROGRESS_DIALOG_IO.wStartTimeTicks], ax
     85    MAX_U   WORD [si+PROGRESS_DIALOG_IO.wMaxProgressValue], 0FFFFh  ; Max cannot be zero
    8586    jmp     SHORT CalculateProgressNeededBeforeUpdatingCharacter
    8687
     
    9091    call    MenuInit_GetUserDataToDSSI
    9192    les     di, [bp+DIALOG.fpDialogIO]
     93    push    bp
    9294    call    [es:di+PROGRESS_DIALOG_IO.fnTaskWithParamInDSSI]
     95    pop     bp
    9396    call    MenuInit_CloseMenuWindow
    9497    stc
Note: See TracChangeset for help on using the changeset viewer.