I customized it

This commit is contained in:
2026-04-16 16:08:19 -04:00
parent 1f27048c50
commit d3804d3d50
5 changed files with 14 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -167,25 +167,32 @@ void kernel_main(void) {
for (size_t i = 0; i < VGA_WIDTH * VGA_HEIGHT; i++) vga_buffer[i] = (uint16_t)' ' | (uint16_t)7 << 8;
update_cursor(0, 0);
printf("BUGS v1.2 (Scroll & Shift Enabled)\n");
printf("BUGS-1 A-1-i (Study Edition)\n");
printf("Testing and Study Edition, features unverified.\n");
while (1) {
printf("BUGS > ");
char input[64];
scanf(input);
if (strcmp(input, "clear") == 0) {
if (strcmp(input, "about") == 0){
printf("Buggy Unverified Greatish Script - Implementation 1\n");
printf("Version: BUGS-1 A-1-i \"Study Edition\"\n");
printf("Made with Gemini, customized and compiled by P7MJ\n");
} else if (strcmp(input, "clear") == 0) {
for (size_t i = 0; i < VGA_WIDTH * VGA_HEIGHT; i++) vga_buffer[i] = (uint16_t)' ' | (uint16_t)7 << 8;
terminal_row = 0; terminal_col = 0;
update_cursor(0,0);
} else if (strcmp(input, "help") == 0) {
printf("Commands: help, clear, color, test\n");
} else if (strcmp(input, "color") == 0) {
terminal_color = (terminal_color + 1) % 15;
if (terminal_color == 0) terminal_color = 1;
printf("Text color changed!\n");
} else if (strcmp(input, "test") == 0) {
printf("Symbols: !@#$%^&*()_+\n");
} else if (strcmp(input, "help") == 0) {
printf("BUILT-IN COMMANDS:\nabout clear color help poweroff test-symbols\n");
} else if (strcmp(input, "poweroff") == 0) {
printf("Maybe some day I'll do this.\n");
} else if (strcmp(input, "test-symbols") == 0) {
printf("Symbols: !@#$%%^&*()_+\n");
}
}
}

Binary file not shown.