This commit is contained in:
mrdudz
2025-06-23 17:09:06 +02:00
parent 4863a3e29b
commit 5fc15a7a60
204 changed files with 915 additions and 912 deletions

View File

@@ -7,7 +7,7 @@
.export tosxora0, tosxorax
.import addysp1
.importzp sp, tmp1
.importzp c_sp, tmp1
.macpack cpu
@@ -15,16 +15,16 @@ tosxora0:
ldx #$00
tosxorax:
.if (.cpu .bitand CPU_ISET_65SC02)
eor (sp)
eor (c_sp)
ldy #1
.else
ldy #0
eor (sp),y
eor (c_sp),y
iny
.endif
sta tmp1
txa
eor (sp),y
eor (c_sp),y
tax
lda tmp1
jmp addysp1 ; drop TOS, set condition codes