// sketch of text editor; C as pseudocode for asm // see scredit.S #include typedef uint32_t u32; typedef uint8_t u8; static u32 pos; void editor(u32 event, u8 *screen) { }