From 7754312609a0e646a96e7f7997e15bbc43251559 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Sun, 27 Dec 2020 00:25:30 +0000 Subject: [PATCH] remove unused kernel/main --- kernel/main.asm | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 kernel/main.asm diff --git a/kernel/main.asm b/kernel/main.asm deleted file mode 100644 index 5ab8421..0000000 --- a/kernel/main.asm +++ /dev/null @@ -1,36 +0,0 @@ - cpu 8086 - org 0x7C00 - - jmp init - -%include "kernel/fd.asm" -%include "kernel/con.asm" - -entry_int21: iret - -init: ; install int 21h handler - mov ax, cs - mov ds, ax - mov es, ax - mov word [4*0x21], entry_int21 - mov word [4*0x21+2], cs - - mov word [fd_table], con_ftab - - ; print banner - mov dx, .banner - mov cx, 13 - mov bx, 0 - call con_write - - ; execute shell - mov ax, 0x4B00 - mov dx, .shellfn - int 0x21 - -.hlt: hlt - jmp .hlt - -.banner: db "rdos kernel", 0x0A, 0x0D - -.shellfn: db "SHELL.COM", 0