]> git.sur5r.net Git - cc65/blobdiff - libsrc/telestrat/orixhdr.s
Correcting some code from github comments
[cc65] / libsrc / telestrat / orixhdr.s
index c2a65d9faea4e36efe2fed17aba35a7d88bfddfd..6fe2fca73bd9267384220b1c17bafedb19b1f360 100644 (file)
@@ -3,13 +3,13 @@
 
 ;
 
-        ; 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
+    ; 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__
+    ; These symbols, also, come from the configuration file.
+    .import __AUTORUN__, __PROGFLAG__
+    .import __BASHEAD_START__, __MAIN_LAST__
 
 
 ; ------------------------------------------------------------------------
 
 .segment        "ORIXHDR"
 
-    .byte   $01, $00          
+    .byte   $01, $00                ; non C64 marker (same as o65 format)
 
-    .byte   "ori"
+    .byte   "ori"                   ; magic number
 
-    .byte   $01 ; version
-    .byte   $00,%00000000 ; 6502 only
-    .byte   $00,$00 ; Extends
-    .byte   $00,$00 ; OS
+    .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 
+    .byte   $00                     ;  auto or not
 
     .word   __BASHEAD_START__       ; Address of start of file
     .word   __MAIN_LAST__ - 1       ;  Address of end of file