mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-31 10:13:35 +00:00
04ac80431e
Was working on this to aid development of TB_6502 assembly language game
21 lines
257 B
C
21 lines
257 B
C
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
int ch;
|
|
while(1) {
|
|
|
|
ch=fgetc(stdin);
|
|
if (feof(stdin)) return 0;
|
|
ch=ch&0x7f;
|
|
if (ch=='\r') ch=('\n');
|
|
fputc(ch,stdout);
|
|
}
|
|
|
|
return 0;
|
|
|
|
|
|
}
|
|
|
|
|