Reply 160 of 1102, by georgel
Maelgrum wrote on 2023-09-25, 12:49:I must tell that from programmers point of view severity of this bug is huge - it is totally lame code, not allowed in productio […]
I must tell that from programmers point of view severity of this bug is huge - it is totally lame code, not allowed in production.
But from user point of view severity is low - it depends on many factors.
First of all - software (game) must send commands to SB. And this commands must be vulnerable (dependant on flags in codeflow).
Not all commands are vulnerable.
Game that uses auto-init DMA can send no commands at all after init (and during init things are safe - no interrupts are triggered).
And occurence of this bug depends on timings.
So dont expect from this patch something noticeable - you need combination of many factors for bug to occure.
To tell what this affects is much more difficult (not fully possible) than to correct it. Probably it can correct the "DMA clicking" mentioned above. The programmers/designers were not lame, you still cannot fully understand their code, they made millions of $$$ back then. I guess they were more used to x86 code where interrupt mechanism by default saves and restores the flags register.