Subversion Repositories Shiroi

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 nishi 1
/* $Id: basic.c 8 2024-08-28 16:29:15Z nishi $ */
2
 
3
#include "text.h"
4
 
5
unsigned char basicbuffer[1024 * 30];
6
 
7
void basic(void){
8
	clear();
9
 
10
	putstr("Shiroi Microcomputer BASIC\r\n");
11
	cursor();
12
	while(1){
13
		char c = getch();
14
		killcursor();
15
		if(c == '\n'){
16
			putstr("\r\n");
17
		}else{
18
			putchar(c);
19
		}
20
		cursor();
21
	}
22
}