@TheMogMiner I've encountered an issue with the SPG ADC hookup,if you leave any of the Star Wars games until it shows the high score table (or get a high score) they stop reading the analog inputs. Pretty sure this didn't happen when it was first hooked up. Could you take a look?
-
-
My own tests indicate it doesn't like if (BIT(m_io_regs[REG_ADC_CTRL], 0)) { if (!BIT(old_ctrl, 0)) { It writes the request when the bit is still 1, then obviously 0x2000 is never set, so it never reads the inputs again. Not sure how it should clear it.
-
if you comment out "if (!BIT(old_ctrl, 0))" so writing a 1 always triggers, it does of course work fine. Maybe bit 1 isn't actually read/write, and a write of 1 always triggers?
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.