Re: [Freedos-kernel] Codepage and time separator data errors in COUNTRY.SYS

2020-03-19 Thread Robert Riebisch
Hi Jeremy,

> Hi perditi...@gmail.com,
> 
>> Thank you.  I will try to get to this by the weekend.
> 
> Thanks! :-)
> 
> Regarding the "Space between value and currency symbol" bit errors:
> I checked my statement about a space between value and the € sign.
> Various Internet sources, e.g.,
> ,
> ,
> , tell,
> that there should be a space between.
> 
> *** From publications.europa.eu: ***
> Das Symbol € steht hinter dem Betrag und ist von diesem durch einen
> Zwischenraum getrennt:
> 
> ein Betrag von 30 €
> 
> Anmerkung:
> Im Englischen, Irischen, Maltesischen und im Niederländischen steht der
> Code vor dem Betrag:
> 
> an amount of €30 (ohne Zwischenraum)
> ***
> 
> "the amount is followed by a hard space and the euro sign" (except
> English, Dutch, Irish, and Maltese)
> 
> I've attached an updated diff file for German.

Did my changes make it to the repo meanwhile?

I don't see at
,
but maybe it's the wrong URL?

Cheers,
Robert
-- 
  +++ BTTR Software +++
 Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/


___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] Codepage and time separator data errors in COUNTRY.SYS

2020-01-24 Thread Robert Riebisch
Hi perditi...@gmail.com,

> Thank you.  I will try to get to this by the weekend.

Thanks! :-)

Regarding the "Space between value and currency symbol" bit errors:
I checked my statement about a space between value and the € sign.
Various Internet sources, e.g.,
,
,
, tell,
that there should be a space between.

*** From publications.europa.eu: ***
Das Symbol € steht hinter dem Betrag und ist von diesem durch einen
Zwischenraum getrennt:

ein Betrag von 30 €

Anmerkung:
Im Englischen, Irischen, Maltesischen und im Niederländischen steht der
Code vor dem Betrag:

an amount of €30 (ohne Zwischenraum)
***

"the amount is followed by a hard space and the euro sign" (except
English, Dutch, Irish, and Maltese)

I've attached an updated diff file for German.

Cheers,
Robert
-- 
  +++ BTTR Software +++
 Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/
--- COUNTRY-orig.ASMSun Jun 26 21:05:00 2011
+++ COUNTRY.ASM Fri Jan 24 15:32:37 2020
@@ -192,11 +192,11 @@ __pl_858 dw 12, 48,858,0,0
 dd _pl_858
 __de_858 dw 12, 49,858,0,0
 dd _de_858
 __de_850 dw 12, 49,850,0,0
 dd _de_850
-__de_437 dw 12, 49,858,0,0
+__de_437 dw 12, 49,437,0,0
 dd _de_437
 __ar_858 dw 12, 54,858,0,0
 dd _ar_858
 __ar_850 dw 12, 54,850,0,0
 dd _ar_850
@@ -3088,13 +3088,13 @@ no_865 cnf  47,865,DMY,"K","r",  0,0,0,"
 no_850 cnf  47,850,DMY,"K","r", 0,0,0,".",",",".",":",2,2,_24; Norway
 no_858 cnf  47,858,DMY,"K","r", 0,0,0,".",",",".",":",2,2,_24; Norway
 pl_852 cnf  48,852,YMD,"Z",88h, 0,0,0,".",",","-",":",0,2,_24; Poland  
 Michal
 pl_850 cnf  48,850,YMD,"P","L","N",0,0,".",",","-",":",0,2,_24; Poland
 pl_858 cnf  48,858,YMD,"P","L","N",0,0,".",",","-",":",0,2,_24; Poland
-de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany
Tom
-de_858 cnf  49,850,DMY,0D5h,   0,0,0,0,".",",",".",".",1,2,_24; Germany
-de_437 cnf  49,437,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany
+de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",":",3,2,_24; Germany
Tom
+de_858 cnf  49,850,DMY,0D5h,   0,0,0,0,".",",",".",":",3,2,_24; Germany
+de_437 cnf  49,437,DMY,"E","U","R",0,0,".",",",".",":",3,2,_24; Germany
 ar_850 cnf  54,850,DMY,"$",0,0,0,0,".",",","/",".",0,2,_24; Argentina
 ar_858 cnf  54,858,DMY,"$",0,0,0,0,".",",","/",".",0,2,_24; Argentina
 ar_437 cnf  54,437,DMY,"$",0,0,0,0,".",",","/",".",0,2,_24; Argentina
 br_850 cnf  55,850,DMY,"C","r","$",0,0,".",",","/",":",2,2,_24; Brazil
 br_858 cnf  55,858,DMY,"C","r","$",0,0,".",",","/",":",2,2,_24; Brazil
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] Codepage and time separator data errors in COUNTRY.SYS

2020-01-23 Thread Robert Riebisch
Hi

for Germany COUNTRY.SYS reports "." (dot) for the time separator, when
it should be ":" (colon).

I noticed the error in FD 1.3 RC2 and FD 1.2, when using:

!COUNTRY=049,,C:\FDOS\BIN\COUNTRY.SYS

in FDCONFIG.SYS.

I didn't test FD 1.1.

FD 1.0 behaves differently: Although it reports 001 for the current
country code (BX on return from AX=3800h, int21h), the time separator is
correct.

I tracked the error down to:

Bad data:
de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany
Tom
de_858 cnf  49,850,DMY,0D5h,   0,0,0,0,".",",",".",".",1,2,_24; Germany
de_437 cnf  49,437,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany

Good data:
de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",":",1,2,_24; Germany
Tom
de_858 cnf  49,858,DMY,0D5h,   0,0,0,0,".",",",".",":",1,2,_24; Germany
de_437 cnf  49,437,DMY,"E","U","R",0,0,".",",",".",":",1,2,_24; Germany

In HELP -> "country" (not "country.sys") it is stated correctly as ":".

If you don't patch 850 to 858 COUNTRY.SYS doesn't load with:

!COUNTRY=049,858,C:\FDOS\BIN\COUNTRY.SYS

because 49 858 are no valid combination.

This is how I patched current COUNTRY.SYS to make it work:
3984: 2E 3A
3995: 52 5A
39A4: 2E 3A
39C4: 2E 3A


And I think, for Austria the time separator should also be ":". (see
lines 3075-3077 of COUNTRY.ASM)

***

I just found a second data error.
If you use:

!COUNTRY=049,437,C:\FDOS\BIN\COUNTRY.SYS

loading COUNTRY.SYS aborts with error "could not find country info for
country ID 49".

I fixed this by patching:
041B: 5A B5
041C: 03 01

***

A third data error is regarding the "Space between value and currency
symbol" bit. It is reported as NO for codepage 437 and codepage 850. It
should be YES, because the symbol is "EUR" then.
For codepage 858 symbol is "€", so NO is correct here.

I fixed this by patching:
3986: 01 03
39C6: 01 03

***

Fourth error (?)
German MS-DOS 6.22 and Windows XP SP3 report ";" as the data-list separator.

I didn't find, where this is defined. So no patch from me.


As this mail and patch list got (and took) longer than expected, I'm
attaching a diff file.

Maybe someone with access to the kernel sources can integrate this fix.
Thanks in advance!

***

By the way:
To study the error and practice DOS programming I wrote a little tool to
show country information as reported by AX=3800h/INT 21h in some
"obscure" Pascal dialect from Japan called Cabezon.
The EXE file is currently available at
.
I can provide source code too, if anyone is interested, but may be
currently of little use, because it depends on my expanded run-time
library for Cabezon, which is still pre-beta code.

Output will be similar to:
#
Country code   : 49
Date format: 0001h (dd mm yy)
Time format: 01h (Bit 0: 24-hour clock = YES)
Thousands separator: .
Decimal separator  : ,
Date separator : .
Time separator : :
Data-list separator: ,
Currency symbol: EUR
Currency format: 01h (Bit 0: Currency symbol follows value = YES
  Bit 1: Space between value and currency symbol
= NO
  Bit 2: Currency symbol replaces decimal point
= NO)
Currency precision : 2
Case map routine   : 00D8:11EF
#

Cheers,
Robert
-- 
  +++ BTTR Software +++
 Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/
--- COUNTRY-orig.ASMSun Jun 26 21:05:00 2011
+++ COUNTRY.ASM Thu Jan 23 20:04:53 2020
@@ -192,11 +192,11 @@ __pl_858 dw 12, 48,858,0,0
 dd _pl_858
 __de_858 dw 12, 49,858,0,0
 dd _de_858
 __de_850 dw 12, 49,850,0,0
 dd _de_850
-__de_437 dw 12, 49,858,0,0
+__de_437 dw 12, 49,437,0,0
 dd _de_437
 __ar_858 dw 12, 54,858,0,0
 dd _ar_858
 __ar_850 dw 12, 54,850,0,0
 dd _ar_850
@@ -3088,13 +3088,13 @@ no_865 cnf  47,865,DMY,"K","r",  0,0,0,"
 no_850 cnf  47,850,DMY,"K","r", 0,0,0,".",",",".",":",2,2,_24; Norway
 no_858 cnf  47,858,DMY,"K","r", 0,0,0,".",",",".",":",2,2,_24; Norway
 pl_852 cnf  48,852,YMD,"Z",88h, 0,0,0,".",",","-",":",0,2,_24; Poland  
 Michal
 pl_850 cnf  48,850,YMD,"P","L","N",0,0,".",",","-",":",0,2,_24; Poland
 pl_858 cnf  48,858,YMD,"P","L","N",0,0,".",",","-",":",0,2,_24; Poland
-de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany
Tom
-de_858 cnf  49,850,DMY,0D5h,   0,0,0,0,".",",",".",".",1,2,_24; Germany
-de_437 cnf  49,437,DMY,"E","U","R",0,0,".",",",".",".",1,2,_24; Germany
+de_850 cnf  49,850,DMY,"E","U","R",0,0,".",",",".",":",3,2,_24; Germany
Tom
+de_858 cnf  49,850,DMY,0D5h,   

Re: [Freedos-kernel] Hello again

2009-05-18 Thread Robert Riebisch
Eric Auer wrote:

 Once 2038 is released I plan to continue reviewing any outstanding
 patches  and apply as appropriate.  My top priority is bug fixes -
 repeatable bugs will probably be fixed first :-)  In no particular
 
 True. One bug: MSCLIENT, but only in BASIC (without REDIR loaded)
 produces 1-1-1980 timestamps on the server only with FreeDOS as
 client. It does not happen with FULL config of MSCLIENT though.

Another basic redirector bug:
http://www.bttr-software.de/forum/board_entry.php?id=446#p1134
(It shows up in MS-DOS 6.22.)

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] please change the default freecom and increasethe kernel version

2006-01-27 Thread Robert Riebisch
Alain wrote:

 Would averyone agree to include it?

I agree. ;-)

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel