Correcting some code from github comments

This commit is contained in:
jede
2017-02-01 23:58:33 +01:00
parent d9778994fa
commit 0e649f24ea
13 changed files with 51 additions and 1200 deletions

View 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__
; ------------------------------------------------------------------------
@@ -17,17 +17,17 @@
.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