1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/telestrat/orixhdr.s

36 lines
1.1 KiB
ArmAsm
Raw Normal View History

2016-12-14 20:22:10 +00:00
;
; By Debrune Jérôme <jede@oric.org>
2016-12-14 20:22:10 +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
; These symbols, also, come from the configuration file.
.import __AUTORUN__, __PROGFLAG__
.import __BASHEAD_START__, __MAIN_LAST__
2016-12-14 20:22:10 +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"
.byte $01, $00 ; non C64 marker (same as o65 format)
2016-12-14 20:22:10 +00:00
.byte "ori" ; magic number
2016-12-14 20:22:10 +00:00
.byte $01 ; version of the header
.byte $00,%00000000 ; 6502 only
.byte $00,$00 ; type of language
.byte $00,$00 ; OS version
2016-12-14 20:22:10 +00:00
.byte $00 ; reserved
.byte $00 ; auto or not
2016-12-14 20:22:10 +00:00
.word __BASHEAD_START__ ; Address of start of file
.word __MAIN_LAST__ - 1 ; Address of end of file
.word __BASHEAD_START__ ; Address of start of file
2016-12-14 20:22:10 +00:00