diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-13 02:08:22 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-13 02:08:33 -0400 |
| commit | f844caecef4174f1fd52c1e810a836489935a01d (patch) | |
| tree | 537298c8d6b3beb2fc47f3347a66ed03d067c80e /src/txbuf.s | |
| parent | 172db1bcaa88b51326e9b788022985c97276dbfb (diff) | |
| download | fujinet-chat-f844caecef4174f1fd52c1e810a836489935a01d.tar.gz | |
Save a tiny bit of space. 7701 bytes free.
Diffstat (limited to 'src/txbuf.s')
| -rw-r--r-- | src/txbuf.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/txbuf.s b/src/txbuf.s index bc1d1c2..dba52c3 100644 --- a/src/txbuf.s +++ b/src/txbuf.s @@ -8,8 +8,14 @@ .import _txbuflen .export _txbuf_append_chr, _txbuf_append_str + .export _txbuf_append_spc, _txbuf_append_01 .importzp sreg ; avoid ptr1 & friends, callers may use +_txbuf_append_01: + lda #$01 + .byte $2c ; BIT abs, skip next instruction +_txbuf_append_spc: + lda #' ' _txbuf_append_chr: tax lda #<tx_buf |
