[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

detecting ProDOS vs. Dos3.3



Hello,
	I am writing some code that needs to know which OS it is running
under.  I'd prefer a "rock solid" way of doing this.  Currently, I just
examine the jump table target address on the $3d0 JMP.  If it is "BE00"
I assume prodos and if it is (I forgot) then I assume Dos 3.3, anything
else is an error.  Is this a good method?  What about all of the Dos 3.3
hacks out there...

-- 
dennis@usb.com                           Universal Savings Bank.

The three most dangerous things are a programmer with a soldering
iron, a manager who codes, and a user who gets ideas.