Commit Graph

57 Commits

Author SHA1 Message Date
Elliot Nunn 9dd3c4bef8 Get Gestalt (ptch 5) building
Now the System 7.1 build relies on these binary blobs:
- AppleTalk *
- Virtual Memory *
- Sound Manager

* never part of the build system
2020-02-16 08:18:31 +08:00
Elliot Nunn 4b6e398c8a Get Backlight driver (DRVR -16511) building 2020-02-15 16:19:06 +08:00
Elliot Nunn d7c9c70e4c Get ptch 27 (ScriptMgrExtensions) building 2020-02-08 17:15:21 +08:00
Elliot Nunn fec1ecadcb Really clean things up
The linked patches build with only three inconsequential problems.

The Apple Event Manager (PACK 11) now builds! (Just needed to get the
Pascal compiler to ignore all those stale 'unit' resources.)
2020-02-01 22:08:45 +08:00
Elliot Nunn 1a20c7c40d Revert the DumpObj scheme 2020-02-01 22:07:57 +08:00
Elliot Nunn bfe11250a5 Build the Linked Patches!
(Some gremlins and mess, but almost perfect)
2020-01-01 09:48:01 +08:00
Elliot Nunn b4cdbd38f7 Splice AmphibianDNA when quotes are missing 2020-01-01 09:47:16 +08:00
Elliot Nunn 4b5c315cba Linked Patches: almost there! 2019-12-29 10:04:22 +08:00
Elliot Nunn 5dd22e2276 Oops! Bugs! 2019-12-22 07:52:26 +08:00
Elliot Nunn 8ed81abc85 Auto-DumpObj every file in BuildResults
Having an up-to-date object dump hands greatly speeds up the
round-tripping slog.
2019-12-21 06:03:56 +08:00
Elliot Nunn 4ed556851a Stdout: Disk:Src:Folder:File -> Folder/File
This saves time when tracking down the file causing a build error
2019-12-21 06:03:02 +08:00
Elliot Nunn 4b5bd86876 Return nonzero status on MPW error 2019-12-21 06:00:11 +08:00
Elliot Nunn 7627be1e6d Reduce console spam 2019-12-21 05:59:27 +08:00
Elliot Nunn 1f6879c5d5 Remove trailing Git version number from patchsets 2019-10-01 17:28:45 +08:00
Elliot Nunn 72f7a9483d Get part of the Figment Memory Manager building 2019-10-01 17:28:45 +08:00
Elliot Nunn d8f8def6d1 More OF reversal 2019-09-29 20:32:10 +08:00
Elliot Nunn 501d3c1d37 Place more missing data forks! 2019-09-05 10:49:44 +08:00
Elliot Nunn 0ecbd4a1a1 Improve reversal of FindStartupDevice
Also some lagging AmphibianDNA changes
2019-08-20 10:44:35 +08:00
Elliot Nunn 75a40a747e Oops! Forgot Finder data fork
We don't use the Finder, but it needs an empty data fork anyway.
2019-08-19 12:33:32 +08:00
Elliot Nunn 5122302da6 Reverse more of the OF interface 2019-08-19 12:32:19 +08:00
Elliot Nunn 9527f92ec9 Reverse quite ugly struct-editing func 2019-08-12 22:49:45 +08:00
Elliot Nunn b39f3ffead Reverse a Big Bad function 2019-08-11 21:10:01 +08:00
Elliot Nunn b5ebad1958 More OF functions 2019-08-06 14:53:41 +08:00
Elliot Nunn 63a7654660 Another OF function reversed 2019-08-06 14:52:20 +08:00
Elliot Nunn caf4716632 Use tempfiles for disk image preparation
Previously these intermediates were placed in the build directory but
immediately deleted. Unless we are going to make them easily available
for inspection (hopefully not often required), they should just go in
/tmp.
2019-07-17 11:21:34 +08:00
Elliot Nunn 3a29153618 Preserve original include-file case names
This is a hack to prevent git from choking on case-insensitive
filesystems.

These files are affected (old cases): Assert.h CType.h DisAsmLookUp.h
ErrNo.h FCntl.h Float.h IOCtl.h Limits.h Locale.h Math.h Perf.h SetJmp.h
Signal.h StdArg.h StdDef.h StdIO.h StdLib.h String.h Time.h Values.h
DisAsmLookUp.p
2019-07-12 20:27:53 +08:00
Elliot Nunn 145a2b8af8 Custer: work on StartMgr-OpenFirmware interface 2019-07-11 19:26:25 +08:00
Elliot Nunn 912edd74a2 Custer: update Universal Interfaces 2019-07-11 14:58:52 +08:00
Elliot Nunn f3c5967310 Give MPW more RAM 2019-07-11 12:58:13 +08:00
Elliot Nunn ef56584a54 Custer: build WindowMgr from source
Overall, not very many changes.

The PowerMgr amphibian dump has been changed with a better name for a
per-screen LCDScreenChk.
2019-07-02 23:36:47 +08:00
Elliot Nunn f674d3b050 Add gitignore
Oops!
2019-06-30 01:26:03 +08:00
Elliot Nunn 90b77d716d Fill gaps in Cube-E build
After working incrementally towards a perfect Cube-E build, returns are
diminishing. This Amphibian DNA approach allows the production of
bootable builds!
2019-06-30 01:24:51 +08:00
Elliot Nunn d217803599 Make Cube-E build with `./.build System`
This is more like the SuperMario makefiles.
2019-06-29 23:21:57 +08:00
Elliot Nunn 2e16381318 Bring in sources, and document 2019-06-29 23:17:50 +08:00
Elliot Nunn f4d0dadebe Create useful .build/.flatten scripts
Also, factor out some common code
2019-06-29 22:56:27 +08:00
Elliot Nunn 93dfc883a1 Include build script, System and MPW 2019-06-29 22:17:03 +08:00
Elliot Nunn 3d158703bf New WIP patchset: Vanilla
To get vanilla SuperMario building.
2019-06-29 22:16:32 +08:00
Elliot Nunn 36a2454343 Simplify deepen/flatten scripts
They no longer try and fail to work with existing git repositories. If
an existing one gets in the way, it gets trashed and reinitialized.
2019-06-29 22:16:32 +08:00
Elliot Nunn 5f460e9e1b Custer: build HFS mostly from source
This could some neatening up and docs.
2019-05-04 16:46:28 +08:00
Elliot Nunn 70f17034d2 Split off Cube-E/NewWorld hackery 2019-04-16 11:32:02 +08:00
Elliot Nunn 80bb3c8f35 Fix ROv# and FREF 2019-04-15 20:58:59 +08:00
Elliot Nunn b129b601c7 Fix all the remaining PACKs
Now only 43 resources fail to match. (Of these, 20 are 'lpch's which
need to be addressed down the track.)
2019-04-14 23:03:55 +08:00
Elliot Nunn 0f2d4c304d Fix minor mistake in a previous commit
The commit "Cube-E: fix especially the Comm Toolbox" placed some changes
to System.make in source.patch. Changes to makefiles should go in
build-system.patch. Never mind that System.make is created from whole
cloth and cannot have meaningful changes anyway.
2019-04-14 23:01:59 +08:00
Elliot Nunn 5c122668c3 Cube-E: fix PACK 14 (Help Mgr) 2019-04-14 22:06:41 +08:00
Elliot Nunn 7e700071ce Cube-E: fix PACK 13 (Data Access Mgr) 2019-04-14 21:48:09 +08:00
Elliot Nunn 2c130f8fab Cube-E: fix system BNDL 2019-04-14 21:47:12 +08:00
Elliot Nunn 66cdc2bfb9 Cube-E: fix especially the Comm Toolbox 2019-04-14 21:38:03 +08:00
Elliot Nunn e6ab3ce01a Put missing data forks in patches
Cube-E now builds (and boots, if you replace <100 System resources).
2019-04-06 15:25:13 +08:00
Elliot Nunn 1772194f62 Correct show-stopper omission a patch from Custer
All unused SuperMario-style "vectors" point BADTRAP instead of
UNIMPLEMENTED.

With this patch, the build works, and the 3 MB RomMondo is byte-correct
except for the date in the host DeclData. This is really cool!
2019-04-05 22:08:18 +08:00
Elliot Nunn 9654c22756 Edit patches less aggressively
The automated changes to the output of git-format-patch looked okay, but
they were swallowing up binary changes. Now they are more conservative
and hopefully more robust. As an exception, hashes are still removed for
non-binary diffs.

For debugging, `scripts/flatten` now has a `--raw` option to skip this
post-processing step.

Soon I should try to stabilise the patch format.
2019-04-05 21:39:03 +08:00