mirror of
https://github.com/cc65/cc65.git
synced 2025-03-24 08:29:30 +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:
parent
36131c00d0
commit
66bcf9ac4e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user