]> git.sur5r.net Git - cc65/commitdiff
Bugfix by Stefan Haubenthal.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 7 Jan 2013 20:28:59 +0000 (20:28 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 7 Jan 2013 20:28:59 +0000 (20:28 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5961 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atmos/write.s

index d5a693ada7d46f61362579e9213fd25ea23e7c7c..b7129dd1a30d23fc57fbfd5078ccfc9eb41f374e 100644 (file)
@@ -15,7 +15,7 @@
 .proc   _write
 
        sta     ptr3
-       sta     ptr3+1          ; save count as result
+               stx     ptr3+1          ; save count as result
 
         eor     #$FF
         sta     ptr2