From be487bd5a05155a7c3e1bcd52f7bbd170a9f0508 Mon Sep 17 00:00:00 2001 From: "J.B. Langston" Date: Fri, 3 Feb 2017 22:01:16 -0500 Subject: [PATCH] Make origin configurable via command-line --- supermon64.asm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/supermon64.asm b/supermon64.asm index 5fda09f..1efb14f 100644 --- a/supermon64.asm +++ b/supermon64.asm @@ -97,15 +97,13 @@ STOP = $FFE1 ; check the STOP key GETIN = $FFE4 ; get a character ; ----------------------------------------------------------------------------- -; basic header -.IF 1 - *= $0801 - .WORD (+), 2005 ; pointer, line number - .NULL $9E, ^SUPER ; sys to entry point -+ .WORD 0 ; basic line end -.ENDIF +; set up origin - *= $9519 + .WEAK +ORG = $9519 + .ENDWEAK + +* = ORG ; ----------------------------------------------------------------------------- ; initial entry point