]> git.sur5r.net Git - cc65/blobdiff - libsrc/telestrat/orixhdr.s
Merge telemon24 and telemon30 into telestrat target.
[cc65] / libsrc / telestrat / orixhdr.s
diff --git a/libsrc/telestrat/orixhdr.s b/libsrc/telestrat/orixhdr.s
new file mode 100644 (file)
index 0000000..c2a65d9
--- /dev/null
@@ -0,0 +1,35 @@
+;
+; 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 __BASHEAD_START__, __MAIN_LAST__
+
+
+; ------------------------------------------------------------------------
+; Orix header see http://orix.oric.org/doku.php?id=orix:header for specs
+
+.segment        "ORIXHDR"
+
+    .byte   $01, $00          ; 
+
+    .byte   "ori"
+
+    .byte   $01 ; version
+    .byte   $00,%00000000 ; 6502 only
+    .byte   $00,$00 ; Extends
+    .byte   $00,$00 ; OS
+
+    .byte   $00                     ;  reserved
+    .byte   $00                     ; auto 
+
+    .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
+