mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-27 01:51:35 +00:00
21 lines
278 B
Plaintext
21 lines
278 B
Plaintext
|
|
#include <ctype.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "msxbios.h"
|
|
//#link "msxbios.c"
|
|
|
|
void main()
|
|
{
|
|
int counter=0;
|
|
|
|
INITXT();
|
|
SCNCNT = 1; // set keyboard scan counter
|
|
|
|
while (1) {
|
|
counter++;
|
|
printf("Hello, World! %04x\n", counter++);
|
|
}
|
|
}
|