Subj : Re: Dos
To   : Dale Shipp
From : Sean Dennis
Date : Sat Feb 25 2023 14:21:11

-=> Dale Shipp wrote to Sean Dennis <=-

DS> I did know that DOS programs had a drop dead date.  Is it some sort of
DS> cousin to the Y2K problem?  I am using a number of DOS programs on my
DS> WIN10 system using vDOS.  Do you know if those programs should still
DS> work?  Not that it matters a lot to me personally since I will be
DS> pushing to almost 100 by then, if still above ground.

It seems I am wrong (or my memory is faulty which is more likely):

 - Function 2Ah (“Get Date”) offered by INT 21h on DOS returns a
“year”
   field between 1980 and 2099.

 - GetSystemTime() in the Windows WIN32 API returns a value between the
   years 1601 and 30827.

 - FAT timestamps range between January 1, 1980 and December 31, 2107.

 - NTFS timestamps range between January 1, 1601 and May 28, 60056.

 - UNIX and UNIX-like systems traditionally use the number of seconds
   passed since January 1, 1970, stored as a signed 32-bit value, for all
   APIs.  The rollover will not happen before January 19, 2038, when the
   counter jumps back to December 13, 1901 (if the system can handle
   negative values correctly, which isn’t a given). [Most 64-bit *NIX
   systems have a solution for this already.]

However, some DOS programs use a 16-bit signrd integer to hold the date and
that will cause issues.

This webpage does a deep dive into this subject (and if you program and
understand it, it's really interesting): https://tinyurl.com/4k99tutt

MMMMM----- Recipe via Meal-Master (tm) v8.06

     Title: A-Maize-Ing Chowder
Categories: Soups, Low-fat, Lunch
     Yield: 4 Servings

     1 c  Sliced leek or onion
     1 c  Sliced carrot
     1 sm Baking potato cubed
     1 c  Defatted chicken broth
     2 c  Evaporated skim milk
     1 c  Frozen whole kernel corn
     2 tb Chopped parsley
          Salt & pepper to taste

 1. In medium saucepan, combine leek, carrot and potato with chicken
 broth. 2. Cover and simmer 10 minutes or until vegetables are tender.
 3. Puree then add milk and corn. Heat without boiling, to serving
 temperature. 4. Season to taste with salt and pepper. 5. Serve
 sprinkled with parsley.

MMMMM

- Sean

... Don's Axiom: when all else fails, read the instructions.
--- MMail/FreeBSD
* Origin: Outpost BBS * Johnson City, TN (1:18/200)