π
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
MSX2+ YJK colors | MSX2+ / z88dk | |
Copyright (c) 2019-2024 BALLOON | FU-SEN | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019-2024 | |
zcc +msx -lndos -create-app -subtype=disk -bn yjkcolor yjkcolor.c | |
--> BLOAD"YJKCOLOR.MSX",R | |
*/ | |
void ldirvm(int addr, int vaddr, int size) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Balloons version 2 | MSX2 / z88dk | |
Copyright (c) 2019-2025 BALLOON | FU-SEN | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019-2025 | |
zcc +msx -lndos -create-app -subtype=disk -bn balloons balloons.c | |
--> BLOAD"BALLOONS.MSX",R | |
*/ | |
void wrtvdp(char reg, char data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Balloons version 2 MSX-DOS .com version | MSX-DOS / MSX2 / z88dk | |
Copyright (c) 2019-2025 BALLOON | FU-SEN | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019-2025 | |
zcc +msx -subtype=msxdos -bn balloons.com balloons-dos.c | |
(MSX-DOS 2.30+ set the following: SET EXPERT ON ) | |
--> BALLOONS | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Balloons Demo | MSX / z88dk | |
Copyright (c) 2019-2025 BALLOON | FU-SEN | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019-2025 | |
zcc +msx -lndos -create-app -subtype=disk -bn balldemo balldemo.c | |
--> BLOAD"BALLDEMO.MSX",R | |
zcc +msx -lndos -create-app -bn balldemo balldemo.c | |
--> BLOAD"CAS:",R (BALLDEMO.CAS) | |
zcc +msx -lndos -create-app -subtype=wav -bn balldemo balldemo.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char sprite[] = { 8, 8, | |
0x0e /* ....###. */, | |
0x1d /* ...###.# */, | |
0x1f /* ...##### */, | |
0x1f /* ...##### */, | |
0x0e /* ....###. */, | |
0x08 /* ....#... */, | |
0x10 /* ...#.... */, | |
0xe0 /* ###..... */ | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char sprite[] = { 5, 5, | |
0x70 /* .###.... */, | |
0xe8 /* ###.#... */, | |
0xf8 /* #####... */, | |
0xf8 /* #####... */, | |
0x70 /* .###.... */ | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <graphics.h> | |
#include <games.h> | |
#include <stdio.h> | |
char balloon[] = { 8, 8, | |
0x0e, 0x1d, 0x1f, 0x1f, 0x0e, 0x08, 0x10, 0xe0 | |
}; | |
void main(){ | |
clg(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <graphics.h> | |
#include <conio.h> | |
#include <stdio.h> | |
main(){ | |
clg(); | |
gotoxy(1,1); | |
printf("test\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() { | |
for (int y=1; y<=6; y++) { | |
for (int x=1; x<=24; x++) { | |
printf("%c[%u;%uH ", 27, y, x); | |
} | |
} | |
printf("%c[%u;%uH",27,2,2); // locate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Sine curve | z88dk mono graphics | |
Copyright (c) 2019 BALLOON | FU-SEN | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
Colecovision: | |
zcc +coleco -lm -create-app -bn sin sin.c (generate sin.rom) | |
MSX (-pragma-define:CLIB_DEFAULT_SCREEN_MODE=3 also works): | |
zcc +msx -lm -pragma-define:CLIB_DEFAULT_SCREEN_MODE=2 -create-app -bn sin sin.c (Cassette tape image, generate sin.cas) |