MOUNTED is a quick little program I wrote to tell if a disk is mounted
or not. It's intended to be used in startup-sequences to conditionally
execute programs from df1. For example, mine includes:

mounted playit
if not warn
    run playit:play playit:bachfugue.smus playit:
endif

So if I start up with the disk "playit" in df1: it plays a bach fugue
during loading. This program illustrates how to deal with BPTRs in a
well behaved way, and how to get hold of the device list. It's full
of magic numbers and inefficient code, and including stdio bloats it
up to 8K. A little tidying up can probably get it down quite a bit. But
it fits nicely in *my* c: directory and I'm arrogant enough to think
I have better things to do. It's a good idea to have the AmigaDOS
manual open to pages 266-269 while you're checking out the code.
It's written for Aztec V3.40a with the +P option set, so it should run 
just fine with Lattice.

		-- Peter da Silva.
		-- Author of the fantastic screen hack "Workbench Lander".
		-- Not to mention ROT and Smart-TTY.
		-- And incredibly modest guy.
