2 ; Oliver Schmidt, 08.03.2004
4 ; Identify DOS version we're running on as one of these:
18 ; ProDOS 8 2.0.1 - $21
19 ; ProDOS 8 2.0.2 - $22
20 ; ProDOS 8 2.0.3 - $23
23 .constructor initdostype, 25
28 ; Identify DOS version according to:
29 ; - Beneath Apple ProDOS, chapter 6-63
30 ; - Apple II ProDOS 8 TechNote #23, ProDOS 8 Changes and Minutia
31 ; - ProDOS TechRefMan, chapter 5.2.4
37 cmp #$4C ; Is MLI present? (JMP opcode)
39 lda KVERSION ; ProDOS 8 kernel version
42 ora #$10 ; Make high nibble match major version