fox32os/terminal/stream.asm

15 lines
257 B
NASM
Raw Normal View History

; stream IO routines
; write a character to the terminal
; inputs:
; r0: pointer to ASCII character
stream_write_to_terminal:
mov r0, [r0]
jmp print_character_to_terminal
stream_get_input:
mov r0, [read_buffer]
ret
read_buffer: data.32 0