/programs/system/shell/modules/module_command.c |
74,13 → 74,6 |
default: |
if (CMD_POS < 255) |
{ |
|
if ( kol_key_control() & 0x40 ) // åñëè âêëþ÷¸í CapsLock |
if ( (kol_key_control() & 1) || (kol_key_control() & 2)) // åñëè íàæàòû øèôòû |
key = tolower(key); |
else |
key = toupper(key); |
|
CMD[CMD_POS] = key; |
CMD_POS++; |
printf("%c", key); |
/programs/system/shell/all.h |
10,7 → 10,6 |
#include "system/kolibri.h" |
#include "system/stdlib.h" |
#include "system/string.h" |
#include "system/ctype.h" |
|
#include "globals.h" |
#include "prototypes.h" |
/programs/system/shell/compile_eng.bat |
6,8 → 6,7 |
gcc -c system/kolibri.c |
gcc -c system/stdlib.c |
gcc -c system/string.c |
gcc -c system/ctype.c |
ld -nostdlib -T kolibri.ld -o shell start.o kolibri.o stdlib.o string.o ctype.o shell.o |
ld -nostdlib -T kolibri.ld -o shell start.o kolibri.o stdlib.o string.o shell.o |
objcopy shell -O binary |
erase lang.h start.o shell.o kolibri.o stdlib.o string.o |
kpack shell |
/programs/system/shell/compile_rus.bat |
6,8 → 6,7 |
gcc -c system/kolibri.c |
gcc -c system/stdlib.c |
gcc -c system/string.c |
gcc -c system/ctype.c |
ld -nostdlib -T kolibri.ld -o shell start.o kolibri.o stdlib.o string.o ctype.o shell.o |
ld -nostdlib -T kolibri.ld -o shell start.o kolibri.o stdlib.o string.o shell.o |
objcopy shell -O binary |
erase lang.h start.o shell.o kolibri.o stdlib.o string.o |
kpack shell |