Join GitHub today
Theoretical Kindle KOA2 & Kobo Mark7 eink framebuffer support #688
The Mark7 kernel(s?) appears to have kept a degree of backward compatibility in place (I'm guessing because pickel sucks and no-one wants to touch it with a ten-foot pole to update it).
The KOA2, on the other hand, massively broke backward compat, going so far as re-ordering the waveform update modes....
Fortunately, our code was already modular enough that handling these two cases of precious snowflake syndrome were fairly straightforward once the headers were updated.
The headers change were tested w/ FBInk first. There are no changes for Kindle support, for Kobo, we needed to change a few names, but that's it.
Tested on my Mark5 (H2O), and nothing appears to have been broken.
The KOA2 code is 'live', since support for this device is already broken because of missing HW information.
The Mark7 code is commented out, because those device do appear to work with the current codepath for now.
In any case, I'll need strace logs on both fronts to make sure it's correct.
Doing a pass on the FFI stuff, because it's a mess.
Please never write those manually, and always use ffi-cdecl (or ask someone to do it for you).
I get a crash when I try to maximize the emulator: