Changeset 85 in xtideuniversalbios for trunk/Assembly_Library/Src
- Timestamp:
- Jan 25, 2011, 4:47:03 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library/Src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/AssemblyLibrary.asm
r54 r85 1 ; File name : AssemblyLibrary.asm2 1 ; Project name : Assembly Library 3 ; Created date : 15.9.20104 ; Last update : 24.10.20105 ; Author : Tomi Tilli6 2 ; Description : Assembly Library main file. This is the only file that 7 3 ; needs to be included. … … 72 68 73 69 %ifdef INCLUDE_UTIL_LIBRARY 74 %include "Bit.asm" 70 %ifndef EXCLUDE_BIT_UTILS 71 %include "Bit.asm" 72 %endif 75 73 %include "Memory.asm" 76 74 %include "Registers.asm" 77 75 %include "Size.asm" 78 %include "Sort.asm" 76 %ifndef EXCLUDE_SORT_UTILS 77 %include "Sort.asm" 78 %endif 79 79 %endif -
trunk/Assembly_Library/Src/LibSizeCheck.asm
r73 r85 1 ; File name : LibSizeCheck.asm2 1 ; Project name : Assembly Library 3 ; Created date : 15.9.20104 ; Last update : 11.12.20105 ; Author : Tomi Tilli6 2 ; Description : Tests for Assembly Library. 7 3 ; Builds wanted library functions to check their size. 8 4 9 5 ; Include .inc files 10 %define INCLUDE_DISPLAY_LIBRARY6 ;%define INCLUDE_DISPLAY_LIBRARY 11 7 ;%define INCLUDE_FILE_LIBRARY 12 8 ;%define INCLUDE_KEYBOARD_LIBRARY 13 ;%define INCLUDE_MENU_LIBRARY9 %define INCLUDE_MENU_LIBRARY 14 10 ;%define INCLUDE_MENU_DIALOGS 15 11 ;%define INCLUDE_STRING_LIBRARY 16 12 ;%define INCLUDE_TIME_LIBRARY 17 13 ;%define INCLUDE_UTIL_LIBRARY 14 15 %define EXCLUDE_BIT_UTILS 16 %define EXCLUDE_SORT_UTILS 18 17 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 19 18 -
trunk/Assembly_Library/Src/Time/TimerTicks.asm
r60 r85 76 76 ; TimerTicks_GetTimeoutTicksLeftToAXfromDSBX 77 77 ; Parameters: 78 ; AX: Number of ticks left before timeout79 78 ; DS:BX: Ptr to timeout variable WORD 80 79 ; Returns: 80 ; AX: Number of ticks left before timeout 81 81 ; CF: Set if timeout 82 82 ; Cleared if time left -
trunk/Assembly_Library/Src/Util/Size.asm
r41 r85 1 ; File name : Size.asm2 1 ; Project name : Assembly Library 3 ; Created date : 7.9.20104 ; Last update : 15.9.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for size calculations. 3 4 struc BYTE_MULTIPLES 5 .B resb 1 6 .kiB resb 1 7 .MiB resb 1 8 .GiB resb 1 9 .TiB resb 1 10 endstruc 7 11 8 12 ; Section containing code … … 10 14 11 15 ;-------------------------------------------------------------------- 12 ; Size_Get WordSizeToAXfromBXDXAXwithMagnitudeInCX16 ; Size_GetSizeToAXAndCharToDLfromBXDXAXwithMagnitudeInCX 13 17 ; Parameters: 14 18 ; BX:DX:AX: Size in magnitude 15 ; CX: Magnitude (0=B, 1=kiB, 2=MiB...)19 ; CX: Magnitude in BYTE_MULTIPLES 16 20 ; Returns: 17 21 ; AX: Size in magnitude … … 52 56 ; Parameters: 53 57 ; BX:DX:AX: Size 54 ; CX: Magnitude (0=B, 1=kiB, 2=MiB...)58 ; CX: Magnitude in BYTE_MULTIPLES 55 59 ; Returns: 56 60 ; BX:DX:AX: Size in magnitude 57 61 ; SI: Remainder (0...1023) 58 ; CX: Magnitude (1=kiB, 2=MiB...)62 ; CX: Magnitude in BYTE_MULTIPLES 59 63 ; Corrupts registers: 60 64 ; Nothing … … 121 125 ; Size_GetMagnitudeCharacterToDLfromMagnitudeInCX 122 126 ; Parameters: 123 ; CX: Magnitude (0=B, 1=kiB, 2=MiB...)127 ; CX: Magnitude in BYTE_MULTIPLES 124 128 ; Returns: 125 129 ; DL: Magnitude character
Note:
See TracChangeset
for help on using the changeset viewer.