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