Files
mars_nwe_pcab/clients/retro-browser/macclassic/68K-BUILD-STATUS.md

35 lines
1.9 KiB
Markdown

# 68k follow-up: Apple Developer CD July 1996
Inspected `/usr/src/Dev.CD Jul 96 SDK.sit`. Extracted with unar to
`build/macclassic/sdk1996`. hfsutils can read the Toast images although 7-Zip
cannot read their optimized HFS filesystem.
Disc 2 contains Open Transport 1.1 GM with all three expected link objects:
OpenTransport.o, OpenTransportApp.o, OpenTptInet.o. Disc 1 provides the ASLM
CFront LibraryManager.o. `extract-ot68k.sh` converts them with Retro68 ConvertObj
and the m68k assembler. The CMake 68k target now links these converted objects.
**Result: still no 68k executable.** The build reaches the link stage, but:
- OT 1.1 lacks OTENTERNOTIFIER / OTLEAVENOTIFIER required by SDL_net 1.2.7.
- Apple's ASLM/CFront runtime requires A5Init/A5Size, _A5Init3, _IntEnv,
__InitProc, __CleanupProc, __InitVTableRecords, LDIVT/ULMULT and errno glue.
- Converted ASLM code has unresolved local cache/world symbols (L1258 etc.).
- SDL still needs 68k Control Strip and device-control support (PBStatusSync,
Control). Gamma/control-strip functionality is optional for a windowed client.
Do not replace networking/synchronization/runtime functions with no-op stubs to
force a successful link. A newer suitable OT SDK can address the first issue,
but is NOT sufficient proof of Retro68 ABI/runtime compatibility. The remaining
work is a real runtime/porting task, not simply obtaining one more installer.
Reproduction after importing SDK with extract-ot68k.sh, inside the configured
Retro68 container mounted at /work:
cmake -S /work/clients/retro-browser/macclassic -B /work/build/macclassic/m68k \
-DCMAKE_TOOLCHAIN_FILE=/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
cmake --build /work/build/macclassic/m68k -j4
Logs: build/macclassic/m68k.log and ot68k-convert.log. Existing 0.9.1-2 PPC
release remains the last built package; no 68k binary was added or advertised.