68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
I made a clock for the Mac Plus and all I got was this lousy 68k dev guide
Posted by: Builder68 on 2026-10-06 11:53:52
So I actually finished my first-ever app for the Early Macs.

It’s a little analog clock for 68k Macs (pretty much like the one shown on @Tobias 's YouTube channel). Runs great in Mini vMac (Mac Plus), has a classic clock icon, a movable and closable window, a ticking sound, and hour/minute/second hands that actually move. It also has a window showing refresh rate parameters.

The project's entire build and packaging pipeline is built around these two tools: mac68k-asm handles the compilation of your code, and mac68k-disk handles the distribution of your app as a disk image. They are the core dependencies of my toolchain and my Python/Bash scripts. (Thank you very much, @Tobias, for those!)

How’d it get built?
Obviously through AI, but just in a web interface (Gemini Pro, with some feedback from DeepSeek). No fancy AI agent, no Github private repo, autonomous loop, no robot butler.

The toolchain was deployed on macOS Sonoma on an Intel Mac. I had to create (AI) a bunch of Python and Bash scripts doing the grunt work: assembling, building resources, generating the .dsk, launching the emulator, and spitting out diagnostic reports, snapshots, sound recordings, etc., so
I could manually feed back to the AI in a much more efficient way, saving me a lot of tokens per iteration!.

Speed is not what I was looking for; it's many interactive iterations that gradually get me into the insights of Mac 68K programming on the Early Macs.

The real key was a "lousy" 68k development guide that was written from scratch in, let's say, less than two weeks through countless iterations with web AI, and I'm happily sharing it here. Lousy in the sense that it's just a text file with no fancy anything, and it still did more for this project than I did.

I hope this will encourage many real "software guys" here to make awesome and fun things for the early Macs (like new versions of some of these famous games). This guide kept Toolbox calls, resource formats, and 68k details from turning into pure guesswork, while giving all the known techniques to make every cycle count on these machines, syncing sound and graphics in the most efficient way. Without it, the AI will make you pull your hair out!

With the current version of the guide (V6.9) it was good enough to take about four iterations to get things targeted for this tiny clock app.

Along the way, I learned how to completely reverse-engineer MacBinary files using cool AI-generated Python scripts (with either Capstone or Ghidra).
I also confirmed that 68k is still genuinely fun on early Macs.

And I picked up that AI is great for scaffolding and explaining, but the dev guide and the test loop do the heavy lifting. I very much like that I was able to get good results in a reasonable time with no fancy CLI AI agent required: just prompts, Python/Bash glue, Mini vMac, and stubborn iteration.

This by no means makes me anything close to a “software guy.” It makes me more of a “prompt guy” who learned just enough to be dangerous!

So yeah. Not bad for a prompt guy.

Feedback welcome.

Note: Also, if anyone has made meaningful updates, corrections, or new versions of this guide focused on 68k programming for early Macs, feel free to share them in this thread. This site is perfect for this kind of community sharing and joint development, and it's a good place to keep things useful and current.
Posted by: cheesestraws on 2026-10-06 12:28:28
oh good now we have slop documentation to go with our slop code. perfect.

I hope this will encourage many real "software guys" here to make awesome and fun things for the early Macs (like new versions of some of these famous games).

As a real software guy who no longer publishes any projects due to the tide of slop, congratulations, I guess?
Posted by: Builder68 on 2026-10-06 12:39:05
Ha, I’ll take the “I guess” ... in the middle of the AI revolution, that’s basically a standing ovation. I’m just trying to put one small, human-iterated thing into the pile while the world rewrites itself. Appreciate the reluctant congrats, real software guy. 😉
Posted by: Builder68 on 2026-10-06 13:00:23
Ana-Digi Day-Date Chronograph
Posted by: Builder68 on 2026-10-06 13:32:11
Operating Instructions:

You can operate every complication and visual mode using either direct mouse clicks on the dial or single-key shortcuts:

Function
Mouse Action
Keyboard Shortcut
Visual / Audio Feedback
Start / Stop Stopwatch
Click inside the 6 o'clock Sub-Dial




S




Sub-dial hand sweeps at 10 Hz (60 steps per 6 seconds)


Reset Stopwatch
—
R




Resets the 6 o'clock sub-dial hand to 12 o'clock


Ring Chime on Demand
Click inside the 12 o'clock HH:MM:SS Box




C




Inverts the digital box and plays the Westminster melody + current hour gong strikes


Toggle Night / Luminova Mode
Click inside the 3 o'clock Day-Date Box
N
Inverts the circular dial face to black with white luminous hands and markings
Cycle Outer Case Texture
—
T
Cycles outer window surround through white → ltGray→ gray → dkGray
Move Clock Window
Click and drag the ClockTitle Bar




—
Moves the window anywhere on the desktop while VBL ticks continue uninterrupted


Quit to Finder
Click the top-left Close Box




Cmd + Q or Cmd + W


Removes VBL task, restores speaker volume, frees heap buffers, and returns to Finder


Posted by: Builder68 on 2026-10-06 13:42:33
Slop, huh. Well, it's 4.6 KB, it runs a VBL interrupt sound engine, it chimes Westminster on the quarter hour, it has a night mode, a chronograph, and a day-date window, and it keeps ticking while you drag it across the desktop. If that's slop, I'll take slop. The "I guess" still stands as the compliment of the week. 😉

I guess it was a lousy documentation after all. 😉

Feedback welcome from people who actually read it. 😉
Posted by: Builder68 on 2026-10-06 14:35:43
Fixed the tremolo.
Posted by: s_pupp on 2026-10-06 15:17:07
I appreciate the work it must have taken to strong-arm AI into helping with this - well done! Any tool that helps bring more new 680x0 software into the world is welcome, as far as I'm concerned.
Posted by: ironborn65 on 2026-11-02 05:57:20
hi mate, the clock does no support higher screen resolution, dragging it is limited
Posted by: Yuppie Scum on 2026-11-03 16:47:30
Don’t let the others get you down about AI use. IMO, if you were a good engineer before AI you will become a next level engineer post AI. It is like “glasses for the brain” as they say. It levels the playing field and allows us to be creative.

I have some very interesting projects in the pipeline myself that I never would have had the time to learn how to do and implement if not for the new tools available. I don’t feel guilty about that whatsoever.

Keep up the good work!
Posted by: slomacuser on 2026-11-03 23:30:20
Nice work. Maybe add two options a full screen and work in background?

clock.jpg
Posted by: mikes-macs on 2026-11-04 05:11:21
Very nice.
It's too bad that it won't let you know if it's AM or PM though. Probably could just leave the display near a window to be able to see if it's day or night outside I guess.
Posted by: ironborn65 on 2026-11-04 05:58:24
also ... the keyboard shortcuts are not documented in the app itself, a "settings", "help", "about" menu would help
Posted by: Builder68 on 2026-11-04 11:31:35
V5 is out!

MultiFinder & Background Support.

Suspend/Resume Handling.

Dedicated AM/PM Window.

File Menu.
Settings Menu.
Sound Toggle.
Cycle Theme.
Night Mode.
Chime Now.
Help Menu.

Definitely a "lousy" clock app!! 😉⏰
Posted by: ironborn65 on 2026-11-04 11:54:54
thanks, very much appreciated.
Are you going to release all of it in github?
Posted by: Builder68 on 2026-11-04 11:59:02
V5.1

Chronograph Audio Feedback.
Posted by: Builder68 on 2026-11-04 12:02:21
thanks, very much appreciated.
Are you going to release all of it in github?
I'm not planning a GitHub repo (trying to keep the "slop" contained to this thread 😉). But here is the complete V5.1 68k assembly source code for anyone who wants to poke at it, build it, or learn from it
Posted by: adespoton on 2026-11-04 12:22:36
I appreciate that it's written in asm instead of a high level language 🙂 If you've got a good enough LLM model, why compile and link when you can cut out the middle man and just target the CPU and hardware? Makes it easier to focus the requirements and identify when you're instructing it to generate slop instead of optimized code. asm isn't all that forgiving when a model just makes something up or tries to interpret generalized handwaving.
Posted by: Builder68 on 2026-11-04 13:06:24
Exactly. It’s the same reason AI is surprisingly good at Rust, it thrives on hard boundaries.

I’ve actually been putting together a custom 68k guide (latest version attached) to feed the AI the exact ROM Toolbox rules and calling conventions. In C or Python, an LLM can hide its hallucinations behind bulky frameworks, but 68k ASM is an entirely unforgiving feedback loop. In bare-metal 68000 assembly, you can't handwave stack balancing, byte alignment, or hardware registers

It’s also turning out to be an incredible cheat code for reverse engineering. I’ve been using the guide to tear into the engine code of some classic early Mac titles. Without dropping names, I recently tackled a famous game that uses a custom LZH compression scheme to pack its sprite data. Thanks to the AI having those rigid 68k constraints to work against, I was able to crack the format and write a decoder for the sprites pretty seamlessly. You just can’t get those kinds of results when the model is allowed to just generically handwave.
Posted by: Builder68 on 2026-11-05 10:13:32
V6

Odometer style animation.
Background fixed.
Every digital readout (time, day-date, AM/PM) now rolls to its new value like a mechanical counter.
1 >