VOGONS


First post, by qv90

User metadata
Rank Newbie
Rank
Newbie

This patch enables the Dos interrupt Int 21H function 57h-01h.

DOS programs as Norton Commander were able to compare directories (based on size and last modification time) and then synchronize those directories. To perform this task, you need this interrupt function (which is not yet implemented in DosBox 0.65).

You may download the patch at http://www.qv90.de?sw&F8=1&CI=1&FI=3

Reply 1 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hmm i played with that myself lately as well.
I had a lot of problems with the daylight saving over at my place.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 8, by qv90

User metadata
Rank Newbie
Rank
Newbie

yes yes this was quite hard to track down 😀 to be honest - the solution I provide is developed with Visual C++ on WinXP. I'm not able to check the funcionality on Linux.

Let me know if you encounteres any problem.

Reply 6 of 8, by jal

User metadata
Rank Oldbie
Rank
Oldbie
qv90 wrote:

This patch enables the Dos interrupt Int 21H function 57h-01h.

It would be interesting to combine these with my not officially released patch for local DOSbox date/time (see CMOS clock patch (dates not changing when left overnight)).

JAL

Reply 7 of 8, by qv90

User metadata
Rank Newbie
Rank
Newbie

When loading file timestamp in DosBox (0.65) it is converted using "localtime()" to sync displayed timestamp with XP and taking care on dayligth saving. My patch takes care about it by reconverting time to gmt before updating host file timestamp.

At no point Dosbox date and time functions were used. So I see no overlapping (without checking your code patch). Should both work.