Catching up with C

I've finished reading Learn C on the Macintosh, second edition, by Dave Mark. It's a good refresher on C. I forgot how simple it was. But there's no Toolbox involved in this book, no GUI at all. Also, typing code into the emulator is a major pain in the arse.

I've installed CodeWarrior Pro 8 on Mac OS 9. The IDE is version 5. I don't know what these guys had in mind when numbering these things, but it isn't very intuitive.

QEMU has no clipboard support. And CodeWarrior is not great for typing. I'm spoiled with newer editors, and I'd like to use multiple cursors, fancy shortcuts and stuff like that. So I figured I could sync a directory with the shared drive on QEMU.

But no game, because the thing is broken. The shared drive is a one-way road into classic Mac OS, and I can't save stuff back into it from the guest system. So I've decided to make a DMG or IMG file and put it there. By mounting on the guest and the host, I'd be able to sync the files. That didn't work either.

So I created an IMG file on my host, and I mount it in the guest. The stuff is inside. When I want to edit in the host, I shut down QEMU and mount the image. It's writable, so I can edit the files on macOS, save, eject the image, then run QEMU for an updated version. That works.

I also setup my work mac to be able to code at work if I need to wait for something boring. But then I can't sync files via cloud because they are over-zealous and blocked everything. I can't use a flashdrive either. So... I'm using airdrop. It's a bit annoying, but I created this habit of synchronising the file every day at 5 and before going to bed. It's working.

I need more information on the Toolbox, so I downloaded 'Inside Macintosh' and many other books, which I will look at one by one.

Comments

Popular posts from this blog

Using Retro68 on a Mac

Catching up with QEMU

Flashback: 1991