]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug. High byte of the sector number is stored into the wrong place.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Mar 2012 18:59:41 +0000 (18:59 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Mar 2012 18:59:41 +0000 (18:59 +0000)
Reported by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5579 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos-cbm/disk/dio_params.s

index 32a251b68b3efec46b66f9be577eddade6ce66b9..82f990356eff9f4109960b3d1670fed31893db99 100644 (file)
@@ -26,7 +26,7 @@ dio_params:
 
        jsr popax
        sta dio_secnum
-       stx dio_secnum
+       stx dio_secnum+1
 
        jsr popax               ; get 3rd parameter
        pha                     ; save it