Move constructor code into the INIT segment. Note: Didn't change any
obsolete modules. git-svn-id: svn://svn.cc65.org/cc65/trunk@3407 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -8,8 +8,11 @@
|
||||
.constructor detect,26
|
||||
.export __dos_type
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DOS type detection
|
||||
|
||||
.segment "INIT"
|
||||
|
||||
detect: lda #ATARIDOS
|
||||
sta __dos_type ; set default
|
||||
|
||||
@@ -43,7 +46,10 @@ mydos: lda #MYDOS
|
||||
sta __dos_type
|
||||
rts
|
||||
|
||||
.bss
|
||||
; ------------------------------------------------------------------------
|
||||
; Data
|
||||
|
||||
.bss
|
||||
|
||||
__dos_type: .res 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user