added page2text, fixed 40 col bug in text2page

This commit is contained in:
Egan Ford 2017-04-15 21:52:52 -06:00
parent b41676bab8
commit 2bc0752f9d
3 changed files with 1 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -22,10 +22,7 @@ int main()
for(i=0;i<24;i++) {
for(j=0;j<40;j++) {
c = getchar();
if(++count > 1024) {
fprintf(stderr,"input size > 1024\n\n");
return 1;
}
count++;
screen[linemap[i]][j] = c & 0x7F;
}
if((i + 1) % 3 == 0)