// The Apple II 40x24 text page ($0400-$07FF) rendered into the same // 280x192 pixel buffer the hires decoder fills. The edit-mode overlay // switches to text mode while its "SIMULATION CONTROL" pages are up. #ifndef TEXT_SCREEN_H #define TEXT_SCREEN_H #include #define TEXT_SCREEN_BASE 0x0400 #define TEXT_SCREEN_COLUMNS 40 #define TEXT_SCREEN_ROWS 24 // Address of the first character of text row `row` (0..23). uint16_t textScreenRowAddress(uint8_t row); // Render the text page into `out` (280 x 192 ARGB pixels). void textScreenDecodeToRgb(uint32_t *out); #endif