Easy GEM programming?

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
User avatar
mrbombermillzy
Captain Atari
Captain Atari
Posts: 339
Joined: Tue Sep 13, 2016 9:24 am

Easy GEM programming?

Post by mrbombermillzy »

Hi all! :)

Well, Im having to display some tables/information with user input choices and Im currently using GEMDOS/TOS routines to write to the screen.

As you can imagine, it doesnt look great and eventually, I would perhaps like to share my work with others. However, Im not sure I will ever get the time to properly study and absorb AES setup and usage. With that being the case, I was interested in getting to grips with ACSPro. Unfortunately, the docs are all in German (which I dont understand), so just as baffling to me as learning the AES/VDI itself! lol

Are there any other options out there for simplifying GEM? (Programming or otherwise?)

Thankyou to anyone who can shed any light on this problem.
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 893
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Easy GEM programming?

Post by jfl »

mrbombermillzy wrote: Wed Jun 17, 2020 7:17 pm Are there any other options out there for simplifying GEM? (Programming or otherwise?)
There are several options, mainly libraries built upon GEM, among them WinDom and CFlib. Depending on you language and development environment they might be worth having a look at.
User avatar
mrbombermillzy
Captain Atari
Captain Atari
Posts: 339
Joined: Tue Sep 13, 2016 9:24 am

Re: Easy GEM programming?

Post by mrbombermillzy »

Thanks Jef. Im ideally looking for assembly, but will write in C as a last resort.

I will check those 2 options out.
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2704
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Easy GEM programming?

Post by charles »

try gfa basic
dialog boxes,,,think the source "dialog.lst" will help
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
User avatar
mrbombermillzy
Captain Atari
Captain Atari
Posts: 339
Joined: Tue Sep 13, 2016 9:24 am

Re: Easy GEM programming?

Post by mrbombermillzy »

OK. Thanks Charles.
I did see Omnikron Basic had GEM support.
I guess GFA would probably be a better bet if I had to use BASIC to do it.
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2704
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Easy GEM programming?

Post by charles »

gfa is most powerfull basic .....
try it out , so easy ,,,,,
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
Playmobil
Captain Atari
Captain Atari
Posts: 178
Joined: Fri Nov 13, 2015 7:40 pm

Re: Easy GEM programming?

Post by Playmobil »

GFA Basic for sur ! GFA is the best !!!!
User avatar
YQN
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 124
Joined: Sat Jul 22, 2017 6:01 pm
Location: Meaux
Contact:

Re: Easy GEM programming?

Post by YQN »

i remember using gfa with orcs (otto's resource construction set) to create the dialog boxes
User avatar
Count
Atari freak
Atari freak
Posts: 66
Joined: Sat Sep 16, 2017 9:15 am
Location: Germany

Re: Easy GEM programming?

Post by Count »

Playmobil wrote: Wed Jun 17, 2020 11:39 pm GFA Basic for sur ! GFA is the best !!!!
In Germany, many users called GFA Basic "GEFAHR Basic". Gefahr means danger in English.
This little program demonstrates one of reasons:

Code: Select all

this_sucks
'
PROCEDURE this_sucks
    LOCAL damn$
    damn$=@damn_gfa$
    PRINT damn$
RETURN
'
FUNCTION damn_gfa$
    DIM damn_array|(69)
    RETURN "Oops..."
ENDFUNC
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2704
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Easy GEM programming?

Post by charles »

I think we all know to use malloc in a case like the above example
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2503
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Easy GEM programming?

Post by lp »

Known problem. Simple fix, don't use DIM inside functions. This problem is addressed in my updated version of GFA.
You can find problems with every language on the ST if you look hard enough.
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2704
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Easy GEM programming?

Post by charles »

lol very underspoken lonny ..lol
yes problematic influences arise using programming languages.....
amongst all languages for the st what would u say is the less irritable? PURE C ? DEVPAC?..??? gfa ??????
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
User avatar
prog99
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 121
Joined: Thu Jun 19, 2003 8:08 pm
Location: Edinburgh
Contact:

Re: Easy GEM programming?

Post by prog99 »

charles wrote: Wed Jul 15, 2020 10:10 pm lol very underspoken lonny ..lol
yes problematic influences arise using programming languages.....
amongst all languages for the st what would u say is the less irritable? PURE C ? DEVPAC?..??? gfa ??????
PureC or asm(be V careful.. lots of traps to bite you)
All my real skills are undervalued
Post Reply

Return to “Coding”