Added "popptr1" which is of common use to save some bytes.
This commit is contained in:
@@ -6,17 +6,14 @@
|
||||
|
||||
.include "tgi-kernel.inc"
|
||||
|
||||
.import popax
|
||||
.import popptr1
|
||||
.importzp ptr1, ptr2
|
||||
|
||||
.proc tgi_popxy
|
||||
|
||||
sta ptr2 ; Y
|
||||
stx ptr2+1
|
||||
jsr popax
|
||||
sta ptr1 ; X
|
||||
stx ptr1+1
|
||||
rts
|
||||
jmp popptr1 ; X
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user