.topgood:
( If y coordinate off the bottom, scroll and pull it back )
+ idis
#32 vga_cursor_y @8 #8 60i8 swap - jn .botgood
#32 vga_scr
#32 vga_scr #8 80i8 shl +
- #32 4800i32 #8 80i8 shl -
+ #32 4720i32 shl
call mem_move
+
+ #32 vga_scr #32 4720i32 shl +
+ #32 vga_cursor_col @8 shl shl shl shl shl shl shl shl #8 0x20i32 |
+ #8 80i8
+ call mem_set_16
+ ien
+
#32 vga_cursor_y @8 #8 1i8 swap - #32 vga_cursor_y !8 drop
.botgood: