I'd like it if there were #define macros to do this kind of stuff. Basically to read/write the bitmap for an input cell.