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 c79ade6609
m
2019-06-30 13:46:44 +02:00

44 lines
568 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
call dir_test
hlt
; Wait for and print input indefinitely
.1:
scan rax
xpause
test rax, rax
j.z .1
prn rax
jmp .1
include "inc/limits.k"
include "crt/crt.k"
;
; Disk Operating System
;
include "sys/drv/cpudev.k"
include "sys/drv/memdev.k"
include "sys/drv/diskdev.k"
include "sys/tests.k"
include "sys/main.k"