From 4528b2347ac72ffdabdbe4d9e7bf7789c81e664f Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Tue, 12 Oct 2021 21:53:40 +0200 Subject: Adding tty --- src/boot.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/boot.s') diff --git a/src/boot.s b/src/boot.s index b88e8f7..6fe5ab8 100644 --- a/src/boot.s +++ b/src/boot.s @@ -64,8 +64,9 @@ stack_top: .type _start, @function _start: call init_gdt_table - ljmp $CODE_SEGMENT, $next - next: + ljmp $CODE_SEGMENT, $code + +code: movw $DATA_SEGMENT, %ax movw %ax, %ds movw %ax, %es -- cgit v1.2.3