Changeset 73 in xtideuniversalbios
- Timestamp:
- Dec 11, 2010, 12:47:34 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/AssemblyLibrary.inc
r50 r73 2 2 ; Project name : Assembly Library 3 3 ; Created date : 2.7.2010 4 ; Last update : 8.10.20104 ; Last update : 11.12.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Common defines for all library functions. … … 42 42 %endif 43 43 44 %ifdef INCLUDE_STRING_LIBRARY 45 %define INCLUDE_UTIL_LIBRARY 46 %endif 47 44 48 %ifdef INCLUDE_FILE_LIBRARY 45 49 %define INCLUDE_UTIL_LIBRARY -
trunk/Assembly_Library/Src/LibSizeCheck.asm
r41 r73 2 2 ; Project name : Assembly Library 3 3 ; Created date : 15.9.2010 4 ; Last update : 1 5.9.20104 ; Last update : 11.12.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Tests for Assembly Library. … … 9 9 ; Include .inc files 10 10 %define INCLUDE_DISPLAY_LIBRARY 11 %define INCLUDE_FILE_LIBRARY12 %define INCLUDE_KEYBOARD_LIBRARY13 %define INCLUDE_MENU_LIBRARY14 %define INCLUDE_MENU_DIALOGS15 %define INCLUDE_STRING_LIBRARY16 %define INCLUDE_TIME_LIBRARY17 %define INCLUDE_UTIL_LIBRARY11 ;%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 18 18 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 19 19 -
trunk/Assembly_Library/Src/Menu/Dialog/DialogProgress.asm
r69 r73 83 83 call TimerTicks_ReadFromBdaToAX 84 84 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] 86 90 jmp SHORT CalculateProgressNeededBeforeUpdatingCharacter 87 91
Note:
See TracChangeset
for help on using the changeset viewer.