• 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.

THINK C app skeleton

!Beaker

6502
Dear 68k aficionados,

Could someone please help me with a C app skeleton in THINK C format?

I am trying to compile the skeleton.π from Garry Little/Tim Swihart "Programming for System 7" w/o success.

My THINK C 6.0.1. throws the unknown error -5000.

I do remember back in those CompuServe days Apple System 7 skeleton apps were almost all over the place.

Would be great if someone has a skeleton app and could share the bytes.   J

Best,

-Pit

 
I'm unsure about an app skeleton - but perhaps your issue is due to 32-bit addressing being enabled? I've had issues with THINK C not working properly when 32-bit addressing is enabled.

 
Hey ants,

Thanks for your reading my message and dropping your reply!

Finally I have the skeleton out of "Programming for System 7" running on THINK C 6.0.1 .

A couple of patches were required and I was forced to comment-out or amend some elements as things obviously changed from THINK C version 4.

I'll look into the 32-bit addressing right now.

 
Good one - well if it's running then I think you'll be OK with the 32 but addressing. I think I was using a much older version of Think C...

I now use Retro68, which allows me to write and compile Mac apps on my Windows 10 PC using my favourite IDE - Visual Studio.

I've been teaching myself how to write 68k apps with no prior Mac Toolbox experience, and it's been a tough slog!

 
Hey @ants

would you mind posting how you set up Retro68 (in a seperate thread) on a modern PC? I’m writing a chat app for 68K macs, and it’s getting pretty big. I would love to be able to use a newer IDE than Code Warrior.

CG

 
Last edited by a moderator:
@CodeMonkeyZA sure I can write up some Windows install instructions (note that I've already added a bit about Windows install to the Readme here https://github.com/autc04/Retro68)

But it's first worth mentioning some of the limitations of Retro68 - primarily any precompiled libraries / object files won't work unless you have the source code. This includes Open Transport, which might be a show-stopper for your chat app?

However MacTCP works fine...

 
Haha, luckily for me, I developed it for MacTCP, so that is not an issue ;) I am actually quite far already, and I'm sure I can finish it on my current setup, but I would love to do some refactoring and that is just such a mission in CodeWarrior :-p

Thanks a lot for the reply, btw!

 
Back
Top