1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-28 05:29:33 +00:00
8bitworkshop/presets/msx/skeleton.sdcc
2020-01-21 10:31:01 -06:00

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++);
}
}