aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-02 04:09:45 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-02 04:09:58 -0400
commite9d64eaacaa4e2a71489b24b2b45ac26fbaead3c (patch)
tree45777ba39223777b4bf7907c4f8c6c738a8c3e18 /config
parentab278aca29eebc23eb6538fb5060f51afb8dca86 (diff)
downloadfujinet-chat-e9d64eaacaa4e2a71489b24b2b45ac26fbaead3c.tar.gz
Replace conf->blah with config.blah (see the definition of "OS" in <atari.h>). 6075 bytes free.
Diffstat (limited to 'config')
-rw-r--r--config/Makefile2
-rw-r--r--config/config.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/config/Makefile b/config/Makefile
index 15567e9..9ce3ffe 100644
--- a/config/Makefile
+++ b/config/Makefile
@@ -3,7 +3,7 @@ all: config.xex
#config.xex: config.c exetrailer.s ../src/config.h ../src/config.c
config.xex:
- cl65 -DVERSION='"$(VERSION)"' -m config.map -Oris -t atari -C ../src/atari.cfg -o config.xex config.c os2ram.c ../src/exehdr.s exetrailer.s ../src/config.c
+ cl65 -DVERSION='"$(VERSION)"' -m config.map -Oris -t atari -C ../src/atari.cfg -o config.xex config.c os2ram.c ../src/exehdr.s exetrailer.s
clean:
rm -f config.xex
diff --git a/config/config.c b/config/config.c
index e08de9f..ae3b110 100644
--- a/config/config.c
+++ b/config/config.c
@@ -39,6 +39,8 @@ char *servers[] = {
0
};
+conf_t *conf = (conf_t *)0x0400;
+
char have_dos = 0;
char filename[101] = "D:FNCHAT.CFG";
char buf[128];