Well heh, test it : try replacing my "jr nz" by "jr z" in `suspendDevice` and you'll see it was wrong.