Japanese

PanCake

What's NEW!

DOWNLOAD
PanCake Ver1.2 * 2017/11/24
PanCake C Ver1.2.1 * 2020/09/17

The firmware for IchigoCake "PanCake C version 1.2" had the following problems. If used "PanCake C", please update for version 1.2.1.

[Details of the bug]
Those with smaller sprite numbers will overlap on top.(In terms of specifications, the one with the larger sprite numbers overlaps on top)

WHAT?

PanCake is a multimedia tool for kids.
Controlled by serial communication.
Connect PanCake RXD to the IchigoJam TXD for more fun!

WANT

How to buy


PanCake
self-assembly kit
Shops
PCN / AKIZUKI DENSHI TSUSHO / aitendo
PanCake
pre-assembled circuit board
Shops
PCN

PanCake
breadboard kit
Shops
PCN / Kyohritsu eleshop / marutsu

A set of PanCake and IchigoJam pre-assembled circuit board
Shops
PCN

PALETTE

IMAGE


  • 00

  • 01

  • 02

  • 03

  • 04

  • 05

  • 06

  • 07

SPRITE


  • 00

  • 01

  • 02

  • 03

  • 04

  • 05

  • 06

  • 07

  • 08

  • 09

  • 0a

  • 0b

  • 0c

  • 0d

  • 0e

  • 0f

  • 10

  • 11

  • 12

  • 13

  • 14

  • 15

  • 16

  • 17

  • 18

  • 19

  • 1a

  • 1b

  • 1c

  • 1d

  • 1e

  • 1f

  • 20

  • 21

  • 22

  • 23

  • 24

  • 25

  • 26

  • 27

  • 28

  • 29

  • 2a

  • 2b

  • 2c

  • 2d

  • 2e

  • 2f

  • 30

  • 31

  • 32

  • 33

  • 34

  • 35

  • 36

  • 37

  • 38

  • 39

  • 3a

  • 3b

  • 3c

  • 3d

  • 3e

  • 3f

  • 40

  • 41

  • 42

  • 43

  • 44

  • 45

  • 46

  • 47

  • 48

  • 49

  • 4a

  • 4b

  • 4c

  • 4d

  • 4e

  • 4f

  • 50

  • 51

  • 52

  • 53

  • 54

  • 55

  • 56

  • 57

  • 58

  • 59

  • 5a

  • 5b

  • 5c

  • 5d

  • 5e

  • 5f

  • 60

  • 61

  • 62

  • 63

  • 64

  • 65

  • 66

  • 67

  • 68

  • 69

  • 6a

  • 6b

  • 6c

  • 6d

  • 6e

  • 6f

  • 70

  • 71

  • 72

  • 73

  • 74

  • 75

  • 76

  • 77

  • 78

  • 79

  • 7a

  • 7b

  • 7c

  • 7d

  • 7e

  • 7f

  • 80

  • 81

  • 82

  • 83

  • 84

  • 85

  • 86

  • 87

  • 88

  • 89

  • 8a

  • 8b

  • 8c

  • 8d

  • 8e

  • 8f

  • 90

  • 91

  • 92

  • 93

  • 94

  • 95

  • 96

  • 97

  • 98

  • 99

  • 9a

  • 9b

  • 9c

  • 9d

  • 9e

  • 9f

  • a0

  • a1

  • a2

  • a3

  • a4

  • a5

  • a6

  • a7

  • a8

  • a9

  • aa

  • ab

  • ac

  • ad

  • ae

  • af

TOMBRE

REFERENCE

■command

- Enter a command using the ASCII string. - Each command should be fixed-length and written in capital letters, needs "LF" at the last. Maximum command length is 96(byte). * PANCAKE CLEAR cn Fill a screen with a specified color. Specify color number into "cn" in hexadecimal. ex. PANCAKE CLEAR 0A * PANCAKE LINE x1 y1 x2 y2 cn Draw a line ex. PANCAKE LINE 00 00 10 0A 01 * PANCAKE CIRCLE xc yc ra cn Draw a circle. Specify a central coordinate into "xc,yc", a radius into "ra". (FROM 0.9) ex. PANCAKE CIRCLE 10 10 10 01 * PANCAKE STAMP px py tc cc...c Draw a 8*8 picture. A coordinate specified in "px,py" comes to the upper-left of the picture. In "tc", specify a color number to show transparent. In "cc...c", place color numbers from upper-left to right. ex. PANCAKE STAMP 00 08 02 228282822288822222282222202222020222022222202222202222022222022 * PANCAKE STAMP1 px py cn cccccccccccccccc Draw a 8*8 picture with one color. A coordinate specified in "px,py" comes to the upper-left of the picture. In "cn", specify a color number. In "cccc...", place 0 or 1 from upper-left to right. 0 shows up as transparent. (from 0.8) ex. PANCAKE STAMP1 00 08 02 F00FF00FF00FF00 * PANCAKE STAMPS px py si [fs] [ra] In "px, py", specify the output coordinates. In "si", specify the built-in sprite image number(00-af,fd,fe) When "fs" is specified, left/right reversal can be controlled. ON/OFF[01/00] (Default:00) When "ra" is specified, angle can be controlled. [00:0°,01:-90°,02:180°,03:90°] (Default:00) (from 1.1) ex. PANCAKE STAMPS 24 12 15 PANCAKE STAMPS 24 12 15 01 02 * PANCAKE IMAGE in Draw a built-in picture. Put an image number into "in". ex. PANCAKE IMAGE 02 * PANCAKE VIDEO os Turn on/off[01/00] the screen output. (from 0.8) ex. PANCAKE VIDEO 00 * PANCAKE SPRITE START in Start a sprite processing. In "in", specify an image number for the background. To fill it with one color, put 1 into the HighBits of "in". [ex. 12==the background appears red] Once you start sprite processing, LINE and IMAGE are unavailable. To stop sprite processing, put "FF" in "in". (from 0.8) ex. PANCAKE SPRITE START 03 * PANCAKE SPRITE CREATE sn si Create sprites. 16 sprites are available. sn:sprite number(0-15) si:built-in sprite image number(00-af) To turn the sprite off, put FF into "si". Large numbered sprites come to the front. (from 0.8) ex. PANCAKE SPRITE CREATE 00 15 * PANCAKE SPRITE MOVE sn px py Move a sprite. "sn" means the created sprite number. The origin specified with coordinate "px,py" comes the upper-left of the sprite. (from 0.8) ex. PANCAKE SPRITE MOVE 00 10 10 * PANCAKE SPRITE FLIP sn fs Reverse a sprite inside out. "sn" means the created sprite number. Put "fs" 01/00[ON/OFF]. (from 1.0) ex. PANCAKE SPRITE FLIP 00 01 * PANCAKE SPRITE ROTATE sn ra Turn a sprite. "sn" means the created sprite number. In "ra", specify an angle. [00:0°,01:-90°,02:180°,03:90°] (from 1.0) ex.    PANCAKE SPRITE ROTATE 00 01 * PANCAKE SPRITE USER sn tc cc...c Draw a original sprite.(maximum:2) sn sould be FD/FE. In "tc", specify a color number to show transparent. In "cc...c", place color numbers from upper-left to right. (from 1.0) ex. PANCAKE SPRITE USER FE 02 22828282222.. * PANCAKE SOUND o0 s0 o1 s1 o2 s2 o3 s3 Sound 4ch at the same time. o0-o3:octaves(0-4-7), s0-s3:intervals Interval"e" appears as noise. HighBits of s0-s3 mean timbre(0-3). To turn the sound off, put FF in "s0-s3" (from 0.8) ex. PANCAKE SOUND 04 00 04 04 04 07 04 FF PANCAKE SOUND 04 20 04 24 04 27 04 FF * PANCAKE SOUND1 cn on sn Sound 1ch only (from. 0.8) ex. PANCAKE SOUND1 00 04 07 * PANCAKE MUSIC SCORE ch pn tt mm Register MML at a sound channel. ch:channel(00-03) pn:01=sound immediately 00=sound later tt:tempo(0-F)+timbre[ex. 30==tempo3, timbre0] mm:MML(MAX:64 byte in binary command) (from 0.9) ex. PANCAKE MUSIC SCORE 00 01 30 $CDEFGAB>C * PANCAKE MUSIC PLAY ss [ch] Start/stop the sound[01/00]. Possible to play all sounds together when 4ch MML have been registerd using "MUSIC SCORE" or "MUSIC LOAD" command in advance. When ch (00-03) is specified, only that channel can be controlled. (from 0.9) ex. PANCAKE MUSIC PLAY 01 PANCAKE MUSIC PLAY 01 00 (from 1.1) * PANCAKE MUSIC LOAD ch mn Register built-in MML with a sound channel. In “mn", specify the built-in MML number(00-03). To set sound channel to the initial condition, set mn to FF. (from 1.1) ex. PANCAKE MUSIC LOAD 00 01 * PANCAKE RESET Initialize PanCake. Everything including sprites and sounds etc. returns to the initial condition. (from 0.9) ex. PANCAKE RESET * PANCAKE OUT pf Output to a OUTport. Specify a port number into "pf" in hexadecimal. ex. PANCAKE OUT FF * PANCAKE BPS rrrr Set a transmission speed.(Default:115,200) In "rrrr", specify the speed in hexadecimal. If you put "0000", it is 115,200. (from 1.0) ex. PANCAKE BPS 2580

■binary-command

- Binary-Command corresponding to Text-Command is available. - Command format:{80}{LN}{CN}{...} - 80:PanCakeID, LN:command length, CN:commandID, Maximum command length is 96(byte).

CIRCUIT

SAMPLE GAME

Game sample created with IchigoJamWorld record 42 points!

■Sacchan gets apples

100 'Sacchan gets apples
110 X=36:F=0:B=X+7:M=RND(72):N=0:R=0:S=0:A=1
120 ?"PC RESET"
130 ?"PC MUSIC SCORE 00 00 81 $C>C<EG"
140 ?"PC MUSIC SCORE 01 00 80 RRRRR$RRRRRRRRCCDE~~~~EFED~~~~DEDC~~~~"
150 ?"PC MUSIC PLAY 01"
160 ?"PC SPRITE START 01"
170 ?"PC SPRITE CREATE 00 0B"
180 ?"PC SPRITE CREATE 02 5D"
190 ?"PC SPRITE CREATE 01 1F"
200 ?"PC SPRITE CREATE 03 A6"
210 ?"PC SPRITE CREATE 04 A6"
220 ?"PC SPRITE MOVE 03 00 00"
230 ?"PC SPRITE MOVE 04 08 00"
240 ?CHR$(#80,#6,#8,0,X,35)
250 ?CHR$(#80,#5,#10,0,F)
260 ?CHR$(#80,#6,#8,2,B,35)
270 ?CHR$(#80,#5,#10,2,F)
280 ?CHR$(#80,#6,#8,1,M,N)
290 ?CHR$(#80,#5,#11,1,R)
300 ?CHR$(#80,#5,#7,3,#A6+S/10)
310 ?CHR$(#80,#5,#7,4,#A6+S%10)
320 K=INKEY()
330 IF K=28 X=X-4:F=1:B=X-7
340 IF K=29 X=X+4:F=0:B=X+7
350 R=(R+1)%4:N=N+RND(A+1)
360 IF (35<N)*(B-4<M)*(M<B+4) S=S+1:?"PC MUSIC SCORE 03 01 22 >>CE>C"
370 IF (35<N)*(X-4<M)*(M<X+4) GOTO 400
380 IF 35<N M=RND(72):N=0:A=(S+10)/10
390 GOTO 240
400 ?"PC MUSIC PLAY 00"
410 ?"PC MUSIC SCORE 03 01 40 <F~ED~<B>C~~~"

SUPPORT

PanCake-FAN

creativecommons

Resource images of PanCake(PALLETE,IMAGE,SPRITE,TIMBRE,ELECTRIC CIRCUIT) are offered under
the creative commons-Attribution-NonCommercial 4.0 International