1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

fixed incorrect way of temporary storing parameter

git-svn-id: svn://svn.cc65.org/cc65/trunk@788 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst 2001-07-14 21:15:02 +00:00
parent 36131c00d0
commit 66bcf9ac4e

View File

@ -26,9 +26,14 @@ dio_secnum: .res 2
stx dio_secnum
jsr popax ; get 3rd parameter
pha ; save it
txa
pha
jsr pushax ; put it back
pla ; restore it
sta ptr1+1
pla
sta ptr1
stx ptr1+1
ldy #sst_driveno
lda (ptr1),y
clc