Brighton's Blog
โ† All Series

EPUB

3 - RBKC: The Chunked .rabook Container

RA8D2RenesasEmbeddedBinary FormatsBare-MetalCEPUBzlibDemand Paging

Books are the reason this project exists, so this is where the e-reader stops being a graphics demo and starts being a reader.

The interesting tension here is that solving one problem creates another. Moving all the EPUB parsing to a host tool makes the device’s job trivial, but it produces a single flat object that is bigger than RAM – so now you need a way to read a piece of it without holding the whole thing. This post is also a useful comparison with the previous one: the two formats put their index at opposite ends of the file, for reasons that are entirely about the producer.

Read more โ†’