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 toslcmp
.import incsp4
.importzp sp, sreg, ptr1
.importzp c_sp, sreg, ptr1
toslcmp:
@@ -15,23 +15,23 @@ toslcmp:
stx ptr1+1 ; EAX now in sreg:ptr1
ldy #$03
lda (sp),y
lda (c_sp),y
sec
sbc sreg+1
bne L4
dey
lda (sp),y
lda (c_sp),y
cmp sreg
bne L1
dey
lda (sp),y
lda (c_sp),y
cmp ptr1+1
bne L1
dey
lda (sp),y
lda (c_sp),y
cmp ptr1
L1: php ; Save flags