Logic error in the ALTERNATE_FORMAT flag where it didn't do the base
conversion if the flag wasn't present. Fixed that, made the code a
bit more complicated. However my hex dumper works again and so its
a tradeoff :-). I've got some simple cursor movement stuff to go with
it and now that I'm pretty confident in it I'm getting ready to move
the debug code over to using it.