DCSAVE v1.1

This program takes as its commandline parameters one or more filenames
(including wildcards) and converts them to comma separated value format
suitable for import to a spreadsheet or database.  The output file may
also be specified on the commandline prefixed by "-O" otherwise STDOUT
is used.

The syntax is:-

DCSAVE  [ -Ooutput ] filename ...

All output is appended to the output file.


The output from this program is a single line per DOSCHK.DBG containing
the following quoted, comma separated, values:-

 1: Operating system ID         eg: MS-DOS v5.0
 2: BIOS copyright string       eg: (C) 1988-1991 Tandon Corporation
 3: BIOS version date           eg: 11/18/91
 4: Processor ID                eg: 80386SX
 5: PS/2 flag                   P = PS/2, A = not PS/2
 6: Machine ID bytes            eg: fc,1,0 (Model,Submodel,Revision)

The following dates are all in ISO 8601 format, ie: ccyy-mm-dd

Readings taken direct from the battery backed CMOS RAM

 7: CMOS date 1                 At start of run
 8: CMOS date 2                 Just before midnight
 9: CMOS date 3                 Just after midnight

10: CMOS time 1
11: CMOS time 2
12: CMOS time 3


Readings taken by calling the relevant BIOS functions

13: BIOS date 1                 At start of run
14: BIOS date 2                 Just before midnight
15: BIOS date 3                 Just after midnight

16: BIOS time 1
17: BIOS time 2
18: BIOS time 3


Readings taken by calling the relevant DOS functions

19: DOS date 1                  At start of run
20: DOS date 2                  Just before midnight
21: DOS date 3                  Just after midnight

22: DOS time 1
23: DOS time 2
24: DOS time 3

25: ExitStatus                  The DOSCHK result code. NB This is NOT
                                a quoted string - just a single digit.
                                0 = Fully compliant,  1 = RTC wrong
                                2 = BIOS & RTC wrong, 3 = 1999 returned
                                4 = All dates wrong

26: RTC flag                    "1" = normal RTC,  "0 {addr}" means
                                an external clock card was found at
                                base address <addr>

27: Wait params                 The wait parameters used during the run


The following dates are all in ISO 8601 format, ie: ccyy-mm-dd

28: CMOS date 4                 Before running the leap year test
29: CMOS date 5                 Just before midnight
30: CMOS date 6                 Just after midnight


31: BIOS date 4                 Before running the leap year test
32: BIOS date 5                 Just before midnight
33: BIOS date 6                 Just after midnight


34: DOS  date 4                 Before running the leap year test
35: DOS  date 5                 Just before midnight
36: DOS  date 6                 Just after midnight


37: ProgramVersion              The version string for DOSCHK

38: Machine ID                  The identification string for the
                                machine being tested (if present)

