Skip to content

Commit 7b74e96

Browse files
authored
Merge pull request #13 from c128lib/johnpalermo/issue6
2 parents e631883 + 802d129 commit 7b74e96

2 files changed

Lines changed: 596 additions & 0 deletions

File tree

lib/string-global.asm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#import "string.asm"
2+
#importonce
3+
.filenamespace c128lib
4+
5+
.macro @c128lib_StringCompare(string1Address, string2Address, switchToFastModeWhileRunning) { StringCompare(string1Address, string2Address, switchToFastModeWhileRunning) }
6+
.macro @c128lib_StringLength(stringAddress, switchToFastModeWhileRunning) { StringLength(stringAddress, switchToFastModeWhileRunning) }
7+
.macro @c128lib_StringCopy(sourceAddress, destinationAddress, switchToFastModeWhileRunning) { StringCopy(sourceAddress, destinationAddress, switchToFastModeWhileRunning) }
8+
.macro @c128lib_StringCopyLeft(sourceAddress, destinationAddress, numChars, switchToFastModeWhileRunning) { StringCopyLeft(sourceAddress, destinationAddress, numChars, switchToFastModeWhileRunning) }
9+
.macro @c128lib_StringCopyRight(sourceAddress, destinationAddress, sourceStrLength, numChars, switchToFastModeWhileRunning) { StringCopyRight(sourceAddress, destinationAddress, sourceStrLength, numChars, switchToFastModeWhileRunning) }
10+
.macro @c128lib_StringCopyMid(sourceAddress, destinationAddress, startPos, numChars, switchToFastModeWhileRunning) { StringCopyMid(sourceAddress, destinationAddress, startPos, numChars, switchToFastModeWhileRunning) }
11+
.macro @c128lib_StringConcatenate(string1Address, string2Address, string1Length, switchToFastModeWhileRunning) { StringConcatenate(string1Address, string2Address, string1Length, switchToFastModeWhileRunning) }

0 commit comments

Comments
 (0)