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
julianb0 c2e412fb7f
doc
2019-06-16 11:58:12 +02:00

44 lines
560 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
__push 11
__pop rbi
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"