Thanks for the quick response, seems that apart from a lesson in
coding it wasn't that far off the mark! I think I could perhaps have
added a 'WMAN' function as well to test if the window manager is
present (e.g. QDOS user only installed ptr_gen) since the test for
window manager is also part of ptr.inf trap return IIRC.
The whole point of this was to make some extensions which would run on
QDOS systems as well, so that a program could test its environment at
startup and set itself up accordingly. For example, a graphics program
could set itself up differently (more facilities? or which default
startup screen mode) if GD2 was found at startup.
Dilwyn, if you want, I can send you the screen_asm for QWord which already has some of these functions in them - you can use the code if you like, it has a few niceties too :-)
--
Rich Mellor
RWAP Software
35 Chantry Croft, Kinsley, Pontefract, West Yorkshire, WF9 5JH
TEL: 01977 610509
http://hometown.aol.co.uk/rwapsoftware
