[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
detecting ProDOS vs. Dos3.3
- Subject: detecting ProDOS vs. Dos3.3
- From: Dennis Jenkins <dennis@usb.com>
- Date: Thu, 04 Jan 2001 13:01:42 -0600
- Newsgroups: comp.sys.apple2
- Organization: Universal Savings Bank
- Xref: supernews.google.com comp.sys.apple2:4898
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.