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