On 12 Jan 2005 at 21:35, P Witte wrote: > This is not the case. As it says in the documentation (and I have just > varified it with Jmon) (a6,a5) points to the top of the data area (it says > "points to the top of the jobs area" but this is a typo). It doesnt point to > the command string (although the illustration seems to suggest that). > (Qdos Bible, Section 3.0 pp 1-2)
Sorry but A6,A5 does indeed point to the *end* of the command string at least when the job is invoked by EX. it doesn't point to any data area Try to assemble: trap #14 moveq #-1,d1 moveq #5,d0 trap #1 and exec it after having called Qmon first to catch the trap #14. It is easy to check what register points where A6,a4 = start of data area A7 = nbr of channels A6,a5 = (end of!) command lline. Apart form that, I think we agree on the Ex mechanism. (...) > > QLib does, of course, know about the space taken up by the channels and > command string and so, if it likes, can scribble all over it. It cant > scribble over "my" area as, as far as it is concerned, that memory doesnt > belong to it. So a6,a5 would stay where it is. > I hope this clarifies matters. However, the point is moot at present, since > it seems that at a different solution is currently the favourite. Could you agree to it? Wolfgang _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
