Files
mars_nwe_pcab/clients/retro-browser/macclassic/README.md

69 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# RetroBrowser for Classic Mac OS — PowerPC cross-build
Built with Retro68, Universal Interfaces 3.4.2, SDL 1.2.15 and SDL_net 1.2.7.
Target: PowerPC Macs with System 7.5.3 through Mac OS 9 and Open Transport.
This is a cross-compiled test build, NOT verified on hardware or an emulator.
Mac OS compatibility also depends on the particular Mac model.
## Installation
Extract macclassic-powerpc.zip, then decode RetroBrowser.bin on the Mac with a
MacBinary-capable tool (e.g. StuffIt Expander). Alternatively mount
RetroBrowser.dsk and copy the application to a writable hard disk. Do not copy
only the raw APPL data fork: the resource fork is required.
Activate the browser service in the MARS web interface and generate a token.
Launch RetroBrowser; enter the server address, port (normally 8790), token and
screen profile in the settings dialog. Settings are saved in rbsettings.cfg.
The rendering engine runs on the Linux server. RBP is unencrypted and intended
for an isolated trusted LAN. The server's Chromium dependency remains external.
This first build uses Toolbox video and Open Transport networking. Sound Manager audio is enabled, with F9/local sound test and RX/bad/drop/peak
diagnostics. Actual sound output and end-to-end server audio remain untested. OpenGL, DrawSprocket, joystick and CD-ROM support
are disabled. Application memory: 16 MiB preferred, 8 MiB minimum. Actual
memory requirements and all runtime behavior still need device testing.
## Rebuild
From the project root run `./build-retrobrowser.sh macclassic`. It downloads
checksum-pinned SDL sources, applies sdl-retro68.patch and builds using the local
Docker image `mars-retro68-sdk:local` (override with MACCLASSIC_IMAGE).
The current host has this image prepared from ghcr.io/autc04/retro68 with the
user-supplied /usr/src/UniversalInterfaces3.4.2.img_.bin. The SDK is not shipped
in client/source packages.
On another host prepare Retro68 with Universal Interfaces first. This particular
SDK image is HFS+, so Retro68's hmount-based importer cannot read it directly.
ConvertDiskImage can decompress it; 7-Zip can extract the HFS+ filesystem.
7-Zip reports a Desktop DF error, not an SDK file error. Preserve the extracted
resource forks: for each NAME:rsrc file, copy its bytes to .rsrc/NAME in the
same directory. Run Retro68's interfaces-and-libraries.sh against the extracted
Universal directory and retain that configured toolchain in your local image.
Build inputs and logs are under build/macclassic, separate from other targets.
## 68k status
The July 1996 developer SDK has now supplied the missing OT and ASLM objects.
Conversion succeeds, but the final link still fails due to newer SDL_net API
requirements and Apple/Retro68 runtime incompatibilities. No 68k executable is
available. See [68K-BUILD-STATUS.md](68K-BUILD-STATUS.md) for exact findings and
reproduction. The 0.9.1-3 PPC audio update does not resolve the 68k link failures.
## Source and licensing
macclassic-powerpc-source.zip contains application sources, the SDL archives,
port patches and application object files for relinking. See COPYING in the
project and COPYING inside each upstream archive. SDK/toolchain components
are external prerequisites. No Apple SDK files are included in these ZIPs.
## Supplied Open Transport 1.3.1 installer
The separately supplied Open-Transport-1-3-1.iso.zip has been inspected. It
contains Installer, Install 1–4 and the deployed 68k/PPC shared libraries;
it does not contain the missing 68k development/link glue. It is preserved
unchanged under releases/browser and offered as a separate web download.
Read its original compatibility notes before installation. Do not blindly
downgrade Open Transport already installed by a newer Mac OS release.
This installer has not been executed here.