Changed most of the library sources to use .CAP instead of .CPU.
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
.import addysp1
|
||||
.importzp c_sp, sreg, tmp1
|
||||
|
||||
.macpack cpu
|
||||
|
||||
; EAX = TOS + EAX
|
||||
|
||||
tosadd0ax:
|
||||
@@ -19,7 +17,7 @@ tosadd0ax:
|
||||
|
||||
tosaddeax:
|
||||
clc
|
||||
.if (.cpu .bitand CPU_ISET_65SC02)
|
||||
.if .cap(CPU_HAS_ZPIND)
|
||||
adc (c_sp) ; 65SC02 version - saves 2 cycles
|
||||
ldy #1
|
||||
.else
|
||||
|
||||
Reference in New Issue
Block a user