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/command.k
julianb0 2a610f2d7a
vm
2019-07-17 22:25:50 +02:00

29 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.
__cmdstart:
jmp start
include "crt/crt.k"
FILE_LOADP := 0x141000 ; 4KB above stack
start:
mov rsp, 0x140000
mov rbp, zero
cls
cld
call main
mov rax, Sys.EnterHaltMode
trap 0
crash
include "usr/cmd/main.k"
include "usr/cmd/dir.k"
cmd.versionstr = "COMMAND.COM, version 0.1 (KVISC)\nCopyright (C) 2019, The OS/K Team\nMIT license (permissive), see LICENCE file in source tree"