aboutsummaryrefslogtreecommitdiff
path: root/src/addrs.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-14 02:32:09 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-14 02:32:09 -0400
commit7dd075509dbbf4883388240af2cf4c6dd925cc87 (patch)
tree798ff60b9570fdca60b4c11a1f6a7a5478e63a5a /src/addrs.c
parent52940550fae5f5002d58653d146c862d8a637aa8 (diff)
downloadfujinet-chat-7dd075509dbbf4883388240af2cf4c6dd925cc87.tar.gz
use GR.1 for screen status line. also revert to using only one status_box.
Diffstat (limited to 'src/addrs.c')
-rw-r--r--src/addrs.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/addrs.c b/src/addrs.c
index c130cb1..8989962 100644
--- a/src/addrs.c
+++ b/src/addrs.c
@@ -6,6 +6,7 @@ u8 *dlist_bot = u8p(DLIST_BOT_ADDR);
u16 *dlist_top_lms = u16p(0xbfa4);
u16 *dlist_bot_lms = u16p(0xbfd4);
u16 *dlist_status_lms = u16p(0xbfee);
+u8 *dlist_last_line = u8p(0xbff0);
u8 *edit_box = u8p(0x0600); /* up to 256 bytes (page 6) */
u8 *rx_buf = u8p(0xa000); /* 512 bytes */
@@ -44,13 +45,9 @@ u8 *screen_lastlines[7] = {
u8p(0xbf28)
};
-/* 80 bytes (2 lines), bottom 2 of each _bot_addr */
-u8 *status_boxes[7] = {
- u8p(0xa798),
- u8p(0xab80),
- u8p(0xaf68),
- u8p(0xb398),
- u8p(0xb780),
- u8p(0xbb68),
- u8p(0xbf50)
-};
+/* 60 bytes, 1 GR.0 line and 1 GR.1 line. also 20 more bytes filler.
+ this is the bottom 2 lines of screen 0.
+ screens 1-6 actually have 80 bytes of free RAM
+ at the bottom (2 unused lines), for now at least. addresses:
+ 0xab80 0xaf68 0xb398 0xb780 0xbb68 0xbf50 */
+u8 *status_box = 0xa798;