From 8d1b80e6fd7c4f3feef1fe7f56a321966bf59cd8 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Sun, 5 Mar 2017 11:38:55 +0100 Subject: [PATCH] Fixed CPU-flag usage which fails on build server?! --- libsrc/common/strcat.s | 1 + libsrc/common/strchr.s | 1 + libsrc/common/strncat.s | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libsrc/common/strcat.s b/libsrc/common/strcat.s index 74fef0759..7dce2f78a 100644 --- a/libsrc/common/strcat.s +++ b/libsrc/common/strcat.s @@ -8,6 +8,7 @@ .export _strcat .import popax .importzp ptr1, ptr2, tmp3 + .macpack cpu _strcat: sta ptr1 ; Save src diff --git a/libsrc/common/strchr.s b/libsrc/common/strchr.s index 48bb8822b..15c743776 100644 --- a/libsrc/common/strchr.s +++ b/libsrc/common/strchr.s @@ -8,6 +8,7 @@ .export _strchr .import popax .importzp ptr1, tmp1 + .macpack cpu _strchr: sta tmp1 ; Save c diff --git a/libsrc/common/strncat.s b/libsrc/common/strncat.s index 42717853f..e0fa39cc0 100644 --- a/libsrc/common/strncat.s +++ b/libsrc/common/strncat.s @@ -8,7 +8,8 @@ .export _strncat .import popax .importzp ptr1, ptr2, ptr3, tmp1, tmp2 - + .macpack cpu + _strncat: eor #$FF ; one's complement to count upwards sta tmp1 -- 2.39.5