Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5c4b5e97
authored
Nov 16, 2015
by
malcolm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
style fixes
parent
0c7fd938
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
src/io.c
src/term.c
src/io.c
View file @
5c4b5e97
...
...
@@ -126,13 +126,21 @@ void kbd_irq()
else
{
if
(
a
==
0x4b
)
{
terminal_adjustcursor
(
-
1
,
0
);
}
else
if
(
a
==
0x4d
)
{
terminal_adjustcursor
(
1
,
0
);
}
else
if
(
a
==
0x48
)
{
terminal_adjustcursor
(
0
,
0
);
//-1);
}
else
if
(
a
==
0x50
)
{
terminal_adjustcursor
(
0
,
0
);
//1);
}
else
if
(
a
<
0x80
)
{
char
in
=
scan_map
[
a
];
...
...
src/term.c
View file @
5c4b5e97
...
...
@@ -132,7 +132,8 @@ void terminal_putchar(char c)
}
const
char
*
hexcharss
=
"0123456789abcdef"
;
void
terminal_hexstring
(
void
*
s
,
uint32_t
n
)
{
void
terminal_hexstring
(
void
*
s
,
uint32_t
n
)
{
char
*
d
=
(
char
*
)
s
;
for
(
uint32_t
i
=
0
;
i
<
n
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment