-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
35 lines (25 loc) · 668 Bytes
/
main.h
File metadata and controls
35 lines (25 loc) · 668 Bytes
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
#ifndef _MAIN_H
#define _MAIN_H
#define CHARSET (unsigned char *)0xE000
#define GROUND 60
#define DINOX 115
#define JUMPCLEAR 53
#define LIVES 3
//https://www.atariarchives.org/creativeatari/PlayerMissile_Graphics.php
unsigned char *src;
unsigned char *dst;
unsigned char scrlh;
unsigned char scrld;
unsigned char scrlm;
unsigned char scrlc=0;
unsigned char *dinoptr;
unsigned char y=0,oy=0;
unsigned char *curpm, *backpm, *temppm;
#pragma bss-name (push, "PM")
unsigned char pmgmembuf[0x800];
unsigned char pmgmembuf2[0x800];
unsigned char mapstrt[46];
unsigned char dlist[128];
static struct __double_pmgmem *pmgmem, *pmgmem2;
#pragma bss-name (pop)
#endif