- Timestamp:
- Jan 25, 2011, 4:47:03 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Display.inc
r67 r85 211 211 DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL EQU 181 212 212 DOUBLE_RIGHT_HORIZONTAL_TO_SINGLE_VERTICAL EQU 198 213 SINGLE_VERTICAL EQU 179 213 214 SINGLE_HORIZONTAL EQU 196 214 215 SINGLE_LEFT_HORIZONTAL_TO_VERTICAL EQU 180 -
trunk/Assembly_Library/Inc/DosFunctions.inc
r50 r85 2 2 ; Project name : AssemblyLibrary 3 3 ; Created date : 1.9.2010 4 ; Last update : 8.10.20104 ; Last update : 3.1.2011 5 5 ; Author : Tomi Tilli 6 6 ; Description : Defines for MS-DOS functions. … … 11 11 DOS_INTERRUPT_21h EQU 21h 12 12 DOS_CRITICAL_ERROR_HANDLER_24h EQU 24h 13 DOS_TSR_MULTIPLEX_INTERRUPT_2Fh EQU 2Fh 13 14 14 ; DOS file functions15 ; DOS drive and file functions 15 16 SELECT_DEFAULT_DRIVE EQU 0Eh 16 17 GET_CURRENT_DEFAULT_DRIVE EQU 19h 17 SET_INTERRUPT_VECTOR EQU 25h18 18 GET_DISK_TRANSFER_AREA_ADDRESS EQU 2Fh 19 19 GET_DOS_DRIVE_PARAMETER_BLOCK_FOR_SPECIFIC_DRIVE EQU 32h … … 27 27 FIND_FIRST_MATCHING_FILE EQU 4Eh 28 28 FIND_NEXT_MATCHING_FILE EQU 4Fh 29 30 ; DOS functions for TSRs 31 SET_INTERRUPT_VECTOR EQU 25h 32 GET_INTERRUPT_VECTOR EQU 35h 29 33 30 34 ; DOS errors -
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 -
trunk/Assembly_Library/makefile
r79 r85 19 19 20 20 # Assembly source code file (*.asm): 21 SRC_ASM = Src/LibraryTests.asm22 #SRC_ASM = Src/LibSizeCheck.asm21 #SRC_ASM = Src/LibraryTests.asm 22 SRC_ASM = Src/LibSizeCheck.asm 23 23 24 24 # Program executable file name without extension:
Note:
See TracChangeset
for help on using the changeset viewer.