@mike000,
This is a question for an attorney to answer, as s/he will get all of the facts from you and be able to research the law, etc.
I will tell you, though, that since you've been the primary caretaker for half of the child's life, particularly without financial support from a mother with a criminal record, it's looking awfully good for you.
But do talk to a lawyer, and find out what your options are, what the possible snags will be, etc.