Skip to content

A project to use a m86k based Macs to help with homebrewing

License

Notifications You must be signed in to change notification settings

NoxHarmonium/macbrew

Repository files navigation

macbrew

A project to use a m86k based Macs to help with homebrewing.

It combines my love of brewing beer with my love of vintage computers.

I decided to do it to help me learn Rust and to play with a vintage Mac and see how software was developed 30 years ago.

Bonus points if it helps me brew better beer.

macbrew-proxy

A modern application written in Rust that will run on a Raspberry Pi and load recipes/sessions from Brewers Friend and translate them to a compact binary form.

It will expose a serial interface for a Mac Plus to talk to and fetch the data.

macbrew-gui

A C application written on a 30 year old IDE on a Mac Plus (System 6) It will use the serial port to talk to macbrew-proxy and fetch data.

Testing

Unit Tests

$ cargo test

Integration Test

You can set up a virtual serial port pair with:

$ socat -d -d pty,raw,echo=0 pty,raw,echo=0 &

Use /dev/pts/1 as the target serial port for macbrew-proxy and you can use the other side of the pair to push data through. E.g tio /dev/pts/2

License

Hippocratic License 2.1