1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
cc65/libsrc/telestrat/chline.s

23 lines
433 B
ArmAsm
Raw Normal View History

2018-04-14 20:05:03 +00:00
;
; jede jede@oric.org 2018-04-17
;
; void chline (unsigned char length);
;
.export _chline
.include "telestrat.inc"
.include "zeropage.inc"
.proc _chline
sta tmp1
@loop:
2018-04-16 19:51:15 +00:00
lda #'-' ; horizontal line screen code
2018-04-14 20:05:03 +00:00
BRK_TELEMON XWR0 ; macro send char to screen (channel 0 in telemon terms)
dec tmp1
bne @loop
rts
.endproc