Subversion Repositories Shiroi

Rev

Blame | Last modification | View Log | Download | RSS feed

/* $Id: basic.c 8 2024-08-28 16:29:15Z nishi $ */

#include "text.h"

unsigned char basicbuffer[1024 * 30];

void basic(void){
        clear();

        putstr("Shiroi Microcomputer BASIC\r\n");
        cursor();
        while(1){
                char c = getch();
                killcursor();
                if(c == '\n'){
                        putstr("\r\n");
                }else{
                        putchar(c);
                }
                cursor();
        }
}