diff --git a/AUTHORS b/AUTHORS old mode 100755 new mode 100644 diff --git a/CHANGELOG b/CHANGELOG old mode 100755 new mode 100644 diff --git a/COPYING b/COPYING old mode 100755 new mode 100644 diff --git a/README b/README old mode 100755 new mode 100644 diff --git a/SAMPLE_PROGRAMS b/SAMPLE_PROGRAMS old mode 100755 new mode 100644 diff --git a/src/keyboard.c b/src/keyboard.c old mode 100755 new mode 100644 diff --git a/src/keyboard.h b/src/keyboard.h old mode 100755 new mode 100644 diff --git a/src/m6502.c b/src/m6502.c old mode 100755 new mode 100644 diff --git a/src/m6502.h b/src/m6502.h old mode 100755 new mode 100644 diff --git a/src/main.c b/src/main.c old mode 100755 new mode 100644 diff --git a/src/makefile b/src/makefile old mode 100755 new mode 100644 diff --git a/src/memory.c b/src/memory.c old mode 100755 new mode 100644 diff --git a/src/memory.h b/src/memory.h old mode 100755 new mode 100644 diff --git a/src/msgbuf.c b/src/msgbuf.c old mode 100755 new mode 100644 diff --git a/src/msgbuf.h b/src/msgbuf.h old mode 100755 new mode 100644 diff --git a/src/pia6820.c b/src/pia6820.c old mode 100755 new mode 100644 diff --git a/src/pia6820.h b/src/pia6820.h old mode 100755 new mode 100644 diff --git a/src/screen.c b/src/screen.c old mode 100755 new mode 100644 index 629acbc..3113604 --- a/src/screen.c +++ b/src/screen.c @@ -36,6 +36,8 @@ static int indexX, indexY; static WINDOW *screen; static long long interval_start; /* interval start time in u sec */ +int nrow, ncol; + char getch_screen(void) { return (char)wgetch(screen); diff --git a/src/screen.h b/src/screen.h old mode 100755 new mode 100644 index 88bdbb3..3324fad --- a/src/screen.h +++ b/src/screen.h @@ -25,5 +25,5 @@ void outputDsp(unsigned char dsp); char getch_screen(void); void select_screen(void); -int nrow, ncol; +extern int nrow, ncol;