|
|
|
@ -51,6 +51,7 @@ CLI_DELETE:
|
|
|
|
|
|
|
|
|
|
;Move NULL into the last character of the line (delete) |
|
|
|
|
mov al, 0x0 |
|
|
|
|
add bx, CLI_Command_Buffer ; address+offset = destination |
|
|
|
|
mov [bx], al |
|
|
|
|
|
|
|
|
|
; Go back one space |
|
|
|
@ -69,6 +70,14 @@ CLI_DELETE:
|
|
|
|
|
popa |
|
|
|
|
ret |
|
|
|
|
|
|
|
|
|
; Probably activated with the 'Enter' button. |
|
|
|
|
CLI_CONFIRM_INPUT: |
|
|
|
|
mov bx, 0 |
|
|
|
|
mov [CLI_Command_Counter], bx |
|
|
|
|
mov [CLI_Command_Buffer], bx |
|
|
|
|
ret |
|
|
|
|
|
|
|
|
|
; Executes the command. |
|
|
|
|
CLI_EXECUTE: |
|
|
|
|
ret |
|
|
|
|
|
|
|
|
|