Changeset 103 in xtideuniversalbios
- Timestamp:
- Feb 2, 2011, 1:33:48 AM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk
- Files:
-
- 8 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 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/BiosFile.asm
r68 r103 1 ; File name : BiosFile.asm2 1 ; Project name : XTIDE Univeral BIOS Configurator v2 3 ; Created date : 10.10.20104 ; Last update : 6.12.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for loading and saving BIOS image file. 7 3 … … 105 101 push cx 106 102 107 callRegisters_CopyESDItoDSSI ; File name in DS:SI103 Registers_CopyESDItoDSSI ; File name in DS:SI 108 104 push cs 109 105 pop es … … 161 157 call Buffers_GenerateChecksum 162 158 call Buffers_GetFileBufferToESDI 163 callRegisters_CopyESDItoDSSI159 Registers_CopyESDItoDSSI 164 160 xor dx, dx 165 161 mov cx, [cs:g_cfgVars+CFGVARS.wImageSizeInWords] -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r59 r103 1 ; File name : Menuitem.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 5.10.20104 ; Last update : 19.11.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for accessing MENUITEM structs. 7 3 … … 36 32 ALIGN JUMP_ALIGN 37 33 Menuitem_ActivateMultichoiseSelectionForMenuitemInDSSI: 38 callRegisters_CopyDSSItoESDI34 Registers_CopyDSSItoESDI 39 35 40 36 mov cx, DIALOG_INPUT_size … … 49 45 cmp ax, BYTE NO_ITEM_SELECTED 50 46 je SHORT .NothingToChange 51 callRegisters_CopyESDItoDSSI47 Registers_CopyESDItoDSSI 52 48 call Menuitem_StoreValueFromAXtoMenuitemInDSSI 53 49 .NothingToChange: … … 67 63 ALIGN JUMP_ALIGN 68 64 Menuitem_ActivateHexInputForMenuitemInDSSI: 69 callRegisters_CopyDSSItoESDI65 Registers_CopyDSSItoESDI 70 66 71 67 mov cx, WORD_DIALOG_IO_size … … 86 82 ALIGN JUMP_ALIGN 87 83 Menuitem_ActivateUnsignedInputForMenuitemInDSSI: 88 callRegisters_CopyDSSItoESDI84 Registers_CopyDSSItoESDI 89 85 90 86 mov cx, WORD_DIALOG_IO_size … … 104 100 je SHORT .NothingToChange 105 101 mov ax, [si+WORD_DIALOG_IO.wReturnWord] 106 callRegisters_CopyESDItoDSSI102 Registers_CopyESDItoDSSI 107 103 call Menuitem_StoreValueFromAXtoMenuitemInDSSI 108 104 .NothingToChange: -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuitemPrint.asm
r65 r103 1 ; File name : MenuitemPrint.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 5.10.20104 ; Last update : 5.12.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for printing MENUITEM name and value. 7 3 … … 105 101 .FormatValueStringFromItemInDSSItoBufferInSSBP: 106 102 push es 107 callRegisters_CopySSBPtoESDI103 Registers_CopySSBPtoESDI 108 104 mov al, '[' 109 105 stosb
Note:
See TracChangeset
for help on using the changeset viewer.