#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 one of the status_boxes[] */ extern u16 *dlist_status_lms; /* only one of these (not one per screen) */ extern u8 *edit_box; /* 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 of the _bot display list for each screen */ extern u8 *status_boxes[7];