Changeset 73 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog
- Timestamp:
- Dec 11, 2010, 12:47:34 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.