Make origin configurable via command-line
This commit is contained in:
+6
-8
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user