From 5aa75ae81f07724ef8c16d61e42b74a20296acae Mon Sep 17 00:00:00 2001
From: mrdudz <mrdudz@users.noreply.github.com>
Date: Mon, 6 Jun 2022 14:01:16 +0200
Subject: [PATCH] handle loadaddr the same as with the other CBM targets

---
 cfg/vic20-asm.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cfg/vic20-asm.cfg b/cfg/vic20-asm.cfg
index 7ab70888c..286a7f95c 100644
--- a/cfg/vic20-asm.cfg
+++ b/cfg/vic20-asm.cfg
@@ -6,7 +6,7 @@ SYMBOLS {
 }
 MEMORY {
     ZP:       file = "", start = $0002,  size = $001A, define = yes;
-    LOADADDR: file = %O, start = $1001, size = $0002;
+    LOADADDR: file = %O, start = %S - 2, size = $0002;
     MAIN:     file = %O, start = %S,     size = $0DF3 - %S;
 }
 SEGMENTS {