diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-11-04 10:40:11 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-11-04 10:40:11 +0200 |
| commit | 97bf5a802262bb47675fb6f4cd9d1e1522eaef5d (patch) | |
| tree | c50a38c39190f43233ceb4e8b2c05e9eddea77ae /asm/text_mode.atk16 | |
| parent | 49327432b456c3110064556ac4613b49be54b925 (diff) | |
Add new_line macro
Diffstat (limited to 'asm/text_mode.atk16')
| -rw-r--r-- | asm/text_mode.atk16 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/text_mode.atk16 b/asm/text_mode.atk16 index 7ec9fef..335f71c 100644 --- a/asm/text_mode.atk16 +++ b/asm/text_mode.atk16 @@ -10,9 +10,10 @@ @label main cursor_to_line RC 1 put_string RC RB " HELLO CORECAMP" - cursor_to_line RC 2 + new_line RC put_string RC RB " BY JAN" - cursor_to_line RC 4 + new_line RC + new_line RC put_string RC RB " > " set_graphics_mode gr_text_mode @@ -29,7 +30,6 @@ ldr RB RB ; RB := Terminal peripheral address deref str RA RC - mov RA RD addi RC 1 RC subi RA 5 RA @@ -39,7 +39,7 @@ @label keyboard_isr_clear ; cursor_to_line RC 4 ; put_string RC RB " " - cursor_to_line RC 4 + new_line RC put_string RC RB " > " @label keyboard_isr_end stack_restore RA RB |
