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 3ab03703f4
cmd
2019-07-13 12:38:03 +02:00

29 lines
559 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
xor rbp, rbp
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"