]> wirehaze git hosting - BOS.git/blobdiff - kernel/shell/shell.asm

wirehaze git hosting

Update shell.asm
[BOS.git] / kernel / shell / shell.asm
index ea157aeb2c747da65c86d5b17d08485d755e8e16..646ca45512efed7b4d30ec494d865913ddc68711 100755 (executable)
@@ -12,7 +12,7 @@
 ;--------------;\r
 \r
     prompt                  db   'BOS kernel>', 0\r
-    cmd_buffer: times 255      db   0                    ; 255 char command buffer\r
+    cmd_buffer: times 255   db   0                    ; 255 char command buffer\r
 \r
 \r
 \r
@@ -39,7 +39,7 @@ shell:
         mov    cx, 0                                  ; max 254 chars in command\r
     .loop:                                            ; no. 255 is always a 0\r
 \r
-        push   cx                                     ; better be sure it´s safe..\r
+        push   cx                                     ; better be sure it´s safe..\r
         push   edi\r
 \r
         call   getc                                   ; keyboard.inc\r
@@ -74,7 +74,7 @@ shell:
         jmp    chk_cmd\r
 \r
      .backspace:\r
-        cmp    cx, 0                                  ; can´t delete the prompt.. ;-)\r
+        cmp    cx, 0                                  ; can´t delete the prompt.. ;-)\r
         je     .loop\r
         dec    edi                                    ; "remove" one char from buffer\r
         call   backspace                              ; do backspace on screen\r
@@ -154,7 +154,7 @@ chk_cmd:
     ;   done. command found    ;\r
     ;--------------------------;\r
     .done:\r
-        cmp    ecx, 0                                 ; make sure it´s more\r
+        cmp    ecx, 0                                 ; make sure it´s more\r
         je     .d_quit                                ; then 0 chars..\r
 \r
         shl    ebp, 2\r
@@ -186,4 +186,4 @@ chk_cmd:
         mov    edi, cmd_buffer\r
         jmp    shell\r
 \r
-        ret
\ No newline at end of file
+        ret\r