|
|
@ -6,7 +6,6 @@ start_sing: |
|
|
|
; VSFS is loaded: |
|
|
|
mov [global_disk_identifier], dl ; saving disk_identifier, this is the number the disk that we are booting from. |
|
|
|
; This number is set by the bios |
|
|
|
|
|
|
|
jmp sing_ready |
|
|
|
%include "mem_lib/mem_lib.nasm" |
|
|
|
%include "lib/os_lib.nasm" |
|
|
@ -18,6 +17,10 @@ jmp sing_ready |
|
|
|
%include "CLI/CLI.nasm" |
|
|
|
|
|
|
|
sing_ready: ; SingOS is ready for the user: |
|
|
|
mov ax, 0x8fc0 |
|
|
|
mov ss, ax ; Set 'ss' to this location (the beginning of our stack region) |
|
|
|
mov sp, 0xffff ; Set 'ss:sp' to the top of our 8K stack |
|
|
|
mov bp, sp |
|
|
|
|
|
|
|
call os_clear_screen |
|
|
|
|
|
|
|