mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
36 lines
1.1 KiB
ArmAsm
36 lines
1.1 KiB
ArmAsm
;
|
|
; By Debrune Jérôme <jede@oric.org>
|
|
|
|
;
|
|
|
|
; 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
|
|
|
|
; These symbols, also, come from the configuration file.
|
|
.import __AUTORUN__, __PROGFLAG__
|
|
.import __MAIN_START__, __MAIN_LAST__
|
|
|
|
|
|
; ------------------------------------------------------------------------
|
|
; Orix header see http://orix.oric.org/doku.php?id=orix:header for specs
|
|
|
|
.segment "ORIXHDR"
|
|
|
|
.byte $01, $00 ; Non C64 marker (same as o65 format)
|
|
|
|
.byte "ori" ; Magic number
|
|
|
|
.byte $01 ; Version of the header
|
|
.byte $00,%00000000 ; 6502 only
|
|
.byte $00,$00 ; Type of language
|
|
.byte $00,$00 ; OS version
|
|
|
|
.byte $00 ; Reserved
|
|
.byte $00 ; Auto or not
|
|
|
|
.word __MAIN_START__ ; Address of start of file
|
|
.word __MAIN_LAST__ - 1 ; Address of end of file
|
|
.word __MAIN_START__ ; Address of start of file
|
|
|