I was hoping to get some advice. I have always just been a user of the
GS, but am now thinking that i might want to start doing some
programming on it (I have very little experience apart form some basic
stuff i did years ago) and wondered what's the best language to start
with (Gsoft? Complete Pascal?) was? As well as any must have books or
websites (have seen the VirtualGS site) to help get me started?
Thanks :)
Drew
I used it to teach my son Apple IIGS programming.
Hi,
I was checking your site earlier today :). I am tempted to buy the
GSOFT Basic kit from Syndicomm so i have all the manuals etc, at $30
for download seems a good starting point. I can then move on to Pascal
afterwards.
Drew
My message was originally posted through the A2Central news server,
but never made it here, so I've copied my original reply:
Funnily enough, your question almost sounds like a lead-in to my
presentation at Mt. Keira Fest (Oz KFest).
My presentation is here for all to read:
http://www.slideshare.net/Polymorph/apple-iigs-programming-k-fest
My recommendation for newcomers to IIgs programming is Complete Pascal
due to it having a large number of features and an uncomplicated
development environment.
If you wish to take my advice and start with Complete Pascal, I
suggest you:
1) grab a copy of CP from my site here: http://apple2.sytes.net/TML_Pascal/index.html
2) while you are at my site, grab the TML Pascal Reference manual too
(TML Pascal became Complete Pascal).
3) while still at my site (!), grab some of my previous projects as
they come with source code to give you some ideas on how things fit
together
4) visit Thye Cheans virtual IIgs which has loads of source code
demo's for you to paruse. From your original post, you've already seen
this, so thats a good start.
5) If your Pascal is rusty, there are a number of Pascal tutorial
style sites on the net that you can use to get rid of the rust. One
such site can be found here: http://www.taoyue.com/tutorials/pascal/contents.html
6) Get yourself copies of the 3 Toolbox references, and the GS/OS
reference (Syndicomm sells these still).
7) Check out things like Marinetti (TCP/IP stack) which now supports
Complete Pascal (I submitted the interface files for it). GTE will
also be supported once the user toolset work is completed. I have also
written libraries for joystick use, and code for using MidiSynth
music. These libraries may give you an idea for a new project...
8) Have fun, and don't forget that there are people on these forums
(me included!) who will gladly offer you assistance if you get stuck
or have questions.
Hope this helps!
Cheers,
Mike
--
Mike Stephens
Central Coast, Australia
Find my Apple II projects online at:
http://apple2.sytes.net/
Excellent thanks Mike :). I have downloaded the Complete pascal and
have also ordered Gsoft Basic to have a play with that. I did some
pascal at Uni, but very very very rusty lol. Looks like I will be
playing with Pascal tonight :-). I have also ordered the Toolbox
reference books from Amazon as there seems to be still some original
(used) copies around....and got carried away and order a few other
books that were available for GS as well :-)
Drew
Hi Mike,
there is an alternative resource editor (I've many trouble with the
Complete Pascal one's)?
Do you know where I can find a TML Source Library II?
Thank you.
Mauro
Hi Mauro,
There are alternatives. I too have found bugs in CP's resource editor.
Some things to try:
1) Funnily enough, I have found some of the "broken" parts of CP's
resource editor work fine in the earlier TML Pascal II. I guess some
bugs were introduced into CP (as well as some being fixed). You can
get the older TML Pascal II disks from my web site here -
http://apple2.sytes.net/TML_Pascal/index.html
2) Foundation resource editor - http://www.whatisthe2gs.apple2.org.za/foundation-v1-02.html
3) Genesys resource editor - http://www.whatisthe2gs.apple2.org.za/genesys
4) Design Master resource editor - http://www.whatisthe2gs.apple2.org.za/design-master-v2-0
(Commercial)
5) Rez resource editor (Commercial?)
Unfortunately, I have no experience using either Foundation or
Genesys, and very little experience using Design Master. I generally
use Rez these days (it came with the Opus ][ distro). I believe that
all of these resource editors (apart from Rez which is text based) are
either incomplete or buggy for various reasons - Design Master and
Genesys were developed prior to System 6 being released I believe, and
Foundation was never fully completed to cover all resource types.
So, if you can get by with TML Pascal's resource editor you're
probably going to find it easiest, as you are already familiar with
how it *should* work.
Sadly resource editing is one area of IIgs development that never
really got the "all-singing-all-dancing, bells-and-whistles"
application. :-(
Good luck, and let us know how you get on.
Cheers,
Mike
As for the TML Source Library II, I have never found it and I would
also like to get my hands on a copy if anyone has it?
Cheers,
Mike
Never used Pascal on my IIgs so I can't comment on the Complete Pascal
or TML Pascal II resource editors.
Foundation was a great idea but never really got anywhere. They did it
so that each resource type could have its own editor written as a plug
in but the extra plug ins were never written so it is pretty basic at
present. This was a freeware or open source type project if I remember
correctly.
I always liked Genesys. It may not have everything but it has most of
the common things that you need. It can save the data into the resource
fork of a file. This is what I usually did and then used the Orca
shell's COPY command to copy just the resource fork to my compiled
executable file before testing it. This was usually done using a batch
file called Make to run MacGen (I write in Orca/M usually), compile and
copy the resource fork. Another nice thing about Genesys is that it can
also export the resource data to source code format so you can have it
output a Rez file which you can then edit and/or add newer resource
types that Genesys doesn't support directly and compile that file to get
your resource file. By the way, this was a commercial product and I
don't thing it has been properly reclassified yet.
Design Master I've only started up once or twice since getting Opus ][
but it is pretty limited too. This was a separate commercial product
from the ByteWorks.
I don't think I've ever used Rez directly. I certainly haven't typed
any Rez source code. When dealing with visual elements I prefer to deal
with them visually. This is also a commercial product but is included
with pretty much any Orca product.
> Sadly resource editing is one area of IIgs development that never
> really got the "all-singing-all-dancing, bells-and-whistles"
> application. :-(
Too true.