-
Notifications
You must be signed in to change notification settings - Fork 0
/
int.h
44 lines (35 loc) · 1.22 KB
/
int.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _INT_H
#define _INT_H
/**
Code obtained from
https://github.com/z88dk/z88dk/tree/master/libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_sp1/BlackStar
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef WFRAMES
// WFRAMES 3, are 50/3 -> 25 FPS.
#define WFRAMES 2
#endif
#define SPEED 6
#define clock(x) (tick)
extern unsigned char tick;
extern unsigned char pick;
extern void wait(void);
extern void setup_int(void);
extern void sonido2Sirena();
extern inline void sonido2Huida();
extern void start_ay();
extern void stop_ay();
extern inline void sonido1Bola();
extern inline void sonido3PierdeVida();
extern inline void sonido13ComeGhost();
extern inline void sonido1Fruta();
extern void stopCanal3();
extern void stopCanal2();
extern void incSiren();
extern void resetSiren();
extern inline void sonido3InsertCoin();
#endif