diff --git a/boot.asm b/boot.asm index e8c3164..ac972c5 100644 --- a/boot.asm +++ b/boot.asm @@ -23,7 +23,8 @@ command_loop: je print_help cmp al, 'q' ; Check for 'q' command (quit) je quit_terminal - + je heckerfetch + cmp al, 'f, ; CPU: Hecker Generic CPU ; Unknown command response mov si, unknown_command_message call print_string @@ -34,6 +35,10 @@ print_help: call print_string jmp command_loop ; Return to command loop +heckerfetch: +mov si, heckerfetch +call print_string + quit_terminal: mov si, goodbye_message call print_string @@ -59,7 +64,7 @@ print_string: ; Data section for messages welcome_message db 'Welcome to the Simple Terminal!', 0 -prompt_message db 'Enter command (h for help, q to quit): ', 0 +prompt_message db 'Enter command (h for help, q to quit, f for heckerfetch): ', 0 help_message db 'Available commands: h (help), q (quit)', 0 unknown_command_message db 'Unknown command! Try again.', 0 goodbye_message db 'Goodbye!', 0