1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-15 14:07:16 +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++);
}
}