Here's the author describing how it was done. Note the 64K data sizes. So they fit into one 16bit segment.