Changeset 50 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog
- Timestamp:
- Oct 9, 2010, 5:47:26 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library/Src/Menu/Dialog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/Dialog.asm
r48 r50 2 2 ; Project name : Assembly Library 3 3 ; Created date : 6.8.2010 4 ; Last update : 7.10.20104 ; Last update : 9.10.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Common functions for many dialogs. … … 26 26 push ds 27 27 mov di, bp ; Backup parent MENU 28 eENTER_STRUCT DIALOG_size29 30 28 mov cx, DIALOG_size 29 eENTER_STRUCT cx 30 31 31 call Memory_ZeroSSBPwithSizeInCX 32 32 mov [bp+DIALOG.fpDialogIO], si -
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r48 r50 2 2 ; Project name : Assembly Library 3 3 ; Created date : 6.9.2010 4 ; Last update : 4.10.20104 ; Last update : 9.10.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Displays file dialog. … … 114 114 call LoadItemStringBufferToESDI 115 115 call SortDirectoryContentsStringFromESDIwithCountInCX 116 push ss 117 pop ds 118 mov si, bp 116 call Memory_CopySSBPtoDSSI 119 117 call Dialog_EventInitializeMenuinitFromDSSI 120 118 call GetInfoLinesToCXandDialogFlagsToAX … … 199 197 ALIGN JUMP_ALIGN 200 198 .ClearDLifInRootDirectory: 201 push es 202 pop ds 203 mov si, di 199 call Memory_CopyESDItoDSSI 204 200 call Directory_WriteCurrentPathToDSSI 205 201 mov dl, [si] … … 511 507 add di, BYTE FILE_DIALOG_IO.szFile 512 508 mov cx, FILENAME_BUFFER_SIZE-1 513 cld 514 rep movsb 509 call Memory_CopyCXbytesFromDSSItoESDI 515 510 xor ax, ax 516 511 stosb ; Terminate with NULL 517 jmp CloseFileDialogAfterSuccessfullSelection512 jmp SHORT CloseFileDialogAfterSuccessfullSelection 518 513 519 514 ;--------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.