Skip to content

Instantly share code, notes, and snippets.

🎈
🎈😍

BALLOON a.k.a. Fu-sen. fu-sen

🎈
🎈😍
Block or report user

Report or block fu-sen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fu-sen
fu-sen / a-z-type.bas
Last active Sep 18, 2019
A~Z 素早くタイプ A to Z quick type | IchigoJam BASIC 1.2.2+ https://15jamrecipe.jimdo.com/
View a-z-type.bas
' A to Z quick type | IchigoJam BASIC
' Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
10 'A to Z quick type
20 VIDEO 7:CLS:CLT
30 FOR A=65 TO 90
40 LC 2,1:? CHR$(A)
50 IF INKEY()!=A CONT
60 NEXT:T=TICK():CLS
70 ? T/60;".";T%60/6;"s";
@fu-sen
fu-sen / changeja.bas
Created Aug 17, 2019
Change to IchigoJam ja kana(カナ) v1.4 font | IchigoJam BASIC 1.3.2b13+
View changeja.bas
' Change to IchigoJam ja kana font | IchigoJam BASIC 1.3.2b13+
'
' Source(#D00-#DFF) https://gist.github.com/fu-sen/21400660612ad674f660b056fb07ece3
' Original https://github.com/IchigoJam/c4ij/blob/master/src/main-exkbd.c
' and BASIC Program
' Copyright (c) 2019 Taisuke Fukuno / Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
'
' IchigoJam Font(#E00-#FFF) https://fukuno.jig.jp/app/IchigoJam/charmap-v12.html
' CC BY IchigoJam https://ichigojam.net/ Licensed by jig.jp https://jig.jp/
View balloons.rb
# Balloons | ruby4ij
# Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
# The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
cls
while inkey()==-1
x=rnd 31
lc x,23
p 232
@fu-sen
fu-sen / sin.bas
Created Jul 9, 2019
サインカーブ Sine curve | MSX-BASIC https://msxjpn.jimdo.com/
View sin.bas
' Sine curve | MSX-BASIC
' Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
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)
@fu-sen
fu-sen / sin.c
Last active Nov 19, 2019
Sine curve | z88dk mono graphics https://blog.balloon.im/categories/z88dk/
View sin.c
/*
Sine curve | z88dk mono graphics
Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
MSX (MSX turbo R has the tape feature removed!):
zcc +msx -lm -lmsxbios -create-app -bn sin sin.c (Cassette tape image, generate sin.cas)
--> BLOAD"CAS:",R
zcc +msx -lm -lmsxbios -create-app -subtype=disk -bn sin sin.c (BASIC BLOAD file, generate sin.msx)
--> BLOAD"SIN.MSX",R
@fu-sen
fu-sen / text.h
Last active Jul 23, 2019
text sample | z88dk
View text.h
#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
View MIT-License-2012-2019.txt
The MIT License (MIT)
Copyright (c) 2012-2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@fu-sen
fu-sen / test.c
Created Jul 1, 2019
z86 PC-E200/G text test
View test.c
#include <graphics.h>
#include <conio.h>
#include <stdio.h>
main(){
clg();
gotoxy(1,1);
printf("test\n");
@fu-sen
fu-sen / sprite.c
Last active Jul 1, 2019
z88dk sprite sample
View sprite.c
#include <graphics.h>
#include <games.h>
#include <stdio.h>
char balloon[] = { 8, 8,
0x0e, 0x1d, 0x1f, 0x1f, 0x0e, 0x08, 0x10, 0xe0
};
void main(){
clg();
@fu-sen
fu-sen / 5x5.c
Created Jul 1, 2019
z88dk sprite sample 5x5
View 5x5.c
char sprite[] = { 5, 5,
0x70 /* .###.... */,
0xe8 /* ###.#... */,
0xf8 /* #####... */,
0xf8 /* #####... */,
0x70 /* .###.... */
};
You can’t perform that action at this time.