Merge pull request #14 from iss000/master

This commit is contained in:
Stefan Wessels 2024-01-12 16:43:13 +00:00 committed by GitHub
commit a553909d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -504,29 +504,29 @@ void plat_Shutdown(void)
static char* scrptr = (char*)(0xbb80+25*40);
static char inverse = 0x00;
void clrmenu(void)
static void clrmenu(void)
{
memset((void*)(0xbb80+25*40), 0x20, 3*40);
scrptr = (char*)(0xbb80+25*40);
}
void cputs(char* s)
static void cputs(char* s)
{
while(s && *s)
*scrptr++ = inverse | *s++;
}
void gotoxy(int x, int y)
static void gotoxy(int x, int y)
{
scrptr = (char*)(0xbb80+(25+y)*40+x);
}
void revers(char flag)
static void revers(char flag)
{
inverse = flag? 0x80:0x00;
}
void cprintf(char* fmt, char* s)
static void cprintf(char* fmt, char* s)
{
static char temp[64];
sprintf(temp, fmt, s);