Log In  


Is it possible to trigger a glitch reset from code, like CTRL+R looks? I know there are code snippets that do small pokes to memory, but I was wondering if there's a way to make it closer to (or exactly!) like how CTRL+R.

Thanks!



CTRL+R is just a bunch of pokes though! not sure if there more targeted at certain ranges or purely random though.. would have to reset a bunch and peek to see I guess


Yeah, I had been messing about with CTRL+R and the following snippet and they feel very different:

for i=1,5 do
    poke(rnd(0x8000),rnd(0x100))
end

1

When you say trigger a glitch reset, do you mean trigger a reset that also has the glitch effect? (As opposed to just re-calling _init() again.)

If so, then if you do extcmd("reset") in your code, that's the same as hitting CTRL-R. You'll get the glitch effect when it resets.


Perfect, thank you so much


 
P#91857 [hidden by admin]

[Please log in to post a comment]