Long shot

This commit is contained in:
Jonathan Turner 2023-11-29 21:52:46 -05:00
parent abbf714841
commit 5304ff8c29
2 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,8 @@
} else if (strcmp(input, "RESULT") == 0) { } else if (strcmp(input, "RESULT") == 0) {
node *holes = get_holes( umem_head); node *holes = get_holes( umem_head);
print_memory( umem_head, holes); print_memory( umem_head, holes);
} else if (strcmp(input, "START") == 0) {
begin_output_example();
} else { } else {
kprint("You said: "); kprint("You said: ");
kprint(input); kprint(input);

View File

@ -12,6 +12,7 @@
void user_input(char *input); void user_input(char *input);
node* get_holes(node *enum_head); node* get_holes(node *enum_head);
void print_memory(node *umem_head, node *hole_head); void print_memory(node *umem_head, node *hole_head);
void begin_output_example();
int digit_len(unsigned digit); int digit_len(unsigned digit);
int digit_conver(const char *str); int digit_conver(const char *str);