Anyway, these are the codes I use. They don't block every possible kind of screen locking, but they work for most of the game.
These are valid for Complete, S&K and S3&K. I haven't tried them with original Sonic 3 or the 3C betas.
Thanks for theses codes. It is fun to fight some bosses (Knuckles, Metal Sonic) outside of their areas, or just run past the bosses of Angel Island Act 1
I lowered the value of FFFFEE16:7EC0 to 7E00, otherwise as soon as you press right in debug mode the cursor is set to the right most coordinate.
Is 7EC0 a magic value, or why is it problematic?
I chose 7E00 arbitrarily, because lowering to 7E2F was not enough.
The codes seem to work in a European Sonic 3 alone