GEM Programming
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
GEM Programming
Hi, I made a small programme and I kind of want to give it a gem interface. What is the best approach? Should I get a resource editor create the environment and go from there? I want to have pull down menus and stuff. Is that easily accomplished?
Thanks for your answers. I am pretty much in the beginning of my learning curve.
Thanks for your answers. I am pretty much in the beginning of my learning curve.
interface 2.33 german/english
ftp://chapelie.rma.ac.be/atari/programming/intrface.zip
ftp://chapelie.rma.ac.be/atari/programming/intrface.zip
SeeU
[ProToS]/Facebook
[ProToS]/Facebook
-
- Obsessive compulsive Atari behavior
- Posts: 122
- Joined: Mon Apr 17, 2006 4:32 pm
- Location: Brussels, Belgium
Hello,
I have been searching on the net the whole evening for a good tutorial on programming with Pure C (or C in general) on atari, but nothing comes out.
I am looking for a step-by-step tutorial on how to develop a full GEM application (sth like programming a Personal Information Manager).
The net is really poor for beginner atari developper.
Does anyone have a good tip?
François
I have been searching on the net the whole evening for a good tutorial on programming with Pure C (or C in general) on atari, but nothing comes out.
I am looking for a step-by-step tutorial on how to develop a full GEM application (sth like programming a Personal Information Manager).
The net is really poor for beginner atari developper.
Does anyone have a good tip?
François
this is not a step by step but a good article from the f030 diskmag Chosneck
perhaps a good point to start
http://msb.neostrada.pl/chosneck/mag2/ART52.html
perhaps a good point to start
http://msb.neostrada.pl/chosneck/mag2/ART52.html
SeeU
[ProToS]/Facebook
[ProToS]/Facebook
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re:
Site is dead?[ProToS] wrote:interface 2.33 german/english
ftp://chapelie.rma.ac.be/atari/programming/intrface.zip
I was able to find it some other place but could not found any documentation?
Does anybody knows where I can find documentation in English.
Thanks
Jean
Re: GEM Programming
Menus are pretty easy to create with a resource editor and quite straightforward to handle in your app. I suggest Resource Master, which is more or less the standard now. Interface will have problems with some extended resource files. Though in you case it probably doesn't matter.christos wrote:Hi, I made a small programme and I kind of want to give it a gem interface. What is the best approach? Should I get a resource editor create the environment and go from there? I want to have pull down menus and stuff. Is that easily accomplished?
As for tutorials, Tim Oren's Professional GEM is still a very good introduction, even if it does not take into account later additions like the AV protocol and such. See here: http://www.atari-forum.com/wiki/index.p ... sional_GEM
Other interesting documentations: http://dev-docs.atariforge.org/
Re: Re:
new adress for chapelie ftpDrCoolZic wrote:Site is dead?[ProToS] wrote:interface 2.33 german/english
ftp://chapelie.rma.ac.be/atari/programming/intrface.zip
I was able to find it some other place but could not found any documentation?
Does anybody knows where I can find documentation in English.
Thanks
Jean
ftp://kurobox.serveftp.net:3021/program ... trface.zip
SeeU
[ProToS]/Facebook
[ProToS]/Facebook
Re: GEM Programming
I just noticed that this section of the wiki is incomplete. You'll find the complete tutorial plus other programming resources here:jfl wrote:[...] Tim Oren's Professional GEM is still a very good introduction [...].
http://removers.free.fr/wikipendium/wak ... ngArticles
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re: GEM Programming
I have tried to use RSM 3.64 in English but I have lots of problem with it.jfl wrote:...
Menus are pretty easy to create with a resource editor and quite straightforward to handle in your app. I suggest Resource Master, which is more or less the standard now. Interface will have problems with some extended resource files. Though in you case it probably doesn't matter.
I run TOS 1.6 FR under steem std machine with 4Mb. When I loaf RSM it first complain about BGH I ignore the message and it loads. However in most cases the display are incorrect. The fonts are unreadable most of the time and some character do not show up correctly for example OK becomes _K. Most of the time if I try to use the editor a secong time in the same session it bombs!!!
Is there minimum requrements to run the program. I beleive that it is possible to load an "extended GEM" from the auto Directory??? Is this needed ?
Thanks
Jean
You do not have the required permissions to view the files attached to this post.
Last edited by DrCoolZic on Fri Aug 29, 2008 5:57 pm, edited 1 time in total.
Visit *** http://info-coach.fr/atari ***
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re: GEM Programming
Whaooo seems very very interesting ressouce. Thanks for the infojfl wrote:You'll find the complete tutorial plus other programming resources here:
http://removers.free.fr/wikipendium/wak ... ngArticles
Visit *** http://info-coach.fr/atari ***
Re: GEM Programming
I see that you're from France. As it happens, the best ever GEM tutorials were published in the French mag ST magazine, starting at no. 77. You can find all issues of the mag here:DrCoolZic wrote:Whaooo seems very very interesting ressouce. Thanks for the infojfl wrote:You'll find the complete tutorial plus other programming resources here:
http://removers.free.fr/wikipendium/wak ... ngArticles
http://www.abandonware-magazines.org/af ... g=6&page=4
There are more than 15 articles.
If you want to understand how GEM (and VDI, and GDOS) works, that's the thing to read before anything else. Really brilliant. The example programs and sources can be downloaded from the STmag website, section archives I think.
Re: GEM Programming
It would appear that RSM is better suited to later versions of AES. You should try Interface, then. It's great too, just not as up to date as RSM.DrCoolZic wrote:I have tried to use RSM 3.64 in English but I have lots of problem with it.
I run TOS 1.6 FR under steem std machine with 4Mb. When I loaf RSM it first complain about BGH I ignore the message and it loads. However in most cases the display are incorrect. The fonts are unreadable most of the time and some character do not show up correctly for example OK becomes _K. Most of the time if I try to use the editor a secong time in the same session it bombs!!!
Is there minimum requrements to run the program.
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re: GEM Programming
Yes I have already found these article from Claude Attard and yes indeed they are very interesting. I am currently writing some GEM code that I will publish to get feedback. whatch out for these in the comming days (hopefully not weeks...)jfl wrote:I see that you're from France. As it happens, the best ever GEM tutorials were published in the French mag ST magazine, starting at no. 77.
Is there a way to load newer GEM from the auto directory?It would appear that RSM is better suited to later versions of AES. You should try Interface, then. It's great too, just not as up to date as RSM
I tried to run steem with TOS > 2 a,d yes it seems to work better.
Jean
Visit *** http://info-coach.fr/atari ***
Re: GEM Programming
Without changing your TOS version you mean? I'm pretty sure it's not possible but I may be wrong.DrCoolZic wrote: Is there a way to load newer GEM from the auto directory?
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re: GEM Programming
Well I rembember that once I had inserted a floppy in my machine before booting and it loaded GEM (?) from the auto directory. After that when I was using certain applications I found that the GUI was much much nicer (better graphics). I am not 100% sure and I may just dream awake!!! I need to find this diskette?!?jfl wrote:Without changing your TOS version you mean? I'm pretty sure it's not possible but I may be wrong.
Technically the GEM is in the Atari ROM but it should be possible to load a new and more powerful GEM in memory and to change a vector in function table to now point to this enhance GEM.
Again I may be wrong? I need to look for this disk and try it on a real machine. I'll keep you posted
Visit *** http://info-coach.fr/atari ***
Re: GEM Programming
Yes, there is a way to do this. You need a certain program to do so however. Try searching the forum or maybe asking ppera (hopefully he won't suggest you try searching too!).jfl wrote:Without changing your TOS version you mean? I'm pretty sure it's not possible but I may be wrong.DrCoolZic wrote: Is there a way to load newer GEM from the auto directory?
Member of the Atari Legend team
- DrCoolZic
- Fuji Shaped Bastard
- Posts: 2268
- Joined: Mon Oct 03, 2005 7:03 pm
- Location: France
- Contact:
Re: GEM Programming
I have found by "accident" a documentation (paper document) about interface 2.x 
this documentation also includes instruction about the usage of the mydial.lib (small GEM extension)
unfortunately all the versions that I have found and downloaded are missing the mydial directory. From what I understand it is suppose to be distributed as mydial_c.tos archiv
Does anybody have either the complete mydial directory with the lib and includes or the mydial archiv
Thanks - Jean

this documentation also includes instruction about the usage of the mydial.lib (small GEM extension)
unfortunately all the versions that I have found and downloaded are missing the mydial directory. From what I understand it is suppose to be distributed as mydial_c.tos archiv
Does anybody have either the complete mydial directory with the lib and includes or the mydial archiv
Thanks - Jean
Visit *** http://info-coach.fr/atari ***
Re: GEM Programming
I've attached the mydial_c.zip archive to a post here:
http://www.atari-forum.com/viewtopic.php?f=70&t=23858
http://www.atari-forum.com/viewtopic.php?f=70&t=23858
Daniel, New Beat - http://newbeat.atari.org.
Like demos? Have a look at our new Falcon030 demo It's that time of the year again, or click here to feel the JOY.
Like demos? Have a look at our new Falcon030 demo It's that time of the year again, or click here to feel the JOY.