Rev 8 | Blame | Last modification | View Log | Download | RSS feed
/* $Id: basic.c 12 2024-08-29 04:19:08Z nishi $ */
#include "text.h"
unsigned char basicbuffer[1024 * 30];
void basic(void){
clear();
putstr("Shiroi Microcomputer BASIC\r\n");
cursor();
while(1){
char c = agetch();
if(c == '\n'){
killcursor();
putstr("\r\n");
}else if(c != 0){
killcursor();
putchar(c);
}
cursor();
}
}