From bc8f8765efdb79f1562b29aebe0884f7ec0c1e6c Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 14 Jan 2021 01:25:27 +0100 Subject: [PATCH] Cleanup --- src/crt0.z80 | 2 -- src/xed.c | 35 ----------------------------------- 2 files changed, 37 deletions(-) diff --git a/src/crt0.z80 b/src/crt0.z80 index 0e38b5d..acae3cd 100644 --- a/src/crt0.z80 +++ b/src/crt0.z80 @@ -21,8 +21,6 @@ #code _HOME init: - ld a, 0x77 - out (0x80), a ; Store the old stack location before setting new ld (oldstack), sp ld sp, #stack_end diff --git a/src/xed.c b/src/xed.c index c94eb42..1201cbf 100644 --- a/src/xed.c +++ b/src/xed.c @@ -151,41 +151,6 @@ void normal_function(uint8_t c) { } int main() { - console_clear(); - console_goto(0, 0); - - static char buffer[10]; - for (int b = 0; b < 16; ++b) { - console_printstring("\033["); - if (b < 8) { - __itoa(b+40, buffer, 10); - } else { - __itoa(b+100-8, buffer, 10); - } - console_printstring(buffer); - console_putchar('m'); - - for (int f = 0; f < 16; ++f) { - - console_printstring("\033["); - if (f < 8) { - __itoa(f+30, buffer, 10); - } else { - __itoa(f+90-8, buffer, 10); - } - console_printstring(buffer); - console_putchar('m'); - - console_printstring("Test"); - } - - console_printstring("\n\r"); - } - - console_printstring("\033[0m"); - - return 0; - console_clear(); current_mode = &normal_mode;