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:
cuz
2005-02-26 09:34:01 +00:00
parent d0bee35728
commit 8e95d036e3
4 changed files with 69 additions and 45 deletions

View File

@@ -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