Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3406 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
; - "Apple II ProDOS 8 TechNote #023: ProDOS 8 Changes and Minutia"
|
||||
; - ProDOS TechRefMan, chapter 5.2.4
|
||||
|
||||
.segment "INIT"
|
||||
|
||||
initdostype:
|
||||
lda MLI
|
||||
cmp #$4C ; Is MLI present? (JMP opcode)
|
||||
@@ -40,6 +42,6 @@ initdostype:
|
||||
: sta __dos_type
|
||||
done: rts
|
||||
|
||||
.bss
|
||||
.bss
|
||||
|
||||
__dos_type: .res 1
|
||||
|
||||
Reference in New Issue
Block a user