Hi Norman,

I am familiar with your excellent Assembly Language book.

I will take a look at the toolkit that you mention; it certainly sounds as
if it could be used as a template for what I am looking for.

Come to think of it, I have actually never written any assembly language on
the QL, as far as I remember. The last time I attempted to write assembly,
it was 68000 code on an Atari ST. The ST went up into the attic in the
early 90s (it is still there), so it must have been before that.


PS. Thanks for the great EasyPtr tutorial too.

On Sat, Sep 9, 2017 at 12:09 AM, Norman Dunbar via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> Evening Daniel,
> Re assembly language and writing extensions, my eBook has a few chapters
> on that. Help yourself to http://qdosmsq.dunbar-it.co.
> uk/downloads/QLToday/QL_Assembly.pdf.
> If you need to return two values, or four, then take a look at the
> DJTOOLKIT sources at https://github.com/SinclairQL/DJToolkit, you will be
> interested in the MAX_CON function which is passed a channel I'd and 4
> integers, and returns an error code as the result, plus updates the 4
> integers with the channel's window or console sizes and positions:
> *====================================================================*
> * error = MAX_CON #channel, x%, y%, xo%, yo% => returns an error and
> *                updates the 4 (non-channel) parameters to be the
> *                maximum sizes & positions that a CON channel is.
> *====================================================================*
> You could write something similar quite easily, I'm sure.
> Cheers,
> Norm.
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> QL-Users Mailing List
QL-Users Mailing List

Reply via email to