diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-24 03:54:01 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-24 03:54:01 -0400 |
| commit | 715964c0b5ab8a2bc2b8ae8b7935e9ea0088e332 (patch) | |
| tree | 8d61003fadc3d3c7761394c517c4488c2b63743d /src/addrs.h | |
| parent | 2ce1d0d8a2e7f79e1bb008836a4dca48adba867e (diff) | |
| download | fujinet-chat-715964c0b5ab8a2bc2b8ae8b7935e9ea0088e332.tar.gz | |
Dynamic screens. Still a bit flaky, but actually does work to some degree.
Diffstat (limited to 'src/addrs.h')
| -rw-r--r-- | src/addrs.h | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/src/addrs.h b/src/addrs.h index a7b6755..e13e648 100644 --- a/src/addrs.h +++ b/src/addrs.h @@ -1,20 +1,19 @@ #define FONT_ADDR_HI 0x34 -#define DLIST_TOP_ADDR 0x7fa0 -#define DLIST_BOT_ADDR 0x7fd0 +// #define DLIST_TOP_ADDR 0x7fa0 +// #define DLIST_BOT_ADDR 0x7fd0 +#define DLIST_VIS 0x3360 #define EDBOX_ADDR 0x0600 +#define END_MARKER 0x3fa0 +#define SCR_VIS_BUF 0x3c00 +#define SCR_MAIN_MEM 0x4000 +#define SCR_MAIN_END 0x7fff +#define SCR_LOW_END 0x1fff #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; @@ -25,15 +24,6 @@ extern u8 *dlist_last_line; /* 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; |
