Jump to content
Muxe Inc Forums
Sign in to follow this  
AdminZ

NDN DPMI32 2.30.3829 w32 wrong show week day

Recommended Posts

AdminZ    0

NDN DPMI32 2.30.3829 w32 has bug - wrong show week day: from

1.01.2007 to 4.01.2007 don't show, from 5.01.2007 real day + 2.

Share this post


Link to post
Share on other sites
AdminZ    0

Today, wed, 10.01.2007 for first boot NDN show Tu 10-01-2007. I'm exit from NDN delete NDN.INI and again run NDN result - NDN again don't show week day %)

 

I'm try change memory extenders: MS himem.sys 7.10 (Win98SE), umbpci.sys 3.70, qxhimem.sys 3.5, pure dos. Result don't change. Dos commamd DATE report wed, 10-01-2007. Under WinXP NDN show week day right: We 10-01-2007.

 

My PC: MB chipset SIS 735, CPU Duron 1100.

 

P.S. Excuse me my bad English, I'm speak Russian.

Share this post


Link to post
Share on other sites
Garl    0
P.S. Excuse me my bad English, I'm speak Russian.

 

[ru]

à âû èñïîëüçóåòå ðóññêèé èíòåðôåéñ èëè àíãëèéñêèé?

 

[en]

Do you use russan interface?

Share this post


Link to post
Share on other sites
AdminZ    0

[en]

I'm use both interface EN and RU result equivalented. Today Tu, 11-01-2007 run NDN and see Su 11-01-2007 :blink: this strange weekday in OS MS DOS 7.10 (Win98SE), under WinXP all o'key. My config.sys and autoexec.bat below.

 

[ru]

Ñåãîäíÿ äåíü íåäåëè ïîÿâèëñÿ, íî ïî÷åìó-òî ñòàë ñóááîòîé. Ñòðàííîå îòîáðàæåíèå äàòû ïðîÿâëÿåòñÿ òîëüêî â äîñå, ïîä Õà âñå ðàáîòàåò íîðìàëüíî. Èñïûòàíèÿ ïðîâîäèëèñü ñ ðàçëè÷íûìè ìåíåäæåðàìè ïàìÿòè, ðåçóëüòàò íåèçìåíåí.

 

config.sys

------------

rem device=c:\qemm\dosdata.sys

rem DEVICE=C:\QEMM\QEMM386.SYS RAM ST:F VREGA ARAM=D000-D3FF

rem device=c:\qemm\dos-up.sys @c:\qemm\dos7-up.dat

DOS=HIGH,UMB

FILES=40

STACKS=9,256

LASTDRIVE=Z

device=c:\dos\himem.sys

rem device=c:\dos\umbpci.sys

rem device=c:\qemm\loadhi.sys /r:1 /size=960 c:\dos\lowdma.sys

rem device=c:\dos\qxhimem.sys

rem devicehigh=c:\dos\jemm386.exe

DEVICE=C:\DOS\QCACHE.SYS /F /L

DEVICE=C:\DOS\QCDROM.SYS /D:CDR000 /UF /L

rem install=c:\dos\doslfn.com

rem devicehigh=c:\dos\emm386.exe

rem DEVICE=c:\dos\QEMM386.SYS xms:n ram rom db:0

rem SET LH=c:\dos\LOADHI.COM

rem SET DOSCP=866

rem SET KEYBCODE=RU

rem install=c:\dos\xmsdsk.exe 16384 /y

rem device=c:\dos\srdxms.sys

rem device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)

COUNTRY=007,866,C:\DOS\COUNTRY.SYS

rem Country=007,866,C:\WINDOWS\COMMAND\country.sys

shell=C:\command.com C:\ /P

device=C:\WINDOWS\IFSHLP.SYS

 

autoexec.bat

---------------

set path=c:\wdosx;c:\hx;c:\dos;c:\dos\arc;c:\dos\util;c:\vc;c:\ndn;c:\windows\system

SET TEMP=D:\TEMP

SET TMP=D:\TEMP

set HDPMI=32

set DPMILDR=8

set TZ=CET+2

rem mode con codepage prepare=((866) C:\WINDOWS\COMMAND\ega3.cpi)

rem mode con codepage select=866

rem keyb ru,,C:\WINDOWS\COMMAND\keybrd3.sys

c:\dos\shsucdx.com /d:CDR000

rem c:\hx\hdpmi32.exe

rem c:\hx\hxldr32.exe

vc

Share this post


Link to post
Share on other sites
Garl    0

[en]

ok i test it at home today

 

[ru]

ïðîâåðþ ïîä äîñîì, íî ïîä 98 ñ DPMI âåðñèåé âðîäå âñ¸ íîðìàëüíî

Share this post


Link to post
Share on other sites
Garl    0

hi all

 

confirm: this is NDN or VirtualPascal BUG

 

E:\ndn\source\gauges.pas

line 297

 

if InterfaceData.ClockOpt and ouiDay <> 0 then

begin

GetDate(Y, Mn, D, DayWeek);

 

under DPMI32 DayWeek always = 165

 

 

 

Options - Configuration - Country support...

and set

 

Days of week: 777111222333444555666

 

now run calendar (Ctrl-F12) and test it - under W32 all fine bur under DPMI have no date!!!

 

 

over DPMI32 this is not work

 

 

 

2 AH:

 

if (Length(CountryInfo.DaysOfWeek)<>14) and (Length(CountryInfo.DaysOfWeek)<>21) then

TimeStr:=' '+Copy(GetString(stDaysWeek),1+DayWeek*2,2)+' '+TimeStr else

TimeStr:=' '+Copy(CountryInfo.DaysOfWeek,1+DayWeek*

(Length(CountryInfo.DaysOfWeek) div 7),(Length(CountryInfo.DaysOfWeek) div 7))

+' '+TimeStr;

end else TimeStr:=' '+TimeStr;

if GetDate(Y, Mn, D, DayWeek) return to "DayWeek" value >7 it is bug?

 

good night

 

[ru]

è äåéñòâèòåëüíî, êîñÿê â ñèñòåìíîé ôóíêöèè âîçâðàùàþùåé äåíü íåäåëè...

áóì ôèêñèòü , ñïàñèáî çà áàã ðåïîðò!

Share this post


Link to post
Share on other sites

Hey!

 

I can imagine what it is:

about 1 year ago i changed the GetDate code from pure DOS calls to BIOS/PORT code.

I think there is the problem located.

 

Thank you both,

Stefan / AH

Share this post


Link to post
Share on other sites
AdminZ    0
Hi!

 

Please test this version and tell me if it works:

http://ndn.muxe.com/archives/ndn_d32_wod.rar

 

Btw, "NDN DPMI32 2.30.3829 w32" was not very helpful... :P

 

Bye

Stefan / AH

 

Hi AngelsHolocaust,

 

I test new version NDN 2.30.3866b - weekday show right, thank you. Remember what under DOS NDN crash if check option "Don't check windows". Section Advanced=855 in ndn.ini. I think what NDN in first order must oriented to DOS and Linux so as NDN best shell for this OS. Under XP FAR dominated so as have more plugins and more function. But so want say what NDN have powerful functions but FAR don't have their.

 

Thank you for your work.

Good luck.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×