Use the assembler version as BASIC line number, so the version of the
assembler (and probably compiler) can be determined from a compiled executable. Nice idea from Stefan Haubenthal. git-svn-id: svn://svn.cc65.org/cc65/trunk@2880 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f0250724a1
commit
be5adac693
6 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ IRQInd = $2FD ; JMP $0000 - used as indirect IRQ vector
|
|||
.org $1BFF
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E,"7181" ; SYS 7181
|
||||
.byte $00 ; End of BASIC line
|
||||
@Next: .word 0 ; BASIC end marker
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E,"4109" ; SYS 4109
|
||||
.byte $00 ; End of BASIC line
|
||||
@Next: .word 0 ; BASIC end marker
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E,"2061" ; SYS 2061
|
||||
.byte $00 ; End of BASIC line
|
||||
@Next: .word 0 ; BASIC end marker
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E,"1037" ; SYS 1037
|
||||
.byte $00 ; End of BASIC line
|
||||
@Next: .word 0 ; BASIC end marker
|
||||
|
|
|
@ -28,7 +28,7 @@ IRQInd = $500 ; JMP $0000 - used as indirect IRQ vector
|
|||
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E,"4109" ; SYS 4109
|
||||
.byte $00 ; End of BASIC line
|
||||
@Next: .word 0 ; BASIC end marker
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
.word Head ; Load address
|
||||
Head: .word @Next
|
||||
.word 1000 ; Line number
|
||||
.word .version ; Line number
|
||||
.byte $9E ; SYS token
|
||||
.byte <(((@Start / 1000) .mod 10) + $30)
|
||||
.byte <(((@Start / 100) .mod 10) + $30)
|
||||
|
|
Loading…
Add table
Reference in a new issue