aboutsummaryrefslogtreecommitdiff
path: root/src/addrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/addrs.c')
-rw-r--r--src/addrs.c51
1 files changed, 7 insertions, 44 deletions
diff --git a/src/addrs.c b/src/addrs.c
index fd3c8a4..7813cd7 100644
--- a/src/addrs.c
+++ b/src/addrs.c
@@ -1,56 +1,19 @@
#include "addrs.h"
-u8 *dlist_top = u8p(DLIST_TOP_ADDR);
-u8 *dlist_bot = u8p(DLIST_BOT_ADDR);
-
-u16 *dlist_top_lms = u16p(0x7fa4);
-u16 *dlist_bot_lms = u16p(0x7fd4);
-u16 *dlist_status_lms = u16p(0x7fee);
-u8 *dlist_last_line = u8p(0x7ff0);
-
u8 *edbox_only_dlist = u8p(0x4bb8);
-/* 1000 bytes (25 40-char lines) apiece. */
-u8 *screen_top_addrs[7] = {
- u8p(0x4000),
- u8p(0x43e8),
- u8p(0x47d0),
- u8p(0x5000),
- u8p(0x53e8),
- u8p(0x57d0),
- u8p(0x5bb8)
-};
-
-/* 1000 bytes (25 40-char lines) apiece. */
-u8 *screen_bot_addrs[7] = {
- u8p(0x6000),
- u8p(0x63e8),
- u8p(0x67d0),
- u8p(0x7000),
- u8p(0x73e8),
- u8p(0x77d0),
- u8p(0x7bb8)
-};
-
-/* 40 bytes (1 line), third from the bottom of each _bot_addr */
-u8 *screen_lastlines[7] = {
- u8p(0x6370),
- u8p(0x6758),
- u8p(0x6b40),
- u8p(0x7370),
- u8p(0x7758),
- u8p(0x7b40),
- u8p(0x7f28)
-};
-
/* 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. */
-u8 *status_box = (u8 *)0x6398;
+u8 *status_box = (u8 *)0x339f;
/* 1 byte, leftmost column of GR.1 line at bottom */
-u8 *ind_net_status = (u8 *)0x63c0;
+u8 *ind_net_status = (u8 *)0x33c7;
/* 1 byte, 2nd column of GR.1 line at bottom */
-u8 *ind_act_status = (u8 *)0x63c1;
+u8 *ind_act_status = (u8 *)0x33c8;
+
+u16 *dlist_status_lms = (u16 *)0x337e;
+
+u8 *dlist_last_line = (u8 *)0x3380;