Retro: Programming a MacOS 9 app with CodeWarrior

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Programming an app with and for macOS 9 only, with the "Toolbox" API (not even Carbon!).

ความคิดเห็น • 46

  • @JohnB5290
    @JohnB5290 ปีที่แล้ว +8

    I would have loved to have this video 27 years ago. Yet even today I enjoy watching it.

  • @suobset
    @suobset 8 หลายเดือนก่อน +7

    I just started my useless dev journey into Mac OS 9 programming, thank you so much for this!!!

    • @soloflo
      @soloflo 5 หลายเดือนก่อน +1

      Hahaha I totally agree with you and am also inflicted with this useless intrigue 😂 also PalmOS next up! 😂

  • @skyranger1902
    @skyranger1902 2 ปีที่แล้ว +13

    We should protect this person at all costs! Thank you.

  • @manonthedollar
    @manonthedollar หลายเดือนก่อน

    I don't understand how anyone could have made a fully featured program by themselves for classic Mac OS. Yet I remember a LOT of them at the time. Very impressive

  • @a4e69636b
    @a4e69636b ปีที่แล้ว +2

    After watching this I really appreciate your Appkit for Classic project.

  • @burieddreamer
    @burieddreamer 4 หลายเดือนก่อน

    This is Internet Gold! Thanks for the video! Very useful for people like me who enjoy using classic Mac OS.

  • @DL2SDR
    @DL2SDR 7 หลายเดือนก่อน +1

    I remember all this... Starting with CW10 Gold. Thanks!

  • @nicsky20
    @nicsky20 2 ปีที่แล้ว +2

    Have an old project that I have to modify. Someone I know used the macclassic toolbox to make a windows program. This allowed old Mac programs to run in windows which was handy until I had to modify it. Now I need to learn how to do it. Thanks for the tutorial for ancient is development. PS my colleague said that the code was created when he was 5 years old!

    • @mastersofthevoid
      @mastersofthevoid  2 ปีที่แล้ว +1

      Amazing! I only knew that some people used the bits of MacOS API that were (sort of secretly) included with QuickTime for Windows, wasn't aware other people re-implemented their own version. Would love to see that code put up on GitHub somewhere :D

    • @nicsky20
      @nicsky20 2 ปีที่แล้ว +1

      @@mastersofthevoid I will do this and send you a link. I don't understand the whole thing but I have the sources and maybe I could learn something as well. It could maybe be improved and would allow old os9 apps to run in windows which would be cool.

  • @sideburn
    @sideburn ปีที่แล้ว +2

    Ha! I just setup CW on my PowerBook G3 and build a couple sample apps. I loved CW back in the late 90s up til apple killed it with Xcode and OS X. Such a much more fun development environment back in the pre OS X days. I got an issue with CW9 and the MetroNub extension crashing so brought it up to Pro 6 and all good. Built for 68k PPC and Carbon. Now I’m tempted to hit the storage and grab all my jaz disks full of all my old source code I kept from my jobs back then. Fun stuff!

    • @kirishima638
      @kirishima638 ปีที่แล้ว +1

      Metrowerks dropped the ball, were slow to port CW and their frameworks (PowerPlant etc) to OSX and slow to embrace the new platform.
      ProjectBuilder was pretty awful by comparison but it was free.
      MW could have remained the premier development envisioned but they just didn’t care.

    • @sideburn
      @sideburn ปีที่แล้ว

      @@kirishima638 yeah. It’s too bad. They were owning it for a good while.

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว +1

      It probably didn't help that they got bought by Motorola, who then sold the Intel compiler to Borland, so when Apple switched to Intel, they couldn't follow along. CodeWarrior still exists as an embedded compiler for Freescale (fka Motorola's CPU division) CPUs though.

    • @kirishima638
      @kirishima638 ปีที่แล้ว

      @@mastersofthevoid yes that’s right! Didn’t they also sell the intel compiler right before Apple announced the switch?

  • @andre-le-bone-aparte
    @andre-le-bone-aparte ปีที่แล้ว +1

    Just found your channel - Excellent Content! - Would be cool to see how to do Python programming on OS9

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว +1

      I've only done a little Python so far, and I'm not sure I'd be qualified to make a video about that. But I think Macstodon (68000 Mac Mastodon client) was written in Python, might be worth checking in with the developer who wrote that.

    • @ssokolow
      @ssokolow 9 วันที่ผ่านมา

      You'd want MacPython 2.3. That's the last version that supports Mac OS 9. Beyond that, I'm planning to get some experience with the Macintosh Toolbox APIs in CodeWarrior before I start to experiment with Python.

  • @Ayachu-wu1zk
    @Ayachu-wu1zk 6 หลายเดือนก่อน

    Could you make a tutorial about how to use the new Appearance Manager controls, especially those new textboxes which you can drag text blocks from and to? I've read those header files for days but still have no idea. Thank you so much.

  • @IzludeTingel
    @IzludeTingel หลายเดือนก่อน

    Do you take requests? The emulator SNES9x was compiled for OS 9 and X ages ago, but the last versions used are quite buggy. The game Mario Paint has this issue where the mouse crashes into the middle of the screen, thinking it has hit the edge when it has clearly not. Luckily, the current version of SNES9x has fixed this, however, there is no PPC port. Luck on our side, the source code for the latest version IS available and free to tinker with, but I don't possess the know-how on getting it compiled for PPC, namely for OS 9 (preferably), although some would probably appreciate an OS X release of it as well. Might you or anyone here in the comments be willing to get it up and running? That would be so epic!!!

  • @stevez5134
    @stevez5134 2 ปีที่แล้ว +5

    where was this explanation 20 years ago???

    • @mastersofthevoid
      @mastersofthevoid  2 ปีที่แล้ว +1

      Hopefully in the Inside Macintosh books, and Dave Mark's "Learn C on the Macintosh" and stuff like that :D

    • @BCThunderthud
      @BCThunderthud ปีที่แล้ว

      Yeah, I took a C class in college and trying to do my assignments in CodeWarrior was the hardest part of the class. Always ended up having to go to the lab and redo everything on a PC.

    • @marcov6576
      @marcov6576 8 หลายเดือนก่อน

      one actually had to study and read books then for knowledge... life before youtube ;)

  • @4verageYTuser
    @4verageYTuser 4 หลายเดือนก่อน

    I bought an ibook G3 snow to be a word processing machine, but I can't even get Microsoft word to work with it. Looks like I'm making one from zero

  • @olegsemenenko3494
    @olegsemenenko3494 2 ปีที่แล้ว +2

    Hello Ulrich, do you use qemu as macos 9 emulator?

    • @mastersofthevoid
      @mastersofthevoid  2 ปีที่แล้ว

      I use SheepShaver.

    • @ssokolow
      @ssokolow 9 วันที่ผ่านมา

      @@mastersofthevoid Yeah. "This PC" aside, I'd recognize that propensity for crashing anywhere. ;P

  • @soloflo
    @soloflo 5 หลายเดือนก่อน

    This looks easier than Lightspeed C which I was puzzling over back in the day… 😂

  • @creeper2671
    @creeper2671 ปีที่แล้ว

    I have an old game engine, and one of the files extension is .ppob or ppobj. The developer said that it's an carbon file. I'm a noob into coding, so how can I properly compile it? I have sheepshaver with Mac os 9.

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว +1

      I don't know for sure, but it could just be a ResEdit-style resource fork containing the PPob resources separately (if it's an app for MacOS X, then probably just moved into the data fork). You'd just need a copy of CodeWarrior. If it's Carbon, you probably need one of the later MacOS X versions of CodeWarrior. These files don't need to be compiled, they are copied into the application's resource fork (or a special Resources file) and used by PowerPlant to know what a window should look like.

    • @creeper2671
      @creeper2671 ปีที่แล้ว

      @@mastersofthevoid which version of os x should I use? Also which codewarrior version will be good? Thanks for the answer.

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว +1

      @@creeper2671 You need a PowerPC version of macOS (and a machine/emulator to run it under). That's what those versions of CodeWarrior were for. Or at the least an Intel version of MacOS that still supports the Rosetta I PowerPC emulator. Carbon apps may also run on late MacOS 9 releases, so if you already have that, you can try it on there, too.

    • @creeper2671
      @creeper2671 ปีที่แล้ว

      @@mastersofthevoid I kinda worked

  • @ajenkaxyok
    @ajenkaxyok ปีที่แล้ว

    Hey buddy, how can build bin overlays for PSX and PS2.

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว

      They aren't Macs, so I have no idea, sorry.

    • @ajenkaxyok
      @ajenkaxyok ปีที่แล้ว

      @@mastersofthevoid Psyq make executable psx files

  • @ivanh2674
    @ivanh2674 ปีที่แล้ว

    thanks

  • @ltxr9973
    @ltxr9973 ปีที่แล้ว

    wow!

  • @tenminutetokyo2643
    @tenminutetokyo2643 7 หลายเดือนก่อน

    Ah yes, the good old days. Today development is too much tech diarrhea. People need to relearn the value of simplicity. To really learn how to do it get Dave Mark's Macintosh C Programming Primer.

  • @bobweiram6321
    @bobweiram6321 6 หลายเดือนก่อน

    Useless? This is a goldmine! It saddens me to see the dismal state of software these days. Open source has plunged us into a permanent state of mediocrity.

  • @upp.social
    @upp.social ปีที่แล้ว

    stop wasting bla bla and work out what you going to say and then just go and say it.. 2 hours..

    • @mastersofthevoid
      @mastersofthevoid  ปีที่แล้ว +4

      It's an archive of a live stream. That's how it went.