Changeset 73 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Dec 11, 2010, 12:47:34 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Fixed library dependencies.
  • Progress Dialog now properly checks maximum progress value.
Location:
trunk/Assembly_Library
Files:
3 edited

Legend:

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

    r50 r73  
    22; Project name  :   Assembly Library
    33; Created date  :   2.7.2010
    4 ; Last update   :   8.10.2010
     4; Last update   :   11.12.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Common defines for all library functions.
     
    4242%endif
    4343
     44%ifdef INCLUDE_STRING_LIBRARY
     45    %define INCLUDE_UTIL_LIBRARY
     46%endif
     47
    4448%ifdef INCLUDE_FILE_LIBRARY
    4549    %define INCLUDE_UTIL_LIBRARY
  • trunk/Assembly_Library/Src/LibSizeCheck.asm

    r41 r73  
    22; Project name  :   Assembly Library
    33; Created date  :   15.9.2010
    4 ; Last update   :   15.9.2010
     4; Last update   :   11.12.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Tests for Assembly Library.
     
    99; Include .inc files
    1010%define INCLUDE_DISPLAY_LIBRARY
    11 %define INCLUDE_FILE_LIBRARY
    12 %define INCLUDE_KEYBOARD_LIBRARY
    13 %define INCLUDE_MENU_LIBRARY
    14 %define INCLUDE_MENU_DIALOGS
    15 %define INCLUDE_STRING_LIBRARY
    16 %define INCLUDE_TIME_LIBRARY
    17 %define INCLUDE_UTIL_LIBRARY
     11;%define INCLUDE_FILE_LIBRARY
     12;%define INCLUDE_KEYBOARD_LIBRARY
     13;%define INCLUDE_MENU_LIBRARY
     14;%define INCLUDE_MENU_DIALOGS
     15;%define INCLUDE_STRING_LIBRARY
     16;%define INCLUDE_TIME_LIBRARY
     17;%define INCLUDE_UTIL_LIBRARY
    1818%include "AssemblyLibrary.inc"  ; Assembly Library. Must be included first!
    1919
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogProgress.asm

    r69 r73  
    8383    call    TimerTicks_ReadFromBdaToAX
    8484    mov     [si+PROGRESS_DIALOG_IO.wStartTimeTicks], ax
    85     MAX_U   WORD [si+PROGRESS_DIALOG_IO.wMaxProgressValue], 1   ; Max cannot be zero
     85
     86    ; 0 = 65536 but it needs to be adjusted to 65535 prevent division by zero
     87    cmp     WORD [si+PROGRESS_DIALOG_IO.wMaxProgressValue], BYTE 0
     88    jne     SHORT CalculateProgressNeededBeforeUpdatingCharacter
     89    dec     WORD [si+PROGRESS_DIALOG_IO.wMaxProgressValue]
    8690    jmp     SHORT CalculateProgressNeededBeforeUpdatingCharacter
    8791
Note: See TracChangeset for help on using the changeset viewer.