THINGS programming under QDOS

Anything QL Software or Programming Related.
Post Reply
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

THINGS programming under QDOS

Post by tcat »

Hi all,

After having read an introduction on the THINGS by Joechem Merz, I wish to explore further.
I know THINGS are built into SMS system.

But how about programming under normal QDOS (not SMS)? I believe it possible, as QPAC2 is programmed as a set of different things, so the THING system must be defined within it, correct?

A couple of questions now arising...
- what is the binary I need to tie my calls to?
- THING calls are documented in SMS reference manual, can these be used?
- what other programmer's documentation best to use?
- are there any source code examples available in Assembly, Super BASIC, etc?

Many thanks
Tom


User avatar
NormanDunbar
Forum Moderator
Posts: 2470
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: THINGS programming under QDOS

Post by NormanDunbar »

I've been attempting to understand Thing programming for years, and to find some examples etc that were documented, but with no luck.

Good luck in your quest!


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
tofro
Font of All Knowledge
Posts: 3093
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: THINGS programming under QDOS

Post by tofro »

Tom,
you need to be loading Hotkey System II in order to have Things on QDOS.

The SMS manual is alright for using as introductory documentation. SMSQ/E and QDOS Things are not like in SMS2 accessed through a trap, but through a vector instead.

There is actually only very few code examples floating around - The best were probably in a number of QL Todays written by Jochen himself and George Gwilt. I do remember one article from Jochen that was pretty much covering it all, but can't remember where it was. Maybe you have the DVD, that would help.
Another article is here: http://www.dilwyn.me.uk/docs/ptr/thingdoc.zip

To my knowledge, there is Thing bindings for (obviously) assembler and C68.

Regards,
Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply