M port/devcons.c => port/devcons.c +4 -0
@@ 249,6 249,8 @@ echo(int c)
/*
* ^t hack BUG
*/
+ if(c == 0x10)
+ panic("^p");
if(c == 0x14)
DEBUG();
if(c == 0x15)
@@ 272,6 274,8 @@ echo(int c)
void
kbdchar(int c)
{
+ if(c == 0) /* NULs cause trouble */
+ return;
if(c == '\r')
c = '\n';
echo(c);
M power/bboot.c => power/bboot.c +1 -1
@@ 26,7 26,7 @@ struct address {
Address addr[] = {
{ "ross", "connect 020701005eff" },
- { "bootes", "connect 080069020205" },
+ { "bootes", "connect 0800690203f3" },
{ "helix", "connect 080069020427" },
{ "spindle", "connect 0800690202df" },
{ "r70", "connect 08002b04265d" },
M power/boot.c => power/boot.c +1 -1
@@ 27,7 27,7 @@ struct address {
Address addr[] = {
{ "ross", "connect 020701005eff" },
- { "bootes", "connect 080069020205" },
+ { "bootes", "connect 0800690203f3" },
{ "helix", "connect 080069020427" },
{ "spindle", "connect 0800690202df" },
{ "r70", "connect 08002b04265d" },
M power/boot.h => power/boot.h +2 -2
@@ 5384,8 5384,8 @@ ulong bootcode[]={
0x06e656374,
0x020303830,
0x030363930,
- 0x032303230,
- 0x035006865,
+ 0x032303366,
+ 0x033006865,
0x06c697800,
0x0636f6e6e,
0x065637420,
M power/duart.c => power/duart.c +0 -4
@@ 132,10 132,6 @@ duartintr(void)
c = duart->data;
if(status & (FRM_ERR|OVR_ERR|PAR_ERR))
duart->cmnd = RESET_ERR;
- switch(c &= 0x7F){
- case 0x10:
- panic("^p");
- }
kbdchar(c);
}
/*