2 ; Oliver Schmidt, 08.03.2004
4 ; Identify DOS version we're running on as one of these:
23 .constructor initdostype
28 ; Identify DOS version according to:
29 ; - "Beneath Apple ProDOS", chapter 6-63
30 ; - "Apple II ProDOS 8 TechNote #023: ProDOS 8 Changes and Minutia"
31 ; - ProDOS TechRefMan, chapter 5.2.4
35 cmp #$4C ; Is MLI present? (JMP opcode)
37 lda $BFFF ; ProDOS KVERSION
40 ora #$10 ; Make high nibble match major version