Changed most of the library sources to use .CAP instead of .CPU.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
.export _strcat
|
||||
.import popax
|
||||
.importzp ptr1, ptr2, tmp3
|
||||
.macpack cpu
|
||||
|
||||
_strcat:
|
||||
sta ptr1 ; Save src
|
||||
@@ -16,7 +15,7 @@ _strcat:
|
||||
jsr popax ; Get dest
|
||||
sta tmp3 ; Remember for function return
|
||||
tay
|
||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||
.if .cap(CPU_HAS_STZ)
|
||||
stz ptr2
|
||||
.else
|
||||
lda #0
|
||||
|
||||
Reference in New Issue
Block a user