aboutsummaryrefslogtreecommitdiff
path: root/src/asmcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asmcode.c')
-rw-r--r--src/asmcode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/asmcode.c b/src/asmcode.c
index af7f1d6..bee7752 100644
--- a/src/asmcode.c
+++ b/src/asmcode.c
@@ -471,10 +471,9 @@ out_len_hi_ok:
sta(buf_len_l);
lda(outbuf_len_h);
sta(buf_len_h);
- /* TODO: call C writeblock() */
ldx_i(0x30);
jsr(writeblock);
- bpl(init_outbuf);
+ bpl(init_outbuf); /* writeblock() never sets N flag, so always branch */
chksum_err(); /* does not exit */
/* ---------------------------------------------------------------------------- */
init_outbuf: