Changeset 64 in xtideuniversalbios for trunk


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.
Location:
trunk/Assembly_Library
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Emulate.inc

    r60 r64  
    22; Project name  :   Emulation library
    33; Created date  :   21.10.2009
    4 ; Last update   :   25.11.2010
     4; Last update   :   30.11.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Macros for emulating later x86 instruction with older
     
    151151%macro eCMOVC 2
    152152    jnc     SHORT %%Return
     153    mov     %1, %2
     154%%Return:
     155%endmacro
     156
     157%macro eCMOVZ 2
     158    jnz     SHORT %%Return
    153159    mov     %1, %2
    154160%%Return:
  • 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
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r54 r64  
    8585    pop     ax
    8686    ret
     87
     88   
     89ALIGN JUMP_ALIGN
     90Registers_SetCFifCXisZero:
     91   
Note: See TracChangeset for help on using the changeset viewer.