]> git.sur5r.net Git - cc65/blob - include/telemon.h
Correcting spaces
[cc65] / include / telemon.h
1
2 void print (char *);
3
4 void hires();
5 void text();
6 void oups();
7 void ping();
8 void zap();
9 void shoot();
10 void explode();
11
12 void paper(char color);
13 void ink(char color);
14
15 void kbdclick1();
16
17
18
19 void curset(char x,char y);
20 void circle(char rayon);
21
22 char key(void);
23
24
25 /* PEEK, POKE, DEEK, DOKE */
26
27 #define POKE(addr,val)     (*(unsigned char*) (addr) = (val))
28
29
30 #define PCHN_1   001
31 #define PCHN_2   002
32 #define PCHN_12  003
33 #define PCHN_3   004
34 #define PCHN_13  005
35 #define PCHN_23  006
36 #define PCHN_123 007
37
38 #define ENV_DECAY       001  /* \_________ envelope */
39 #define ENV_ATTACK_CUT  002  /* /_________ envelope */
40 #define ENV_SAW_DOWN    003  /* \\\\\\\\\\ envelope */
41 #define ENV_WAVE        004  /* /\/\/\/\/\ envelope */
42 #define ENV_DECAY_CONT  005  /* \~~~~~~~~~ envelope */
43 #define ENV_SAW_UP      006  /* ////////// envelope */
44 #define ENV_ATTACK_CONT 007  /* /~~~~~~~~~ envelope */
45
46 #define VOL_ENVELOPE  0x0
47 #define VOL_QUIETEST  0x1
48 #define VOL_LOUDEST   0xe
49
50 extern int play(int soundchanels,int noisechanels,int envelop,int volume);
51
52
53 /* Play a musical tone through the selected channel. */
54
55 #define CHAN_1   1
56 #define CHAN_2   2
57 #define CHAN_3   3
58