]> git.sur5r.net Git - cc65/blob - libsrc/telestrat/orixhdr.s
0046bb79cc1d1a677273b1d58fa0575294665a96
[cc65] / libsrc / telestrat / orixhdr.s
1 ;
2 ; By Debrune Jérôme <jede@oric.org>
3
4 ;
5
6     ; The following symbol is used by the linker config. file
7     ; to force this module to be included into the output file.
8     .export __ORIXHDR__:abs = 1
9
10     ; These symbols, also, come from the configuration file.
11     .import __AUTORUN__, __PROGFLAG__
12     .import __MAIN_START__, __MAIN_LAST__
13
14
15 ; ------------------------------------------------------------------------
16 ; Orix header see http://orix.oric.org/doku.php?id=orix:header for specs
17
18 .segment        "ORIXHDR"
19
20     .byte   $01, $00                ; non C64 marker (same as o65 format)
21
22     .byte   "ori"                   ; magic number
23
24     .byte   $01                     ; version of the header
25     .byte   $00,%00000000           ; 6502 only
26     .byte   $00,$00                 ; type of language
27     .byte   $00,$00                 ; OS version 
28
29     .byte   $00                     ;  reserved
30     .byte   $00                     ;  auto or not
31
32     .word   __MAIN_START__          ; Address of start of file
33     .word   __MAIN_LAST__ - 1       ;  Address of end of file
34     .word   __MAIN_START__          ;  Address of start of file
35