From: Johan Knol <johan.knol@id...> - 2001-02-13 20:12:53
When using the -mds390 flag, one implies to use the flat24 model (which in
fact only uses 22 address bits :). In large or small mode, the ds390 behaves
like the core mcs51 and therefore should not be used with the -mds390 flag.
The --stack-10bit is also obvious, unless one uses the internal 1K RAM for
his/her own purposes. So I would say make it the default, unless overruled
by e.g. --ds390-8bit-stack (valid with -mds390 only ofcourse). This isn't
supported by the rtls yet, and I guess the code generator will choke on it,
so it should throw an error right now.
I vote for changing all the "#ifdef SDCC_MODEL_FLAT24" in "#ifdef
IS_DS390_PORT" for the compiler and in "#ifdef SDCC_ds390" for the rtls.
If I don't hear a good reason why I shouldn't, I will make it so in the next
few days (engage .... :)