Up, Down, Left, Right, hold A and press Start - Level Select Menu
Up,C,Down,C,Left,C,Right,C,hold A and press Start - Debug mode (turn into stuff and place them), only worked on my Genesis original though, doesn't work on Sonic Mega Collection or w/e
Yes, I do remember those codes even though I was like 5 lol