[hatari-devel] Debugger address base
Thomas Huth
huth at users.berlios.de
Fri Jul 31 19:57:17 CEST 2009
On Thu, 30 Jul 2009 22:39:16 +0200 (CEST)
npomarede at corp.free.fr wrote:
> On Thu, 30 Jul 2009, Eero Tamminen wrote:
>
> > Anyway, I think it might be better to have an option for forcing
> > all numbers lacking prefix to be interpreted in certain number
> > base. The new "value" command could for example accept special
> > "dec", "hex" and "bin" argument for switching this.
That sounds like a good idea! Could you implement this?
> > The debugger prompt could show this mode.
I'd rather would just show the mode when one enters the "value" command
without arguments. I think you don't change the base too often, so
showing it at each prompt sounds a little bit too much.
> > In the config file this option could be named e.g.
> > NumberInputBase. But what should be the prefix used for decimal
> > numbers when non-the prefixed input is being interpreted as hex or
> > binary?
> >
>
> Yes, that's what I wondered too :) Maybe we could use '+' or '#' ?
Sounds good, I'd prefer '+' but '#' is also fine for me.
Thomas
More information about the hatari-devel
mailing list