wwatson
Well-known member
@MorganS
As far as a non-destructive mouse cursor, the RA8876 has that. It has 4 programmable mouse cursor memories that can be programed with a 16X16 (256) byte cursor shape. It also as 256 cursor colors that work out to cursor color and cursor border color. I have this working with my file manager. It uses my USB mouse driver. Also the one thing I have not had time to mess with is pattern ram, If I am correct this is an overlay as well (not tested). These are RA8876 internal functions that don't need to repaint the screen. I think the same principals apply to user defined fonts which is working. In the RA8876 user manual page 143... REG [03] - REG[04} and elsewhere these are explained (kinda). The only roadblock I have run into is saving portions of the screen for menus, dialog boxes and pop up screens. Using SPI in linear addressing mode is just to slow to be practical. So what I have to do is a bte memory copy back and forth from one screen page to another to restore a screen after a dialog box is finished. I am sure there are other ways to do this.
Hopefully I understood what you were asking
Code:
You would think that the memory-copy functions would be useful to have a mouse cursor or game character move over a background without erasing it. Save the piece of background you are going to damage and replace it after the character moves away. But what if your industrial computer display wants to update the numbers under the cursor? You end up just repainting the whole display and drawing the mouse cursor last.
As far as a non-destructive mouse cursor, the RA8876 has that. It has 4 programmable mouse cursor memories that can be programed with a 16X16 (256) byte cursor shape. It also as 256 cursor colors that work out to cursor color and cursor border color. I have this working with my file manager. It uses my USB mouse driver. Also the one thing I have not had time to mess with is pattern ram, If I am correct this is an overlay as well (not tested). These are RA8876 internal functions that don't need to repaint the screen. I think the same principals apply to user defined fonts which is working. In the RA8876 user manual page 143... REG [03] - REG[04} and elsewhere these are explained (kinda). The only roadblock I have run into is saving portions of the screen for menus, dialog boxes and pop up screens. Using SPI in linear addressing mode is just to slow to be practical. So what I have to do is a bte memory copy back and forth from one screen page to another to restore a screen after a dialog box is finished. I am sure there are other ways to do this.
Hopefully I understood what you were asking