aboutsummaryrefslogtreecommitdiff
path: root/src/addrs.h
blob: 9f056d1677e8dc8f8048b3a9331322cdd23687f3 (plain)
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
45
46
#define FONT_ADDR_HI 0x80
#define DLIST_TOP_ADDR 0xbfa0
#define DLIST_BOT_ADDR 0xbfd0

#define u8 unsigned char
#define u8p(x) ((unsigned char *)x)
#define u16 unsigned int
#define u16p(x) ((unsigned int *)x)

/* dlist_bot is the main one, dlist_top is used when
   scrolled back. */
extern u8 *dlist_top, *dlist_bot;

extern u16 *dlist_top_lms;
extern u16 *dlist_bot_lms;

/* points to either edit_box or status_box */
extern u16 *dlist_status_lms;

/* ANTIC mode of last line, either 2 for GR.0 (edit box showing)
   or 6 for GR.1 (status box showing) */
extern u8 *dlist_last_line;

/* only one of these (not one per screen) */
extern u8 *edit_box;

/* display list for Start+E (show only edbox) mode. */
extern u8 *edbox_only_dlist;

/* used for scrollback */
extern u8 *screen_top_addrs[7];

/* normal (non-scrollback) display */
extern u8 *screen_bot_addrs[7];

/* address of last line of _bot, where printing actually happens */
extern u8 *screen_lastlines[7];

/* bottom 2 lines, shared by all screens */
extern u8 *status_box;

/* network status indicator */
extern u8 *ind_net_status;

/* activity indicator */
extern u8 *ind_act_status;