2016-12-14 20:22:10 +00:00
|
|
|
;
|
2017-01-31 21:09:14 +00:00
|
|
|
; By Debrune Jérôme <jede@oric.org>
|
|
|
|
|
2016-12-14 20:22:10 +00:00
|
|
|
;
|
|
|
|
|
2017-02-01 22:58:33 +00:00
|
|
|
; The following symbol is used by the linker config. file
|
|
|
|
; to force this module to be included into the output file.
|
|
|
|
.export __ORIXHDR__:abs = 1
|
2016-12-14 20:22:10 +00:00
|
|
|
|
2017-02-01 22:58:33 +00:00
|
|
|
; These symbols, also, come from the configuration file.
|
|
|
|
.import __AUTORUN__, __PROGFLAG__
|
2018-09-18 19:52:37 +00:00
|
|
|
.import __MAIN_START__, __MAIN_LAST__
|
2016-12-14 20:22:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
; ------------------------------------------------------------------------
|
2017-01-31 21:09:14 +00:00
|
|
|
; Orix header see http://orix.oric.org/doku.php?id=orix:header for specs
|
2016-12-14 20:22:10 +00:00
|
|
|
|
|
|
|
.segment "ORIXHDR"
|
|
|
|
|
2018-10-19 21:21:16 +00:00
|
|
|
.byte $01, $00 ; Non C64 marker (same as o65 format)
|
2016-12-14 20:22:10 +00:00
|
|
|
|
2018-10-19 21:21:16 +00:00
|
|
|
.byte "ori" ; Magic number
|
2016-12-14 20:22:10 +00:00
|
|
|
|
2018-10-19 21:21:16 +00:00
|
|
|
.byte $01 ; Version of the header
|
2017-02-01 22:58:33 +00:00
|
|
|
.byte $00,%00000000 ; 6502 only
|
2018-10-19 21:21:16 +00:00
|
|
|
.byte $00,$00 ; Type of language
|
2017-02-01 22:58:33 +00:00
|
|
|
.byte $00,$00 ; OS version
|
2016-12-14 20:22:10 +00:00
|
|
|
|
2018-10-19 21:21:16 +00:00
|
|
|
.byte $00 ; Reserved
|
|
|
|
.byte $00 ; Auto or not
|
2016-12-14 20:22:10 +00:00
|
|
|
|
2018-09-18 19:52:37 +00:00
|
|
|
.word __MAIN_START__ ; Address of start of file
|
2018-10-19 21:21:16 +00:00
|
|
|
.word __MAIN_LAST__ - 1 ; Address of end of file
|
|
|
|
.word __MAIN_START__ ; Address of start of file
|
2016-12-14 20:22:10 +00:00
|
|
|
|