π
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) |
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 | MSX-BASIC | |
| ' Copyright (c) 2019 BALLOON | FU-SEN | |
| ' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
| 10 COLOR 15,4,7:SCREEN 2 | |
| 20 LINE(0,96)-(255,96),14 | |
| 30 FOR X=0 TO 255 | |
| 40 Y=96*(1-3.1415927*2*X/192) | |
| 50 PSET(X,Y),15 | |
| 60 NEXT X | |
| 70 I$=INPUT$(1) |
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 | ruby4ij | |
| # Copyright (c) 2019 BALLOON | FU-SEN | |
| # The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
| cls | |
| while inkey()==-1 | |
| x=rnd 31 | |
| lc x,23 | |
| p 232 |
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
| FROM caddy/caddy:alpine | |
| COPY ./ /usr/share/caddy/ | |
| USER root | |
| RUN sed -i 's/:8080/:{$PORT}/' /etc/caddy/Caddyfile |
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
| :{$PORT} | |
| root * /srv | |
| # Do not rewrite up to this point! | |
| file_server | |
| templates |