+SvOlli Posted October 17, 2017 Share Posted October 17, 2017 Hello,I'm trying to trigger HMOVE without RSYNC, still at the right time. I suppose there is a way to trap a write only after the first color clock cycles.But right how I'm stuck atbreakif { (_ccycle > 3) && WRITEAT(HMOVE) }How can I tell Stella what to do at WRITEAT(HMOVE)?Or can I somehow combine trapwrite with a function? Or maybe something like thiis? function strobeccycle { (_ccycle > 3) ? HMOVE : $7F } trapwrite strobeccycle Ideas anyone? Quote Link to comment Share on other sites More sharing options...
+stephena Posted October 17, 2017 Share Posted October 17, 2017 In the current GIT repo we have a new set of commands: trapreadif, trapwriteif, etc, that combine a condition with a read/write trap. Sounds like exactly what you need. But I can't say when the next release will be; hopefully some time in the next month or so. You're free to checkout and build from Git, of course. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.