Cleanup
This commit is contained in:
parent
4025b3e45b
commit
bc8f8765ef
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
#code _HOME
|
#code _HOME
|
||||||
init:
|
init:
|
||||||
ld a, 0x77
|
|
||||||
out (0x80), a
|
|
||||||
; Store the old stack location before setting new
|
; Store the old stack location before setting new
|
||||||
ld (oldstack), sp
|
ld (oldstack), sp
|
||||||
ld sp, #stack_end
|
ld sp, #stack_end
|
||||||
|
|
35
src/xed.c
35
src/xed.c
|
@ -151,41 +151,6 @@ void normal_function(uint8_t c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
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();
|
console_clear();
|
||||||
current_mode = &normal_mode;
|
current_mode = &normal_mode;
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user