• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Learning Program Development (System 6, of course :P)

What do I need to start? I want to dabble in a little bit of C, might be good for me... :p

Preferably links, please, I hate having to hunt down individual bits of software. :)

regards,

tm512

EDIT: One thing that might be a good experiment would be a classic program that, when run in OS X, calls to some 68k trap and set the color depth. to 1-bit, o' course. :beige:

 
But you might not like the answer to "HasDepth()".
Bah. I'll force it. See my thread earlier... Apparently some games set the color depth back to 1-bit.

Anyway, maybe you can help me. Maybe it would be easiest in PASCAL, although it doesn't matter as I have no experience in either C or PASCAL.

I want a dialog box to popup with two buttons, one saying "I'm feeling B&W" and another saying "I'm feeling Colorful". a PhD shouldn't be required to figure out what I want those buttons to do. :)

 
Well this is nice! :D I have ThinkC 5.0 downloaded. Time to try and get started tomorrow. I believe school shall be cancelled again cause of snow. Any tips would be much appreciated, I haven't done C past command line apps. [^] Noob on board!

EDIT: ThinkC runs fine in vMac and has sample code. :D

 
Hm, if I wanted to do some development too, where could I find ThinkC? Or is MPW sufficient (ie, does it include a compiler)?

-dav7

 
Hm, if I wanted to do some development too, where could I find ThinkC? Or is MPW sufficient (ie, does it include a compiler)?
-dav7
Check on Apple's web site. All their old development tools, pages, and downloads are still there.

 
The basic problem with MPW, at least the version from Apple's site, is that it requires 7.5 (or maybe 7.1 with some extensions). This makes it somewhat more difficult to test applications for System 6 because you essentially have to use it as a cross compiler. As such, something like THINK C or THINK Pascal are probably better options.

 
This makes it somewhat more difficult to test applications for System 6 because you essentially have to use it as a cross compiler.
Alas, I've tried compiling on one system and running the result on System 6 without success.

 
Tengo una problema...

My little app is supposed to restart the computer with the Restart(); trap. I get

Code:
undefined: Restart();
 
Tengo una problema...
My little app is supposed to restart the computer with the Restart(); trap. I get

Code:
undefined: Restart();
As a suggestion, it's a really, really, really bad idea to have some random application restarting the operating system, unless of course you are writing a program for Microsoft Windows.

 
Tengo una problema...
My little app is supposed to restart the computer with the Restart(); trap. I get

Code:
undefined: Restart();
As a suggestion, it's a really, really, really bad idea to have some random application restarting the operating system, unless of course you are writing a program for Microsoft Windows.
I could always port it. :p

Anyway, this also happened when I tried using setDepth.

 
Back
Top