Refactoring: replaced array of bytes with Screen class for HiRes mode