[comp.sys.atari.st] More programming questions

c162-br@zooey.Berkeley.EDU (Warner Young) (03/22/88)

Hello again, Netlanders,

	This time I bring you not a review, but some questions.

1)	Word Perfect is working pretty well, but for one thing:  the
<Insert Date> function also inserts the wrong date, and WP apparently does
not use the GEMDOS clock for its date.  So, easy, right?  I just set the
keyboard clock, right?  Well, I tried that, and it keeps giving me wierd
results.  So, can anyone give me a code fragment to set the keyboard
clock?  Perhaps a short routine to set it, given the time and/or date?

2)	Anyone who has used DRI's Resource Construction Set v2 has seen those
little pop-up menus it uses on the Tools section.  Can anyone tell me how this
is done?  Are those things just normal menus, hand-arranged to work on a
different part of the screen?  What?

3)	Also, can someone tell me how to do GEM calls in assembly?  I
am using MadMAC.

4)	Would some kind soul send me the new Atari linker, ALN?  I had it,
but accidentally trashed it before backing it up.


						Thanks.

\        /arner	- Writer of the dreaded Safety Seal Reviews
 \  /   /	- Owner of the vaporware group Safety Seal Software
  \/ \_/oung
       |	- Disclaimer:  I'm not associated with any of the companies
     \_|		above, in any way except (possibly) as a customer.

rosenkra@Alliant.COM (Bill Rosenkranz) (03/23/88)

-------------

In article <1718@pasteur.Berkeley.Edu> c162-br@zooey.Berkeley.EDU (Warner Young) writes:

	2)	Anyone who has used DRI's Resource Construction Set v2 has seen those
	little pop-up menus it uses on the Tools section.  Can anyone tell me how this
	is done?  Are those things just normal menus, hand-arranged to work on a
	different part of the screen?  What?


those popups are probably just dialogs with "touch sensitive" areas (i.e
when a mouse moves out of one area and into another, it redraws the leaving
box normal and the new box selected...simple. i've used this myself with
reasonable success (imitating sun NeWS/suntools on st). doing this amounts
to writing a specialized version of form_do. when i get this done, i will
post it to the net for everybody to use.


	3)	Also, can someone tell me how to do GEM calls in assembly?  I
	am using MadMAC.


by GEM if you mean AES/VDI, i believe you can do this via trap 2 but
you need to get the calling conventions right. you can also make
calls to (assuming you are using atari dev kit, alcyon, etc) AESBIND
and VDIBIND routines just as you would from C


	4)	Would some kind soul send me the new Atari linker, ALN?  I had it,
	but accidentally trashed it before backing it up.


you can get aln on compu$erv or genie in the developers sections. it
is more than likely NOT public domain and should not be distributed
on the net without atari's permission.

-bill