Archive-name: msdos-programmer-faq/diff1 Last-modified: 13 June 1993 As the FAQ list is quite long, I'm posting diffs for those of you who already have copies of the previous issue. If you want the complete list, don't worry: I'm posting it as a separate four-part thread with Subject lines starting "comp.os.msdos.programmer FAQ part". As usual, I've omitted trivial diffs, those involving only formatting and punctuation, and those that show renumbered Qs with no text change. Key: "-" lines were in the previous FAQ list; "+" lines are in this one. +>Last modified: 13 June 1993 ->Last modified: 31 May 1993 Q309. How can I tell if input, output, or stderr has been redirected? +> If you program in Turbo Pascal, you'll want this downloadable +> collection of Turbo Pascal units: +> /pc/ts/tspa32*.zip at garbo +> pd1:tspa32*.zip at Simtel. +> (where the * is 70, 60, 55, 50, or 40 for Turbo Pascal 6.0, 5.5, +> 5.0, or 4.0 respectively.) Source code is not included. Also see +> the downloadable Frequently Asked Questions files by Timo Salmi: +> /pc/ts/tsfaqp12.zip at garbo +> pd1:tafaqp12.zip at Simtel. -> If you program in Turbo Pascal, download the collection of Turbo -> Pascal units: -> /pc/ts/tspa*.zip from garbo -> pd1:tspa*.zip from Simtel. -> (Choose tspa3160.zip, tspa3155.zip, tspa3150.zip, or tspa3140.zip -> for Turbo Pascal 6.0, 5.5, 5.0, or 4.0 respectively.) Source code -> is not included. Also see the information in garbo.uwasa.fi: -> /pc/ts/tsfaq33.zip Frequently Asked Questions, the Turbo Pascal -> section. +>Q407. How can I redirect the output of a batch file? +> (new: 12 June 1993) Assuming the batch file is called batch.bat, to +> send its output (stdout) to another file, just invoke COMMAND.COM as +> a secondary command processor: +> command /c batch parameters_if_any >outfile +> Timo Salmi's notes on this and other batch tricks are downloadable: +> pd1:tsbat43.zip at Simtel +> /pc/ts/tsbat43.zip at garbo. Q601. Which 80x86 CPU is running my program? +> (rev: 13 June 1993) According to an article posted by Michael -> (rev: 18 Apr 1993) According to an article posted by Michael +> According to an article posted by its author, WCPU knows the differences between DX and SX varieties of 386 and 486 chips, and +> can also detect a math coprocessor and a Pentium. It's downloadable +> as pd1:wcpu050.zip at Simtel. -> According to an article posted by its author, wcpu043.zip knows the differences between DX and SX varieties of 386 and 486 chips, and -> can also detect a math coprocessor. It's also in pd1: -> at Simtel. Q608. How can I read or write my PC's CMOS memory? +> (rev: 13 Jun 1993) There are a great many public-domain utilities +> that do this. These are downloadable from Simtel: -> (rev: 2 Feb 1993) There are a great many public-domain utilities -> that do this. These were available for download from Simtel as of -> 23 Jan 1993: +> rom2.zip 15692 900131 Save AT and 386 CMOS data to file and restore +> setup21.zip 18172 880613 Setup program which modifies CMOS RAM +> viewcmos.zip 11068 900225 Display contents of AT CMOS RAM, w/C source +> Downloadable from garbo, /pc/ts/tsutle22.zip contains a CMOS program +> to check and display CMOS memory, but not to write to it. -> rom2.arc 20497 900131 Save AT and 386 CMOS data to file and restore -> setup21.arc 24888 880613 Setup program which modifies CMOS RAM -> viewcmos.arc 15374 900225 Display contents of AT CMOS RAM, w/C source -> At garbo, /pc/ts/tsutle21.zip contains a CMOS program to check and -> display CMOS memory, but not to write to it. Q702. How can I time events with finer resolution than the system clock's 55 ms (about 18 ticks a second)? +> (rev: 13 June 1993) The following files, among others, are +> downloadable from Simtel: -> (rev: 18 Apr 1993) The following files, among others, can be -> downloaded from Simtel: +> atim.zip 4783 881126 Precision program timing for AT -> atim.arc 5946 881126 Precision program timing for AT tctimer.arc 20087 891030 High-res timing of events for Turbo C +> (same as /pc/c/tctimer.zoo at garbo?) Q703. How can I find the error level of the previous program? +> (rev: 13 June 1993) First, which previous program are you talking -> (rev: 18 Apr 1993) First, which previous program are you talking +> G.A.Theall has published source and compiled code to do this; the +> code is downloadable as pd1:errlvl13.zip at Simtel. -> G.A.Theall has published source and compiled code to do this; you -> can download it as -> pd1:errlvl12.zip from Simtel -> /pc/batchutil/errlvl12.zip from garbo. QA01. What are Simtel, garbo, and wustl? +> (rev: 13 Jun 1993) These are three of the most popular archive -> (rev: 17 May 1993) These are three of the most popular archive +> MSDOS Programs at SIMTEL20 and Garbo"; it's downloadable as +> pd1:useful27.zip at Simtel +> /pc/filelist/useful27.zip at garbo -> MSDOS Programs at SIMTEL20 and Garbo"; it's archived as -> pd1:useful26.zip at Simtel -> /pc/filelist/useful26.zip at garbo +> A few words about file names and versions: Many files at the +> archive sites are updated from time to time. I have verified the +> filenames in this FAQ list as follows: +> garbo: from /pc/INDEX as of 10 Jun 1993 +> Simtel: from pd1:simibm.zip as of 1 Jun 1993 -> A few words about file names: Many files at the archive sites are -> updated from time to time. I have verified the filenames in this -> FAQ list as follows: -> garbo: from /pc/INDEX as of 13 Apr 1993 -> Simtel: from pd1:simibm.zip as of 23 Jan 1993 +> or mumble*.zip if your ftp program supports wildcards (most do so). -> or mumble*.zip if your ftp program supports wildcards (and most do). +> I have tried to list both garbo and Simtel directory and file names +> for every file mentioned for downloading. If you see a listing for +> only one of them, it means that I couldn't find the file at the +> other site, or that the other site's catalog shows an old version. +> A comprehensive list of MS-DOS archive sites is downloadable as +> /pc/pd2/moder25.zip at garbo. -> You can get a comprehensive list of MS-DOS archive sites from garbo -> by downloading file /pc/pd2/moder23.zip. QB03. What's the current version of UNZIP? +> (rev: 13 June 1993) As of April 1993, the administrators of garbo -> (rev: 18 Apr 1993) As of April 1993, the administrators of garbo +> /pub. Also downloadable are these files, in pd1: at +> Simtel and /pc/arcers at garbo (no source code at garbo): -> /pub. Also available at Simtel in directory pd1:, and at -> garbo in /pc/arcers, are: QC02. Are there any good on-line references for PC interrupts? +> (rev: 6 June 1993) The definitive work is Ralf Brown's interrupt -> (rev: 18 Apr 1993) The definitive work is Ralf Brown's interrupt +> inter35a.zip, inter35b.zip, and inter35c.zip. It's downloadable as +> pd1:inter35*.zip from Simtel +> /pc/programming/inter35*.zip from garbo. +> These versions were uploaded in early June 1993; updates are -> inter34a.zip, inter34b.zip, and inter34c.zip. Or download it as -> pd1:inter34*.zip from Simtel -> /pc/programming/inter34*.zip from garbo. -> These versions were uploaded in early April 1993; updates are (end of comp.os.msdos.programmer diffs) -- Stan Brown, Oak Road Systems brown@Ncoast.ORG Can't find FAQ lists? ftp to 'rtfm.mit.edu' and look in /pub/usenet (or email me >>> with valid reply-to address <<< for instructions).