Determine if an instance is running in the emulator vs on real hardware
Posted: Thu Dec 26, 2024 1:33 pm
There is a bug in the hardware VERA in that the FX Line Helper in 4bpp mode doesn't correctly draw lines in octants where "sometimes horizontally increment" applies. Based on the discussion in the CX16 Video Discord https://discord.com/channels/5475596260 ... 9835214960 it appears as though this fix https://github.com/X16Community/vera-mo ... l/33/files exceeds a timing budget and produces undesirable side effects. I'm not sure of the next steps or when it will be fixed. The software VERA used in the emulator works okay.
In the meantime, the Helper sort of works in that for the affected octants it does draw lines in the reverse direction although it is decrementing by one byte as opposed to a nibble. I might be able to implement a temporary workaround where the lines will look janky but "good enough".
My question is: Is there a way to determine if an instance is running in the emulator vs on real hardware? It should be accessible using C.
Thank you,
Russell
In the meantime, the Helper sort of works in that for the affected octants it does draw lines in the reverse direction although it is decrementing by one byte as opposed to a nibble. I might be able to implement a temporary workaround where the lines will look janky but "good enough".
My question is: Is there a way to determine if an instance is running in the emulator vs on real hardware? It should be accessible using C.
Thank you,
Russell