1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-24 09:30:45 +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++);
}
}