]> git.sur5r.net Git - cc65/commitdiff
fdtoiocb returns the IOCB in A!
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 4 Dec 2001 01:05:33 +0000 (01:05 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 4 Dec 2001 01:05:33 +0000 (01:05 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1130 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/graphics.s

index 57ef2b07ad36fac2dcea1b67c843ec3f7dd5b42b..1f3d62d6f6a1ab23d7e1f87e7b2e9a6f2ec9810d 100644 (file)
@@ -70,6 +70,7 @@ iocbok:       txa
        ldx     #0
        lda     tmp2            ; get fd used
        jsr     fdtoiocb
+       tax
 
 doopen:        txa
        ;brk