Make origin configurable via command-line

This commit is contained in:
J.B. Langston
2017-02-03 22:01:16 -05:00
parent 7cf0ebb068
commit be487bd5a0
+6 -8
View File
@@ -97,15 +97,13 @@ STOP = $FFE1 ; check the STOP key
GETIN = $FFE4 ; get a character GETIN = $FFE4 ; get a character
; ----------------------------------------------------------------------------- ; -----------------------------------------------------------------------------
; basic header ; set up origin
.IF 1
*= $0801
.WORD (+), 2005 ; pointer, line number
.NULL $9E, ^SUPER ; sys to entry point
+ .WORD 0 ; basic line end
.ENDIF
*= $9519 .WEAK
ORG = $9519
.ENDWEAK
* = ORG
; ----------------------------------------------------------------------------- ; -----------------------------------------------------------------------------
; initial entry point ; initial entry point