post @ 2021-12-21

Profiling your Retro68 application using serialperformanceanalyzer

When moving Nuklear to Macintosh, it became apparent that there would be a lot of performance optimization work necessary to provide a usable GUI experience on an 8MHz Macintosh. To make the situation worse, there is no profiling tooling available for Retro68, and no way as far as I could tell to run some kind of code profiler against the pce-macplus emulator, so I came up with a simple library for profiling code over a serial port via simple function calls.

So let’s say you’re wanting to profile a Retro68 application that you’re working on. Here’s how you might go about...

Click "Read More" to read the rest of the post

Read More

Finally after building up lots of tooling for classic Macintosh, we can develop a full application.

If you’re stumbling on this article without context, you might want to start with these to get up to speed:

The motivation

Ultimately I want to use a Macintosh Classic all day, every day, for useful things and have it be a major part of my workflow.

To that end, I want to create an iMessage client to send and receive messages with my friends,...

Click "Read More" to read the rest of the post

Read More

The motivation

GUI programming on old Macs can be pretty painful.

For some background, I am relatively new to Mac programming but experienced with programming in general. I have been doing a fair amount of programming using the Retro68 console recently, but now I’m looking to create some more GUI-based applications, so they can feel more “Mac-like”.

I’ve been pouring through the books “Inside Macintosh: Macintosh Toolbox Essentials” and “Inside Macintosh: More Macintosh Toolbox” along with some other resources online, and have been playing around a bit manipulating the “MenuSample” test app from this blog post: http://www.toughdev.com/content/2018/12/developing-68k-mac-apps-with-codelite-ide-retro68-and-pce-macplus-emulator/.

I...

Click "Read More" to read the rest of the post

Read More

Parts list

I’ve listed out everything that I used on this project on amazon.

Getting started

picture of all the necessary equipment laid out

Let’s lay out everything that we need to make sure we have all the necessary tools that we need to get started first.

Again, you should have:

  • rs232 to rs422 converter
  • usb to rs232...

    Click "Read More" to read the rest of the post

Read More

post @ 2021-12-21

The motivation – what is CoprocessorJS and what am I hoping to accomplish?

One of my dreams is to create a modern piece of software that allows programmers on any old machine to hand off work loads off to a modern machine over the serial port and get a response back that they can then interact with. This software will provide a standard interface for serial-connected devices to provide code to execute.

For my first approach, I am going to have workloads all be in modern nodejs. I like nodejs because it has a vast ecosystem of easy to use packages via npm, and if you are using an old computer, should be “fast enough” to do whatever it is you are trying to do. I have built a C-based package aimed at...

Click "Read More" to read the rest of the post

Read More

I started playing around using Retro68 on a modern Linux-based machine to do development work for old Macintosh computers in the spirit of one of my previous posts. In doing so, I ran into many problems while getting started and coming up with my own workflow. I hope that others can find this guide helpful in getting up and running with their own classic Macintosh dev stories.

Who can use this guide? Anyone who wants to get up and running with Mac development being cross compiled from a modern Linux environment as quickly as possible. I’ve laid out the commands and explanations in the most straightforward way I could with the simple goal of running a hello world application. I do not go very in depth as to what I am laying out here but link out to other resources for you to learn more.

I used a few other guides to build up to what I...

Click "Read More" to read the rest of the post

Read More

If I had unlimited time on my hands I would work on software to make old computers more useful.

My ultimate goal is that I would like to be able to use a Macintosh Plus running System 7.x to:

  • browse the internet arbitrarily, meaning full execution of JS, full images (converted to grayscale of course!), etc
  • handle emails (using all the modern things you’d expect in an email client)
  • ssh into other machines
  • probably other stuff

I would achieve this by using a combination of:

The general idea is that...

Click "Read More" to read the rest of the post

Read More

post @ 2021-02-04

here is my budget turbo miata parts formula.

Parts listed are for a 1.8L build, adjust parts for 1.6 as needed. Should be capable of more power than what the rods are good for and should do so for less than $2,000. Dyno tune to 220whp and stop. Only missing parts here are downpipe and exhaust. Take to exhaust shop for finalization. I would do everything but the turbo, turbo manifold, and boost controller on a supercharged build.

Read More

post @ 2021-02-03
⬆︎top