Changeset 103 in xtideuniversalbios for trunk/Assembly_Library
- Timestamp:
- Feb 2, 2011, 1:33:48 AM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library/Src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/AssemblyLibrary.asm
r101 r103 71 71 %include "Bit.asm" 72 72 %endif 73 %include "Registers.asm" 73 74 %include "Memory.asm" 74 %include "Registers.asm"75 75 %include "Size.asm" 76 76 %ifndef EXCLUDE_SORT_UTILS -
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r58 r103 1 ; File name : DialogFile.asm2 1 ; Project name : Assembly Library 3 ; Created date : 6.9.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : Displays file dialog. 7 3 … … 49 45 .ItemSelectedFromCX: 50 46 call LoadItemStringBufferToESDI 51 callRegisters_CopyESDItoDSSI47 Registers_CopyESDItoDSSI 52 48 call ItemLineSplitter_GetLineToDSSIandLengthToCXfromStringInDSSIwithIndexInCX 53 49 jmp ParseSelectionFromItemLineInDSSI … … 132 128 call RemoveLastLFandTerminateESDIwithNull 133 129 134 callRegisters_CopySSBPtoDSSI130 Registers_CopySSBPtoDSSI 135 131 xor ax, ax 136 132 call Dialog_EventInitializeMenuinitFromDSSIwithHighlightedItemInAX … … 202 198 ALIGN JUMP_ALIGN 203 199 .ClearDLifInRootDirectory: 204 callRegisters_CopyESDItoDSSI200 Registers_CopyESDItoDSSI 205 201 call Directory_WriteCurrentPathToDSSI 206 202 mov dl, [si] … … 378 374 ALIGN JUMP_ALIGN 379 375 SortDirectoryContentsStringFromESDIwithCountInCX: 380 callRegisters_CopyESDItoDSSI376 Registers_CopyESDItoDSSI 381 377 call .AddDirectoryContentsStringLengthToDI 382 378 mov bx, .FileStringComparator -
trunk/Assembly_Library/Src/Util/Bit.asm
r41 r103 1 ; File name : Bit.asm2 1 ; Project name : Assembly Library 3 ; Created date : 3.9.20104 ; Last update : 3.9.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for bit handling. 7 3 … … 51 47 shr ax, 1 52 48 jz SHORT .LastBitInCF 53 adc c x, BYTE 049 adc cl, ch 54 50 jmp SHORT .BitScanLoop 55 51 ALIGN JUMP_ALIGN 56 52 .LastBitInCF: 57 adc c x, BYTE 053 adc cl, ch 58 54 59 55 pop ax -
trunk/Assembly_Library/Src/Util/Memory.asm
r54 r103 1 ; File name : Memory.asm2 1 ; Project name : Assembly Library 3 ; Created date : 14.7.20104 ; Last update : 24.10.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for memory access. 7 3 … … 26 22 27 23 shr cx, 1 ; Operate with WORDs for performance 28 j cxz %%HandleRemainingByte24 jz %%HandleRemainingByte 29 25 %1 %2w 30 26 %%HandleRemainingByte: … … 70 66 push di 71 67 push ax 72 callRegisters_CopySSBPtoESDI68 Registers_CopySSBPtoESDI 73 69 call Memory_ZeroESDIwithSizeInCX 74 70 pop ax -
trunk/Assembly_Library/Src/Util/Registers.asm
r66 r103 1 ; File name : Registers.asm2 1 ; Project name : Assembly Library 3 ; Created date : 24.10.20104 ; Last update : 6.12.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for register operations. 7 3 … … 90 86 ; Nothing 91 87 ;-------------------------------------------------------------------- 92 ALIGN JUMP_ALIGN 93 Registers_CopySSBPtoESDI: 88 %macro Registers_CopySSBPtoESDI 0 94 89 push ss 95 90 pop es 96 91 mov di, bp 97 ret 92 %endmacro 98 93 99 ALIGN JUMP_ALIGN 100 Registers_CopySSBPtoDSSI: 94 %macro Registers_CopySSBPtoDSSI 0 101 95 push ss 102 96 pop ds 103 97 mov si, bp 104 ret 98 %endmacro 105 99 106 ALIGN JUMP_ALIGN 107 Registers_CopyDSSItoESDI: 100 %macro Registers_CopyDSSItoESDI 0 108 101 push ds 109 102 pop es 110 103 mov di, si 111 ret 104 %endmacro 112 105 113 ALIGN JUMP_ALIGN 114 Registers_CopyESDItoDSSI: 106 %macro Registers_CopyESDItoDSSI 0 115 107 push es 116 108 pop ds 117 109 mov si, di 118 ret 110 %endmacro 119 111 120 112
Note:
See TracChangeset
for help on using the changeset viewer.