aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/Makefile2
-rw-r--r--config/config.c9
2 files changed, 8 insertions, 3 deletions
diff --git a/config/Makefile b/config/Makefile
index 65de826..2e0fd05 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 -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/config.c
+ cl65 -DVERSION='"$(VERSION)"' -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/config.c
test:
cl65 -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/config.c
diff --git a/config/config.c b/config/config.c
index f84f196..6b22e06 100644
--- a/config/config.c
+++ b/config/config.c
@@ -11,12 +11,16 @@
#include "../src/config.h"
+#ifndef VERSION
+#define VERSION "?????"
+#endif
+
conf_t defaults = {
"N:TCP://irc.libera.chat:6667",
"FNChatTest",
"FujiNetChat User",
{ 0xc0, 0x0c },
- { "#testari8", { 0 }, { 0 }, { 0 }, { 0 } },
+ { "#fnchat", { "##atari" }, { "#atari8" }, { 0 }, { 0 } },
{ 0 }, /* extra_channels */
3, /* alert_type, default = both */
0, /* show_ping, default = N */
@@ -437,7 +441,8 @@ void main(void) {
OS.color1 = conf->colors[1];
cursor(1);
- print("\x7d" "FujiNetChat Setup\n\n");
+ print("\x7d" "FujiNetChat Config\n");
+ print("Version " VERSION "\n\n");
detect_dos();
if(!load(0))