kvisc/ka/command.k

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"