I noticed USE_SCREEN is gone now, so I checked and read about the new rules for screen-based patches:
https://community.rebeltech.org/t/writing-screen-patches
And I see MonochromePatch is in the docs and firmware now. Awesome!
But, I have some questions…
- What happens when you run a MonochromePatch on a screenless device? Does it work?
- Is there a way to tell, either at compile time or at run time, if a screen is going to be available? (For example maybe I would skip initing screen-related variables in the constructor if I knew I was on a device with no screen)
Also, a silly question: I notice a “ColourScreenPatch” class in the source and documentation… If you happen to inherit from this, and run on a device with a monochrome screen or no screen, what happens?