Changed most of the library sources to use .CAP instead of .CPU.
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
.import pushax
|
||||
.importzp ptr1
|
||||
|
||||
.macpack cpu
|
||||
|
||||
pushbidx:
|
||||
sty ptr1
|
||||
clc
|
||||
@@ -19,7 +17,7 @@ pushbidx:
|
||||
pushb: sta ptr1
|
||||
stx ptr1+1
|
||||
ldx #0 ; Load index/high byte
|
||||
.if (.cpu .bitand CPU_ISET_65SC02)
|
||||
.if .cap(CPU_HAS_ZPIND)
|
||||
lda (ptr1) ; Save one cycle for the C02
|
||||
.else
|
||||
lda (ptr1,x)
|
||||
|
||||
Reference in New Issue
Block a user