Commit Graph

6 Commits

Author SHA1 Message Date
Elliot Nunn
a855f682c6 Fix bug where RomLink handles weren't locked
Pointers to relocatable blocks were being kept and re-used! Now HLock is
correctly used to keep the blocks in place. This is Memory Manager 101.
2018-02-03 11:40:54 +08:00
Elliot Nunn
76f84dd27e Make Vectorize more robust 2017-12-26 09:52:55 +08:00
Elliot Nunn
9c249dafab Reverse 68k Color QuickDraw
The ROM now round-trips with QuickDraw mostly built from source.
(~30% of the ROM is now built from source.)
2017-12-26 09:52:55 +08:00
Elliot Nunn
bfdc32871e Add RomLayout, the ROM postlinker 2017-12-26 09:52:53 +08:00
Elliot Nunn
3a7bff43c0 Add RomLink, a bytecode interpreter
The "RomLink" bytecode language can be used to link a tree of binary chunks
into a flat file. The bytecode specifying each binary chunk lives in a
Resource Manager resource. The RomLink's only purpose is to flatten
DeclData.rsrc into a "Slot 0" (motherboard) DeclData, so it seems like
overkill. Nonetheless, DeclData.rsrc is very complicated (and so are its
antecedents, DeclData.r and the include file RomLink).

This implementation is incomplete. It is just enough to build the vestigial
DeclROM that TNT and later machines retain for Open Transport.
2017-12-26 09:52:52 +08:00
Elliot Nunn
283a0c5ba8 Reimplement the Vectorize tool 2017-12-26 09:52:24 +08:00