@Mu0n Now that you are able to program for System 6, is there a place you would recommend starting for someone who can program in modern languages? Were there books that you remember being helpful? Would it better at this point to learn how to use Retro68?
Thanks!
@Crutch has the right idea with Programming Primer. I own a physical copy of that book, but you can go check out
@pcamen 's scanned collection (far, FAR surpassing my own) of programming books for pretty much every 68k sub-era you want here
https://vintageapple.org/macprogramming/
The Mac Toolbox and especially all the Quickdraw functionality is the main objective to tackle with when you do Mac programming. Event Handling for Macs of that era was a nice, gentle in-between intro for me in 2005 before I moved on to Microsoft .NET C# for Windows in the following years. The toolbox will let you add the std mac functionality we all know and love: menu bar, windows (with scrolling or not), button events, mouse events, sound playback, etc.
However, my goal was to reach fluid arcade game level programming as much as I could (think Dark Castle) and the toolbox really shows its limits fast. You have to dive into the world of offscreen bitmaps, Mac Traps, CopyBits (to copy a prepared offscreen bitmap frame into the active screen memory ASAP) the Sound Driver. There's a compromise to be made: the more speed you want, the more close "to the metal" you must get, which involves specific memory addresses that will unfortunately not be compatible with later System versions or machines. I personally didn't care - I always had the Mac Plus or Mac SE in mind with System 6 as the latest.
Goodies I wish I had for System 6 programming now in 2019:
-A simple way to use github (or any form of version control)
-An IDE which can jump around to variables or methods' definition by highlighting keywords and doing a keystroke
-Keystrokes to go back/forward with the previous item jumping feature
-Not have to shut down the emulator I use for dev, so I can switch to the other emulator for running the program (what a waste of time)
-Better exception error messages
-Autocomplete
Goodies that I'm leveraging in THINK C++
-A companion application called THINK Reference Library - can't do without it. It's like having Inside Macintosh in electronic form. All the Toolbox functions are very well documented in it
-A Popup Funcs add-on which creates this red bubble inside the THINK C++ coding window; it lets you jump to your functions in the code
I've been meaning to check out Retro68k - I think it's mainly targeting people with a modern mac machine - which I don't have. I've been a PC guy since 1993 !
Here's my collection - they are ALL on
@pcamen's website, except the Assembly programming one.
I'll try to restore my old website from 2004-2005 as well.