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 334053b24c
fix
2019-07-24 17:42:42 +02:00

28 lines
548 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 := 0x121000 ; 4KB above stack
start:
mov rsp, 0x120000
mov rbp, zero
cls
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"