1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-10-31 23:09:49 +00:00
8bitworkshop/presets/msx/skeleton.sdcc

21 lines
278 B
Plaintext
Raw Normal View History

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