Changeset 293 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu
- Timestamp:
- Mar 4, 2012, 1:33:52 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library/Src/Menu
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r181 r293 173 173 174 174 lds si, [bp+DIALOG.fpDialogIO] 175 eMOVZX cx, BYTE[si+FILE_DIALOG_IO.bFileAttributes]175 eMOVZX cx, [si+FILE_DIALOG_IO.bFileAttributes] 176 176 lds si, [si+FILE_DIALOG_IO.fpFileFilterString] 177 177 call Directory_UpdateDTAForFirstMatchForDSSIwithAttributesInCX … … 518 518 xor ax, ax 519 519 stosb ; Terminate with NULL 520 jmp SHORT CloseFileDialogAfterSuccessful lSelection520 jmp SHORT CloseFileDialogAfterSuccessfulSelection 521 521 522 522 ;-------------------------------------------------------------------- … … 617 617 test al, al ; User cancellation? 618 618 jnz SHORT ReturnWithoutHandlingKeystroke 619 jmp CloseFileDialogAfterSuccessful lSelection619 jmp CloseFileDialogAfterSuccessfulSelection 620 620 621 621 ALIGN JUMP_ALIGN … … 646 646 test al, FLG_FILEDIALOG_DIRECTORY 647 647 jz SHORT ReturnWithoutHandlingKeystroke 648 ; Fall to CloseFileDialogAfterSuccessful lSelection649 650 ;-------------------------------------------------------------------- 651 ; CloseFileDialogAfterSuccessful lSelection648 ; Fall to CloseFileDialogAfterSuccessfulSelection 649 650 ;-------------------------------------------------------------------- 651 ; CloseFileDialogAfterSuccessfulSelection 652 652 ; Parameters: 653 653 ; SS:BP: Ptr to DIALOG … … 658 658 ;-------------------------------------------------------------------- 659 659 ALIGN JUMP_ALIGN 660 CloseFileDialogAfterSuccessful lSelection:660 CloseFileDialogAfterSuccessfulSelection: 661 661 lds di, [bp+DIALOG.fpDialogIO] 662 662 mov BYTE [di+FILE_DIALOG_IO.bUserCancellation], FALSE -
trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm
r58 r293 85 85 GetWordFromUser: 86 86 lds si, [bp+DIALOG.fpDialogIO] 87 eMOVZX bx, BYTE[si+WORD_DIALOG_IO.bNumericBase]87 eMOVZX bx, [si+WORD_DIALOG_IO.bNumericBase] 88 88 ALIGN JUMP_ALIGN 89 89 .GetUserInputIntilValidOrCancelled: -
trunk/Assembly_Library/Src/Menu/MenuBorders.asm
r223 r293 118 118 ALIGN JUMP_ALIGN 119 119 MenuBorders_GetNumberOfMiddleCharactersToDX: 120 eMOVZX dx, BYTE[bp+MENUINIT.bWidth]120 eMOVZX dx, [bp+MENUINIT.bWidth] 121 121 sub dx, BYTE MENU_HORIZONTAL_BORDER_LINES 122 122 ret … … 136 136 RefreshTitleBorders: 137 137 call DrawTopBorderLine 138 eMOVZX cx, BYTE[bp+MENUINIT.bTitleLines]138 eMOVZX cx, [bp+MENUINIT.bTitleLines] 139 139 jmp SHORT DrawTextBorderLinesByCXtimes 140 140 … … 152 152 RefreshInformationBorders: 153 153 call DrawSeparationBorderLine 154 eMOVZX cx, BYTE[bp+MENUINIT.bInfoLines]154 eMOVZX cx, [bp+MENUINIT.bInfoLines] 155 155 jmp SHORT DrawTextBorderLinesByCXtimes 156 156 -
trunk/Assembly_Library/Src/Menu/MenuCharOut.asm
r104 r293 61 61 mov al, CR 62 62 call DisplayCharOut_BiosTeletypeOutput 63 eMOVZX ax, BYTE[VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam]63 eMOVZX ax, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam] 64 64 add di, ax 65 65 ReturnSinceNoNeedToStartLineWithControlCharacter: -
trunk/Assembly_Library/Src/Menu/MenuLocation.asm
r181 r293 114 114 ALIGN JUMP_ALIGN 115 115 MenuLocation_GetMaxTextLineLengthToAX: 116 eMOVZX ax, BYTE[bp+MENUINIT.bWidth]116 eMOVZX ax, [bp+MENUINIT.bWidth] 117 117 sub ax, BYTE MENU_HORIZONTAL_BORDER_LINES + MENU_TEXT_COLUMN_OFFSET 118 118 ret -
trunk/Assembly_Library/Src/Menu/MenuScrollbars.asm
r181 r293 245 245 ALIGN JUMP_ALIGN 246 246 MenuScrollbars_GetMaxVisibleItemsOnPageToCX: 247 eMOVZX cx, BYTE[bp+MENUINIT.bHeight]247 eMOVZX cx, [bp+MENUINIT.bHeight] 248 248 sub cl, [bp+MENUINIT.bTitleLines] 249 249 sub cl, [bp+MENUINIT.bInfoLines]
Note:
See TracChangeset
for help on using the changeset viewer.