-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel reports "Space between value and currency symbol = NO" for Germany #5
Comments
"Space between value and currency symbol = NO" for Germany but should be yes.
"Space between value and currency symbol = NO" for Germany but should be yes.
You should be able to test the relevent kernel from here https://github.com/FDOS/kernel/actions/runs/1641887176 |
I tested both new kernels. This seems to be an old issues, because I also found this problem in FD 1.1 and FD 1.2 kernels. Maybe you can spot it. |
Hi Robert, |
Sure.
|
Here's what I see under dosemu2 using your test program, current git kernel/country.sys, current git freecom and just adding
I'll try the other programs, but I don't see anything wrong there, or did I miss something? |
"current git kernel/country.sys" -> That's the culprit. |
Ahh, shows my lack of DOS knowledge. I'll try again later. Thanks! |
No problem. I also didn't know until 4 days ago, that there's a different way to provide (at least partial) country info. |
BTW your country.exe program, is it open source? If so I'd like to include it (or some version of it if it's not C) into the dosemu2 test suite? |
Theoretically, it is open source... But it is just a little exercise done in an ancient Pascal variant (http://wiki.bttr-software.de/Cabezon/HomePage and https://github.com/cabezon-pascal/Cabezon). |
Any progress, @andrewbird ? |
I'll try to have a look tomorrow. |
In the case that config.sys contains the directive 'COUNTRY=xxx' and no 'country.sys' file is specified, the kernel falls back to searching some internal hardcoded default table. If this is done and an entry is found we need to set the country code. [fixes #FDOS/country#5]
... even if country.sys is not to be loaded. See FDOS/country#5 Note: CountrySpecificInfoSmall struct (and the associated table) does not contain codepage numbers. This seems like an omission, eg COUNTRY=07 doesn't set codepage=866.
In the case that config.sys contains the directive 'COUNTRY=xxx' and no 'country.sys' file is specified, the kernel falls back to searching some internal hardcoded default table. If this is done and an entry is found we need to set the country code. [fixes #FDOS/country#5]
In the case that config.sys contains the directive 'COUNTRY=xxx' and no 'country.sys' file is specified, the kernel falls back to searching some internal hardcoded default table. If this is done and an entry is found we need to set the country code. [fixes FDOS/country#5]
So that's a FreeDOS only thing then, as I tried it on MSDOS 6.22 and DRDOS 7.01 and neither provided the fallback if no country.sys was present? |
I didn't try on other DOS, but I think, you're right. |
Sorry, to bother again, but any news, @andrewbird ? |
Hello @bttrx, |
This is when you use "!COUNTRY=049" in FDCONFIG.SYS, so no COUNTRY.SYS is involved.
But the kernel should report "YES" like in
country/country.asm
Line 3093 in a9b2d3c
So, please change "1 , 2,_TIME_24" in
country/kernel.tb1
Line 71 in a9b2d3c
The text was updated successfully, but these errors were encountered: