| Click here to select a new forum. |
| THINK C app skeleton |
Posted by: !Beaker on 2018-01-23 05:44:28 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
|
Posted by: ants on 2018-01-25 13:40:22 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.
|
Posted by: !Beaker on 2018-01-26 06:44:00 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.
|
Posted by: ants on 2018-01-26 16:09:44 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!
|
Posted by: CodeMonkeyZA on 2018-02-15 13:19:35 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
|
Posted by: ants on 2018-02-17 00:59:21 @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...
|
Posted by: CodeMonkeyZA on 2018-02-18 22:42:44 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 😛
Thanks a lot for the reply, btw!
|
| 1 |