From: izydorst Date: Sat, 14 Jul 2001 21:15:02 +0000 (+0000) Subject: fixed incorrect way of temporary storing parameter X-Git-Tag: V2.12.0~2779 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66bcf9ac4e1c709f53216e7c1d69cd9e35e2daec;p=cc65 fixed incorrect way of temporary storing parameter git-svn-id: svn://svn.cc65.org/cc65/trunk@788 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/geos/disk/dio_params.s b/libsrc/geos/disk/dio_params.s index 8d3d0b3ab..ef88a59b4 100644 --- a/libsrc/geos/disk/dio_params.s +++ b/libsrc/geos/disk/dio_params.s @@ -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