Do I have any rightss against code enforcement from city ordinances?

What on earth is the International Code Council, and why is your city involved with them?
Is this some sort of U.N. conspiracy play? ;-)

Code enforcement sucks - it's often a neighbor complaining, but sometimes the city just drives by. Try calling and pleading your case - otherwise, not much to do but make it operable or move it off premises until it is operable, from the sound of it.