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