1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/dos.k
2019-06-16 12:17:31 +02:00

41 lines
531 B
Plaintext

; The OS/K Team licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;
; Entry point
;
_start:
mov rsp, 0x200000
xor rbp, rbp
call main
.1:
stop
jmp .1
;
; Preprocessor misc.
;
include "inc/limits.k"
include "inc/regs.k"
;
; Include librairies
;
include "crt/err/errno.k"
include "crt/fmt/format.k"
include "crt/prn/print.k"
include "crt/str/string.k"
;
; Include drivers
;
include "sys/memdev.k"
;
; Disk Operating System
;
include "main.k"