Given that, and given that you've already expressed your wishes to your boss, you should start looking for another job. Unless you live an area with a shortage of programming jobs and you are unable to move to a better area (very unlikely if you live in the US), I'm sure you'll find something.
Don't even mention leaving your job if you don't have a job offer from another company. In fact, if you get a good job offer you should probably accept it; using it as leverage to move within your company might work, but you should think really hard if you want to stay at your current company.
Sometimes it feels like they hold all the chips, but you can quit at any time and they will be sh*t out of luck. Don't let them forget it and your bargaining will be easier.