diff --git a/programs/boot.vc5asm b/programs/boot.vc5asm index 61df3e7..e0bfff9 100644 --- a/programs/boot.vc5asm +++ b/programs/boot.vc5asm @@ -75,13 +75,20 @@ key_press_int: mov [rsp], r1 add rsp, 2 - call print_char + call term_putc sub rsp, 2 .leave: reti -print_char: +const term_width 20 + +term_y: + dw 0 +term_x: + dw 0 + +term_putc: mov [rsp], rbp add rsp, 2 mov rbp, rsp @@ -139,7 +146,7 @@ print_u16: mov [rsp], r0 add rsp, 2 - call print_char + call term_putc sub rsp, 2 mov r2, [rsp-2]