68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Where are all the programmers?
Posted by: Trash80toHP_Mini on 2013-01-14 06:07:46
Thanks for digging this thread back up out of the muck, I failed to follow it after the first few replies and now I've found a couple of really great bits of info.

I bought FutureBasic in first release, but never really got into it . . .

. . . programming in basic is something I used to be pretty good at when absolutely necessary, but coding is just not my thing . . .

. . . hate it actually, I'm glad you folks enjoy it. [🙂] ]'>

Question:

If I know the timing parameters for a few supported resolutions, how hard should it be to locate them in the Drivers for, and the DeclROMs of, some of the 3MB Video Cards in my available collection?

The Siren song of 1600x1200, 720p and 1080p is steering me ever closer to the rocks of absolute necessity. :-/

Posted by: ClassicHasClass on 2013-01-14 09:00:36
feeef, I think small apps like that would be absolutely possible for System 7+. The trick is the network connectivity, but Open Transport acts enough like MacTCP that a lot of things will "just work."

Posted by: theos911 on 2013-01-14 12:09:01
A webkit framework for building webapps upon would be extremely helpful to anyone coming to the platform with network apps in mind.

Barely related - I talked to Tobias and he has released a script to replace the system wide webkit on 10.4 with the updated version used in tenfourkit. With it you can use his updated webkit in other browsers that rely on the system framework such as Sunrise, Nagara and others.

Posted by: markyb86 on 2013-01-14 13:32:04
You've also got 16 days left if your interested in winning the RetroChallenge, lol

Posted by: ClassicHasClass on 2013-01-14 14:35:08
A webkit framework for building webapps upon would be extremely helpful to anyone coming to the platform with network apps in mind.
XULRunner says hi.

Posted by: theos911 on 2013-01-14 15:59:15
Yes, either one would work. That said, I've no idea how close either are to a [up-to-date?] usable framework within the Mac OS. (My working knowledge of either ends at "You build webapps on top of them.")

Posted by: commodorejohn on 2013-01-14 20:42:07
Hm, I'd never seen this thread before. Development on classic systems (Amiga and DOS, primarily, but Mac as well) is something I've wanted to devote more time to for a while now, I've just been caught up in other stuff...

Is there a good getting-started guide for C/C++ programming on Classic MacOS? I know I have some edition of Inside Macintosh saved around here somewhere, but I've yet to read very far into it...

Posted by: feeef on 2013-01-15 03:13:05
Thanks a lot ClassicHasClass! XULRunner looks cool! I may have a closer look at it later. I have to get more familiar with development tools and system 7 APIs first.

@commodorejohn, personally, I use CodeWarrior pro v1 and I think it is really complete. With PowerPlant, it looks much the same as the first versions of XCode & IB.

If you have Inside Macintosh, have a look in the Macintosh ToolBox documentation. It describes the API that handles the Macintosh GUI. I find it quite tricky to find the class and method names in this kind of docs, but I think I will get used to it!

Unfortunately, it's a bit short for me to do the RetroChallenge but maybe on a future project! I have to learn Open Transport! 🙂

Posted by: theos911 on 2013-01-15 03:18:25
https://sites.google.com/site/chuzzum/
Posted by: ClassicHasClass on 2013-01-15 06:41:51
Well, on System 7, XULRunner has about as much chance of getting off the ground as WebKit (little to none). I think Theos was talking more about options for earlier versions of OS X -- you can use TenFourFox's patches to build a 10.4-compatible XULRunner, for example. Classilla works on OS 8.6-9 because it's a hacked Mozilla 1.3.1 which already worked on OS 9 to begin with. You might be writing your own app-specific renderer for this use case.

@commodorejohn, there are some very good CodeWarrior/PowerPlant books for the classic Mac OS. Dan von Sydow wrote one, but the title escapes me.

Posted by: feeef on 2013-01-15 09:26:46
Ok! I see!

So the best option for those missing web apps under 7 is to take them out of the browser.

I have just started a Twitter app! 🙂

On the CodeWarrior reference CD, I found a PowerPlant example showing how to do HTTP requests. It looks like it's first checking if the system can handle Open Transport or MacTCP and use one of them. The lib is already written so I don't really need to worry about it.

It works well and I used it as a base for my Twitter app.

Thanks a lot for the link Theos911! It's exactly what I needed!

Posted by: theos911 on 2013-01-15 13:15:00
Out of browser is probably good, especially if you are targeting 7 where there really isn't an up to date browser to build on anyway.

Hmmm... twitter you say? This project hasn't been updated sine 2009 so twitter's API has probably broken it several times by now, but it is a worthwhile place to look for the tweet sending part.

http://www.retards.org/projects/grackle68k/

http://www.retards.org/projects/grackle68k/files/

You could probably drop the dev a line and get a hold of some source code.

Posted by: LOOM on 2013-01-15 14:08:17
@commodorejohn, there are some very good CodeWarrior/PowerPlant books for the classic Mac OS. Dan von Sydow wrote one, but the title escapes me.
Are you sure? A search for the name results in a few VHS tapes on Amazon 😛

I've been looking for good CodeWarrior books, but I don't know which one to buy. Do you remember anything else?

Posted by: bbraun on 2013-01-15 14:14:07
Foundations of Mac Programming by Dan Parks Sydow? Perhaps the von came from the actor Max von Sydow?
Posted by: LOOM on 2013-01-15 14:17:17
Ah, yeah. That's the one I have in my wish list! Glad to know it seems to be all right 😉

Posted by: ClassicHasClass on 2013-01-15 15:26:20
Perhaps the von came from the actor Max von Sydow?
No, I was thinking of the seminal tome, "King Osiric Teaches Mac Programming To Barbarians." :I

feeef, what version of CW is this?

Posted by: bd1308 on 2013-01-15 17:45:28
Just found this -- it's incredible and I *believe* he's a member here.

https://sites.google.com/site/chuzzum/macintosh-c-programming-guide

My problem wasn't that I didnt want to program for Classic MacOS (I really really really do) but there weren't enough resources/books to find ... until now.

So yeah i'll at the very least be making tic-tac-toe for MacOS. (LOL)

Posted by: feeef on 2013-01-16 02:45:08
ClassicHasClass, I use CodeWarrior Pro 1. It has the IDE v 2.0. Is it good enough? It is the only one version I have here.

Grackle68k is just a tweet sender. I plan to do a read/write tweets apps. I used to work in an agency, doing this kind of connected apps for mobile devices so I have (more or less) the concept in mind.

The first thing I will do actually, is a JSON parser so it can be used in many other apps. I will try to make it as light and fast as possible. If it's too heavy on some requests for our older machines, I will try to think of something else like a web proxy that generates lighter data. I will see how it goes!

Posted by: ClassicHasClass on 2013-01-16 06:32:43
No, it should be fine for the purposes you need. Note that Twitter is moving to a full OAuth system for API 1.1, so you will need to be able to handle that as well. For TTYtter, for example, I had to implement HMAC-SHA-1 signatures, and your network library will require SSL.

Posted by: Bunsen on 2013-01-16 15:29:57
I am thinking about connected applications such as a twitter client, gmail client, or a cool control panel like a dock to replace the default mac launcher. In fact, I think that plenty of small iOS/mobile applications could be made for system 7.
Facebook chat?

< 4 >