Fix build, Remove unused images.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
*.ko
|
||||
*.obj
|
||||
*.elf
|
||||
*.src
|
||||
|
||||
# Linker output
|
||||
*.ilk
|
||||
@@ -21,6 +22,8 @@
|
||||
*.a
|
||||
*.la
|
||||
*.lo
|
||||
*.8xv
|
||||
*.8xg
|
||||
|
||||
# Shared objects (inc. Windows DLLs)
|
||||
*.dll
|
||||
@@ -35,6 +38,7 @@
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
*.8xp
|
||||
|
||||
# Debug files
|
||||
*.dSYM/
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 6.4 KiB |
Regular → Executable
Binary file not shown.
|
Before Width: | Height: | Size: 6.4 KiB |
+9
-8
@@ -96,7 +96,7 @@ uint8_t keyboardState = 0x00;
|
||||
|
||||
bool newTiles = true;
|
||||
|
||||
char keyactions[256] = {
|
||||
const char* keyactions[1024] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0xFD, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0xFE,
|
||||
@@ -193,7 +193,7 @@ bool step() {
|
||||
} else if(bytes_read > 0) {
|
||||
idx = 0;
|
||||
char symbol;
|
||||
char escape_code[16]
|
||||
char escape_code[16];
|
||||
while (idx < bytes_read) {
|
||||
symbol = in_buf[idx];
|
||||
int increment_X = 1;
|
||||
@@ -212,7 +212,7 @@ bool step() {
|
||||
if (symbol == 0x05) {
|
||||
srl_Write(&srl, "TerminalCE", 10);
|
||||
increment_X = 0;
|
||||
symbol = 0x20
|
||||
symbol = 0x20;
|
||||
}
|
||||
if (cursorX >= 40) {
|
||||
cursorX = 0;
|
||||
@@ -231,7 +231,7 @@ bool step() {
|
||||
kb_Scan();
|
||||
idx8 = 0;
|
||||
idx = 0;
|
||||
char send[1];
|
||||
char send[1] = { 0 };
|
||||
uint8_t keys = 0;
|
||||
while (idx < 8) {
|
||||
keys = kb_Data[idx];
|
||||
@@ -239,16 +239,17 @@ bool step() {
|
||||
while (idx8 < 8) {
|
||||
if (keys & 0x01) {
|
||||
if (keyboardState > 3) { keyboardState = 0 ; }
|
||||
send[1] = keyactions[(64*keyboardState)+(8*idx)+idx8];
|
||||
send[0] = keyactions[(256*keyboardState)+(8*idx)+idx8];
|
||||
}
|
||||
keys = (keys >> 1)
|
||||
keys = (keys >> 1);
|
||||
idx8 += 1;
|
||||
}
|
||||
}
|
||||
idx += 1;
|
||||
}
|
||||
|
||||
srl_Write(&srl, send, 1);
|
||||
if (send[0] != 0) {
|
||||
srl_Write(&srl, send, 1);
|
||||
}
|
||||
}
|
||||
return !kb_On;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user