Hello Eduardo,

> Lucho, Steffen, everybody, we should have some discussion to determine
> which COUNTRY.SYS format we should use in FreeDOS.

1'st let me state that I never used NLSFUNC, so I may be the wrong
person.

2'nd, all I needed for FreeDOS was 24 hour time/european date,
and I implemented it
in the kernel.sys (rather then in some external COUNTRY.SYS),
because it requires only a few bytes (for the current supported
date,time, currency,...) and is hardly worth the requirement of an
extra COUNTRY.SYS.
this changes IMO, if uppercasing tables etc. are supported for many
countries, but not sooner; and I think that moving the date/time
functionality to *require* COUNTRY.SYS is a step in the wrong
direction (even if it suits lucho in his attempts to get a few byte
smaller kernel)


> In fact, I've had a working NLSFUNC for some weeks now. The only thing
> it needs for general availability is a kernel with functions 2f.1226 to
> 2f.1229. Actually, it works with the implementation of these functions
> that I posted to this list (I modified NLSFUNC to avoid running out of
> stack as Bart suggested) and it even works calling to the int21
> equivalents (saving the caller stack and switching to a local one before
> calling int21).

Congratulations.
I still don't understand why this should be done from inside DOS;
in real life you'll have an external utility
   NLSFUNC SET LANGUAGE GREEK
or similar that can use any desired method, and doesn't have to rely
on fancy kernel internal calls/IOCTLS/etc.
I may be wrong with that, though.

> Another problem is that it does _not_ uses the MS COUNTRY.SYS format,
> but the one that Steffen Kaiser designed when he was implementing the
> NLS support for the kernel. The advantages are that it was designed with
> the kernel NLS structures in mind and that there are also utilities to
> convert to/from a text (source) format.

IMO that's not a disadvantage.
We can't use MS country.sys anyway, and there are hardly many
third party COUNTRY.SYS's floating around we must be compatible with.

I'd prefer a different country.sys format alltogether, with smaller
size in mind.
It doesn't has to be xxZIP'ed (due to relative large decoding code
size), but you get get a significant amount of compression by some

'this toupper table is almost the same as the table before with the expection
of characters 187-192 and 205-119, differences follow'

not difficult to implement, and worth the effort IMO.



just my 2 cents

tom




















> Regards,
> Eduardo.




> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Freedos-kernel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freedos-kernel


-- 
Best regards,
Tom Ehlert
mailto:[EMAIL PROTECTED]
+49-241-79886



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to