2013-05-20 18:35:42 +00:00
|
|
|
;
|
|
|
|
; Oliver Schmidt, 2013-05-16
|
|
|
|
;
|
2019-05-29 20:32:44 +00:00
|
|
|
; This module supplies a header used by sim65.
|
2013-05-20 18:35:42 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
.export __EXEHDR__ : absolute = 1 ; Linker referenced
|
2019-05-28 19:29:55 +00:00
|
|
|
.importzp sp
|
2019-05-29 20:04:54 +00:00
|
|
|
.import __MAIN_START__
|
2019-05-29 22:06:31 +00:00
|
|
|
.import startup
|
2013-05-20 18:35:42 +00:00
|
|
|
|
|
|
|
.segment "EXEHDR"
|
|
|
|
|
2019-05-29 20:04:54 +00:00
|
|
|
.byte $73, $69, $6D, $36, $35 ; 'sim65'
|
|
|
|
.byte 2 ; header version
|
|
|
|
.byte .defined(__SIM65C02__) ; CPU type
|
|
|
|
.byte sp ; sp address
|
|
|
|
.addr __MAIN_START__ ; load address
|
2019-05-29 22:06:31 +00:00
|
|
|
.addr startup ; reset address
|