6 Commits

Author SHA1 Message Date
Elliot Nunn
6500e0d0a6 Make Vectorize more robust 2017-11-27 11:04:08 +08:00
Elliot Nunn
3fd8dde36b Shrink Vectorize buffer and use MemoryMgr calls
This lets the build run in Mini vMac (8 MB Mac II). For some reason, calloc can't create buffers as large as NewPtr.
2017-10-30 16:54:57 +08:00
Elliot Nunn
cf23aad670 Crack QuickDraw
That is to day, put *something* in its place with the right length and
symbol locations. Now we can be sure that no incorrect bytes are due to
confused branch instructions, and therefore that they must all be fixed.
2017-10-09 12:37:27 +08:00
Elliot Nunn
a4bb805064 Add RomLayout, the ROM postlinker 2017-09-26 00:00:58 +08:00
Elliot Nunn
7deeb23f98 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-09-25 00:25:16 +08:00
Elliot Nunn
64c9515a18 Reimplement the Vectorize tool 2017-09-20 19:54:25 +08:00