mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 06:38:05 +11:00
23 lines
427 B
NASM
23 lines
427 B
NASM
|
; This repesents a minimal shell, that is, the smallest shell our configuration
|
||
|
; options allow. For a full-featured shell, see "glue.asm"
|
||
|
.inc "user.h"
|
||
|
.inc "err.h"
|
||
|
.inc "ascii.h"
|
||
|
jp init
|
||
|
|
||
|
.inc "core.asm"
|
||
|
.inc "lib/util.asm"
|
||
|
.inc "lib/parse.asm"
|
||
|
.inc "lib/args.asm"
|
||
|
.inc "lib/stdio.asm"
|
||
|
.equ SHELL_RAMSTART USER_RAMSTART
|
||
|
.equ SHELL_EXTRA_CMD_COUNT 0
|
||
|
.inc "shell/main.asm"
|
||
|
|
||
|
init:
|
||
|
call shellInit
|
||
|
jp shellLoop
|
||
|
|
||
|
USER_RAMSTART:
|
||
|
|