I've never used any devices like that but from what you describe your HP wrapped. If your HP is stored in an 8 bit counter then the maximum number that can hold is 255. If you use the cheat device to boost your hitpoints to 255 and then you get a 5hp health boost, it will try to add 5 to 255...