2 ; Freddy Offenga, Stefan Haubenthal, Christian Groessler, March 2007
4 ; detect the DOS version we're running on
8 .constructor detect, 26
11 ; ------------------------------------------------------------------------
26 lda #$4C ; probably default
34 ldy #6 ; OS/A+ has a jmp here
40 spdos: lda DOS+3 ; 'B' in BW-DOS
43 lda DOS+4 ; 'W' in BW-DOS
64 ; ------------------------------------------------------------------------
69 __dos_type: .byte ATARIDOS; default to ATARIDOS