]> git.sur5r.net Git - cc65/commitdiff
Don't check the IEEE status
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Nov 2002 18:22:26 +0000 (18:22 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Nov 2002 18:22:26 +0000 (18:22 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1539 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/write.s

index 508deb6b8f2024475772df074ad320ece5fe726f..7a1441fe005299a89b8dc68b921abe09e9503fd5 100644 (file)
         bcs     error
         bcc     @L2
 
-; Read the IEEE488 status
-
-@L0:    jsr     READST
-        cmp     #0
-        bne     error5
-
 ; Output the next character from the buffer
 
-        ldy     #0
+@L0:    ldy     #0
         lda     (ptr2),y
         inc     ptr2
         bne     @L1
         inc     ptr2+1          ; A = *buf++;
 @L1:    jsr     BSOUT
+        bcs     error           ; Bail out on errors
 
 ; Count characters written