public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e682a25
)
coco3: tty: adjust buffer address to accomodate 25 lines.
author
Brett Gordon
<beretta42@gmail.com>
Wed, 7 Oct 2015 15:40:21 +0000
(11:40 -0400)
committer
Brett Gordon
<beretta42@gmail.com>
Wed, 7 Oct 2015 15:46:21 +0000
(11:46 -0400)
Kernel/platform-coco3/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/devtty.c
b/Kernel/platform-coco3/devtty.c
index
1515fdc
..
3f757c8
100644
(file)
--- a/
Kernel/platform-coco3/devtty.c
+++ b/
Kernel/platform-coco3/devtty.c
@@
-142,11
+142,11
@@
static struct pty ptytab[] = {
&fmodes[0]
},
{
- (unsigned char *) 0xac
8
0,
+ (unsigned char *) 0xac
0
0,
NULL,
0,
{0, 0, 0, 0},
- 0xac
8
0 / 8,
+ 0xac
0
0 / 8,
0x6c, /* 40 column */
40,
25,
@@
-530,7
+530,7
@@
void devtty_init()
/* apply default/cmdline mode to terminal structs */
for( i=0; i<2; i++){
- memcpy( &(ptytab[i].gime), &(mode[defmode]),
5
);
+ memcpy( &(ptytab[i].gime), &(mode[defmode]),
sizeof( struct mode_s )
);
}
apply_gime( 1 ); /* apply initial tty1 to regs */
}