HDTenEightyP/NetNews huggingface dataset:
From: u8515682@cc.uow.edu.au (Wayne Jefferson Doust)
Subject: Re: MAC 3 1/2" Not really CLV.
Organization: University Of Wollongong
Date: Tue, 28 Jul 92 10:38:08 GMT

George_Lin@mindlink.bc.ca (George Lin) writes:

>2) It's not that you get more on a disk, but the data density is more even.
>        720k IBM,  800k Mac, 880 Amiga (not CLV either)

As far as I was aware the Amiga uses CAV but no sectoring information.
That is how they squeeze out the extra few K.

Wayne
Newsgroups: comp.os.msdos.misc
From: tony@ais.org (Tony Poole)
Subject: MSDos program descriptions.
Followup-To: tony@ais.org 
Organization: University of Michigan Computing Club (UMCC)
Date: Sat, 25 Jul 1992 00:33:41 GMT


I am a non-PC person that has the task of educating non-computer people and
equiping a few 286's and one or two 386's with some useful PD/Shareware
utilities at my place of employment.

I have browsed through a few FTP sites that have PC utils, but have noticed
that they lack a desciptive readme file that I could view prior to FTPing
them to my host.  Are there any sites that have this sort of setup, and if
not, what are my alternatives to getting useful description's without having
to unpack the archives to get a doc file?  I'm not talking about a lengthy
technical document, just something that says "this program is a _____".

Thanks for any help,

Tony


-- 

----------------------------------------------------------------------------
Tony Poole                       tony@umcc.ais.org * tony@irie.ais.org 
Traverse City, MI USA          tony@cherry1.trv.mi.us * tony@cherry1.UUCP
From: ccaajmf@ucl.ac.uk (John Franks)
Newsgroups: comp.os.msdos.misc
Subject: generating a reboot to specified drive
Date: 30 Jul 92 15:54:54 GMT
Followup-To: ccaajmf@ucl.ac.uk
Organization: Bloomsbury Computing Consortium, London

Basically, the title says it all. I was wondering if there existed a DOS
program to reboot the machine to a specified drive. In fact, it's not as
demanding as that; the drive I want to boot to will be the primary partition
of the only hard disk on an IBM PS/2 70. 

Any ideas?

The machines will initially be booting via the TCP-IP BOOTP protocol over the
network so that we can automatically deal with people trashing the HD.

Thanks, John Franks, ccaajmf@ucl.ac.uk
Newsgroups: comp.os.msdos.misc
From: rice@ttd.teradyne.com
Subject: Re: DOS 5.0 FIND command problems.
Organization: Teradyne Inc., Telecommunications Division
Distribution: comp
Date: Tue, 28 Jul 92 13:07:41 GMT

In article <1992Jul24.064150.13975@vax5.cit.cornell.edu>, y55j@vax5.cit.cornell.edu (Mike Duttweiler) writes:
> Since upgrading to DOS 5.0 I have been unable to use the FIND command. Doesn't    
> seem to matter how my system is configured or how I am using FIND.  Anyone know
> what might be going on or if there is a substitute utility?  Thanks.-- 
> Mike Duttweiler
> Internet: y55j@vax5.cornell.edu
> ...from far above Cayuga's waters.

The syntax might have changed, but it should run. I use it regularly on all 4
of my systems running 5.0.

The syntax is "find/i "string" file

the /i makes it case insensitive. If the search object is more than one
word, it needs to be in quotes.


-- 
   John Rice        K9IJ     |  "Did I say that ?" I must have, but It was
                             |   MY opinion only, no one else's...Especially
                             |   Not my Employer's....
   rice@ttd.teradyne.com     |   Purveyor of Miracles,Magic and Sleight-of-hand
Xref: sparky comp.os.msdos.misc:4477 comp.os.msdos.programmer:7993 comp.sys.tandy:1207 comp.windows.ms:17910 comp.windows.ms.programmer:7292
From: lape@cs.utk.edu
Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer,comp.sys.tandy,comp.windows.ms,comp.windows.ms.programmer
Subject: NEED: various printer drivers..
Date: 21 Jul 92 19:36:27 GMT
Organization: UTK
Distribution: world
NNTP-Posting-Host: hydra1e.cs.utk.edu
Originator: lape@hydra1e.cs.utk.edu

	I need information for  Windows  3.1  or DOS drivers for any of the
following printers.  DOS programmes will  include Word Perfect  5.1,
Microsoft Works, and PC-Write.


	Toshiba P321SL
	Apple ImageWriter II
	Tandy - CGP-220
		DMP-130
		DMP-120
		DWP-II
		DWP-410

	Please e-mail any info you may have.  Thanks.


Bryon Lape
-- 
-----------------------------------------------------------------------------
Is your laundry phosphate free?  Help stop global pollution.
-----------------------------------------------------------------------------
From: jim@n5ial.chi.il.us (Jim Graham)
Newsgroups: comp.os.msdos.programmer
Subject: changes to exe (binary) file
Date: 29 Jul 92 12:55:40 GMT
Reply-To: jim@n5ial.chi.il.us
Organization: me?  have you seen my desk?  : -)
Originator: jim@eddie


I've seen lots of programs (usually shareware types) that allow you to
make configuration changes, insert registration info, etc., directly into
the compiled exe file.  that is, instead of having a config file hanging
around, the exe itself is modified to include the new config info.

how would one go about doing this?  btw, the program in question is in
C, and uses Turbo C++ version 1.0.

any info would be appreciated.  oh, if you e-mail, please double-check to
make sure that your newsreader points it to jim@n5ial.chi.il.us (me, at
home....I don't have this group there).  if it gets the actual machine
name HERE, and tries to mail to it, it will most certainly bounce.

thanks,
   --jim

\input std_disclaimer                     % 73 DE N5IAL (/9)
------------------------------------------------------------------------------
"[...] the plural of `mongoose' ought to be `polygoose'." [Jargon file 2.9.10]

INTERNET:  jim@n5ial.chi.il.us  |  grahj@gagme.chi.il.us  |  j.graham@ieee.org
UUCP:  gagme!n5ial!jim@clout.chi.il.us
AMATEUR RADIO:  n5ial@n9hsi (Chicago.IL.US.Earth)
------------------------------------------------------------------------------
Newsgroups: comp.os.msdos.programmer,news.answers
From: messina@netcom.com (Tony Porczyk)
Subject: Re: BC++ - how to read a disk label?
Date: Wed, 22 Jul 92 21:31:40 GMT
Organization: Messina Software

sam4628@zeus.tamu.edu writes:

>Does anyone know how to read the label on a disk from BC++3.1?
>Thanks,

	findfirst("*.*", &ffblk, FA_LABEL);


t.
Newsgroups: comp.os.msdos.programmer
From: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
Subject: LPT timeout trapping?
Reply-To: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
Organization: University of Trondheim, NORWAY
Date: Thu, 30 Jul 92 09:27:57 EDT

Hello.

I'm doing a fprintf (stdprn,...) in program. The only problem is that if the
printer isn't on-line, I get this annoying message on the screen. The message
is annoying because my program is a screen oriented program.

Is there any way to trap this fault so that my program can display the message
(or my own message) on the screen when this happen? I've been looking in the
FAQ, but could not find it.

I'm programming in C (MS 5.1) under DOS 5.0 on a 386/33 if that helps.

Thanks in advance.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+
* I went back to my mother,           * Joern Yngve Dahl-Stamnes           *
* I said, "I'm crazy ma, help me!"    * University of Trondheim            *
* She said, "I know how it feels son, * The Norwegian Institute of Tech.   *
* 'cause it runs in the family."      * Division of Physical Electronics   *
*       - The Who, Quadrophenia       * e-mail: dahls@fhydra.dnet.unit.no  *
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+
Newsgroups: comp.os.msdos.programmer
From: grimlok@hubcap.clemson.edu (Mike Percy)
Subject: Re: Is this a "make" limitation?
Organization: Clemson University
Date: Tue, 21 Jul 1992 19:59:50 GMT

tpradeep@cs.tamu.edu (Pradeep K Tapadiya) writes:

>Given, say, 30 dependent files, my makefile compiles the source files as
>   cl -c a.c
>   cl -c b.c
>   cl -c c.c
>   and so on for all those source files which are out of date.
>Obviously, for each such source file there is an overhead of
>loading and releasing the compiler. A better construct would be
>  cl -c a.c b.c c.c ...
>wherein the compiler is loaded and released just once.

The Borland make has a construct {} that does this.
.c.obj:
   tcc -c {$< }
gives the desired behavior (builds a long command line to execute
multiple compiles with each load of the compiler, splitting them up if
the line would be too long).

Mike Percy             | grimlok@hubcap.clemson.edu  | I don't know about
Sr. Systems Analyst    | mspercy@clemson.clemson.edu | your brain, but mine
Info. Sys. Development | mspercy@clemson.BITNET      | is really...bossy.
Clemson University     | (803) 656-3780              | (Laurie Anderson)
Newsgroups: comp.os.msdos.programmer
From: jrv@truth.uucp (Vanzandt)
Subject: Re: Borland C++ 3.0 scanf()/gets() bug.
Organization: The MITRE Corp., Bedford, Ma.
Date: Fri, 24 Jul 1992 11:31:44 GMT



I believe scanf only reads as much of the input as is needed to satisfy
the format string it has.  The subsequent gets reads the rest of the line
(i.e. the \n).  IMHO neither routine should ever be used.  Instead, use
fgets to read a whole line (with protection against overrunning your
buffer), then sscanf to parse it.

               - Jim Van Zandt <jrv@mbunix.mitre.org>

Newsgroups: comp.os.msdos.programmer
From: shim@magnus.acs.ohio-state.edu (Sam Shim)
Subject: screen saver routines
Organization: The Ohio State University
Date: Wed, 22 Jul 1992 16:16:07 GMT

   I'm planning on incorporating a screen saver into my program.
From what I gather, I'll need to hook onto 2 interrupts, 0x1C and
0x09.  My hook to interrupt 0x1C will increment a counter every
time it is called and if the counter is greater than a certain
amount of time, blank the screen.  My hook to interrupt 0x09 will
unblank the screen and clear the counter if the screen is already
blanked, otherwise it will just clear the counter.  Can someone
tell me if this will work or have any suggestions/improvements?
Thanks!

-Sam-
Xref: sparky comp.os.msdos.programmer:8171 comp.sys.ibm.pc.misc:11008
From: chbl@sbustd.rz.uni-sb.de (Christian Blum)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: Re: Opening files using DOS services
Date: 30 Jul 92 13:07:51 GMT
Organization: Studenten-Mail, Rechenzentrum Universitaet des Saarlandes

Shaul Wallach <F66204@BARILVM.BITNET> writes:
>      Here is a novice's programming question to which I haven't
> been able to find an answer in the books at hand. When you
> create a disk file using functions AH = 3C or 5B, DOS (i.e.
> INT 21H) returns a file handle in AX. However, these functions
> don't require any file-access code in AL. Can I assume that
> the file will be opened for write access, or must I first
> explicitly open the file with function 3D and a file-access
> code in AL and use the handle this function returns, ignoring
> the handle returned by function 3C or 5B?

O dear (:-), of course it is opened for write access! If you tell DOS
that you want to create a file, do you think it's that picky and doesn't
let you write to it?
BTW: have you tried it? That's a good method of getting ahead...

Chris
From: handbook@orion.oac.uci.edu (Handbook)
Subject: Running Turbo C++ on an 8086?
Newsgroups: comp.os.msdos.programmer
Organization: University of California, Irvine
Date: 29 Jul 92 22:15:56 GMT

Dear Abby: 

Please don't flame me if this is an FAQ, I didn't see it asked anywhere.

I was thinking of buying either Turbo C++ or BC++, however, I only
have an 8086 machine.  The system requirements for Turbo C++ 3.1 (I think 
it's 3.1, what ever the latest version is) are at least an AT, with 
1 mb ram.  Is this true?  Even if I just wanted to run ANSI C, do I still
need to have a 286 or faster machine?  (I know, you're probably saying I should
bite the bullet and buy a better machine, but my wife doesn't think so). 


Am I out of luck?  What should I do?

Signed Confused in Southern California.

Anthony Toyofuku
University of California,
Newsgroups: comp.os.msdos.programmer
From: brownp@viper.rtp.dg.com (Peter Brown)
Subject: Re: Borland 3.1 C++ Upgrade??
Date: Tue, 21 Jul 92 14:42:10 GMT
Reply-To: brownp@viper.rtp.dg.com (Peter Brown)
Organization: Data General Corporation, Research Triangle Park, NC

In article <4142@wet.UUCP>, sams@wet.UUCP (Samuel Santiago) writes:
|> In article <63481@hydra.gatech.EDU> combee@prism.gatech.EDU (Ben Combee) writes:
|> >In <1992Jul15.170749.3893@njitgw.njit.edu> tdg1465@hertz.njit.edu (tod gordon cccc) writes:
|> >
|> >I don't know if someone has asked this yet, since I haven't kept up with
|> >this conference, but when I got my Borland C++ 3.1+APP upgrade, they only sent
|> >a user's manual with it - what gives? I spent $15 on postage, which is what
|> >I paid when they shipped ALL the manuals for 3.0, but the thing weighs about
|> >15% of what the total package for 3.0 did. Did anyone get an upgrade with all
|> >the manuals? They must have changed something else besides the editor and
|> >Windows support.
|> 
|> I received the same package.  I called and complained to Borland for what
|> I felt is an excessive charge for a package that weighed lessed than 
|> 3 lbs.  The representative gave me the bulls**t line that the $15 is more
|> of a handling charge than a shipping fee.  I suggest everyone who got the
|> upgrade call and then write to Borland to complain.  I did and hope others
|> will too.  Say NO to ripoffs.
|> 

When did you call?  I called last week sometime, basically to complain about
not getting upgraded manuals, and was told that so many people had complained
about the shipping charge that they (Borland) had decided to give a $5 credit
towards shipping on the next thing you bought.  Not as good as a refund, but
better than nothing.  I'm still a bit miffed about not getting the API though,
especially when they include a nice picture of all the manuals showing the 3.1
number on them and a the windows api.


|> -- 
|> __________________________________________________________________________
|> Sam Santiago                       sams@wet.com
|> San Francisco, CA USA              Wetware Diversions Public Access Unix

-- 
Peter Brown -- Data General Corp. --  email: brownp@stuff.rtp.dg.com
My views, thoughts, opinions and spelling errors are definitely my own!
From: aki@cruzio.santa-cruz.ca.us
Newsgroups: comp.os.msdos.programmer
Subject: Strange 80x86 OPCODE
Keywords: 80x86 Assembler Fun
Date: 28 Jul 92 02:28:43 GMT
Reply-To: aki@cruzio.santa-cruz.ca.us


Doing my thing I hit upon a truly strange op-code:

It's 0F 3D,  i.e. 286+ 2-byte opcode that has 3D as the second
byte.  Problem is,  that I can't find any reference to it anywhere.
It looks like it's either something very new or undocumented.

I considered the possibility of the 0F being a 8088/8086 POP CS,
but the surrounding code excludes this.

Anyone have any idea what that opcode does?

Aki.
-- 
/  Phone: 408-662 9664   Fax: 662 9676  |  "Aki" pronounced: Ah-Key. I know  \ 
\  125 Searidge Ct #D, Aptos, CA 95003  |  what I'm doing most of the time.  /
From: revesz@msc.cornell.edu (Peter Revesz)
Newsgroups: comp.os.msdos.programmer
Subject: Where is slibce.lib ?
Date: 25 Jul 92 15:48:16 GMT
Distribution: comp.os.msdos.programmer
Organization: Cornell-Materials-Science-Center

Hi, netters,

I am using BC 3.1 and my linker complains that it cannot
find slibce.lib (or in large model llibce.lib). I looked
through all the possible places and its just not there.

Is this a library that I have to build? How?

thank you.

<<Peter Revesz>>

revesz@msc.cornell.edu
Newsgroups: comp.os.msdos.programmer,comp.sources.wanted,alt.msdos.programmer
From: lai@seas.gwu.edu (William Y. Lai)
Subject: Wanted: Source to read/interpret DOS structures via INT 13h
Summary: MS-DOS Sources wanted to read/interpret FAT, Root Dir, Boot Sector etc
Originator: lai@seas.gwu.edu
Keywords: DOS Int 13H, FAT, Root, Boot Sector, Partition Table
Organization: George Washington University
Date: Sat, 25 Jul 1992 21:19:28 GMT

I am looking for source code that will read via INT 13h sectors from disks,
and interpret the following MS-DOS disk structres:

Master Boot Record (Partition Tables)
Boot Sector
File Allocation Table (FAT), both FAT12 and FAT16
Directories

If anyone knows of any, please let me know!  Thanks.


Regards,

William Lai


-- 
email: lai@seas.gwu.edu | "I want to do everything.  I want to have everything.
Dept. of Electrical Eng.|  I have a wonderful, wonderful life.  But there's so
George Washington Univ. |  much more out there.  Do I have it all?  Yes.  Do I
Washington, D.C.        |  want more?  Yeah, sure."     -Demi Moore        
Newsgroups: comp.os.msdos.programmer
From: ddl@hook.corp.mot.com (David Lau)
Subject: Re: Where is slibce.lib ?
Organization: MOTOROLA 
Distribution: comp.os.msdos.programmer
Date: 27 Jul 92 17:17:48 GMT

In <1992Jul25.154816.23788@msc.cornell.edu> revesz@msc.cornell.edu (Peter Revesz) writes:

>Hi, netters,

>I am using BC 3.1 and my linker complains that it cannot
>find slibce.lib (or in large model llibce.lib). I looked
>through all the possible places and its just not there.

>Is this a library that I have to build? How?

>thank you.

><<Peter Revesz>>

>revesz@msc.cornell.edu



	If you are using Borland C, try linking with Borland's 
"tlink" instead of Microsoft's "link". 


				David Lau



Newsgroups: comp.os.msdos.programmer
From: cosc16to@menudo.uh.edu (Andy Hakim)
Subject: Re: changes to exe (binary) file
Organization: University of Houston
Date: Thu, 30 Jul 1992 15:20:20 GMT

In article <1992Jul29.125540.7401@hou.amoco.com> jim@n5ial.chi.il.us writes:
>
>I've seen lots of programs (usually shareware types) that allow you to
>make configuration changes, insert registration info, etc., directly into
>the compiled exe file.  that is, instead of having a config file hanging
>around, the exe itself is modified to include the new config info.
>how would one go about doing this?  btw, the program in question is in
>C, and uses Turbo C++ version 1.0.
I had written a shareware program that writes changes directly to the
program file.  Here's how:  create a data structure holding all
information you wish to change ( D in example), this allows all pertinent
data to be stored in one place, and it can easily be read/written to disk.
 
To figure out the offset:  (DEFAULT_OFFSET in example)  compile the
program, then use a program such as LIST to scan for a sequence of
matching bytes ( 100 118 138 )  The HEX DUMP mode of LIST is handy.
Next, go back to your source file, and update the correct offset.
An alternative way to figure out the offset is to use info from .map files.
 
It's very important to keep the variable D initialized in the program
because most compilers by default do not store un-initialized data as part
of the exe (to reduce size).
 
Here are relevant pieces of code from my program:
//------------------------------------------------------------------------
#define DEFAULT_OFFSET 0xAA8A
typedef struct
{
  char nr_factor;
  unsigned minimum;
  unsigned maximum;
  unsigned duration;
  long length;
  char fancy;
  char process;
  char playfile;
  char overwrite;
  unsigned sbport;
  char endpause;
} DEFAULTS;
//.........................................................................
DEFAULTS D =       {100, 118, 138, 3600, 200, YES, YES, 3, NO, 0x220, YES};
DEFAULTS FACTORY = {100, 118, 138, 3600, 200, YES, YES, 3, NO, 0x220, YES};
//.........................................................................
void fsavedefaults(char *program_name)
{
  FILE *fptr;
  if ((fptr = fopen (program_name, "rb+")) != NULL)
  {
    printf ("Saving new defaults to %s\n", program_name);
    fseek (fptr, DEFAULT_OFFSET, SEEK_SET);
    fwrite (&D, sizeof(D), 1, fptr);
  }
else show_error (9, program_name);
  fclose (fptr);
}
//------------------------------------------------------------------------
The program  can be obtained from most ftp sites as nohiss10.zip.  I'd be
happy to provide the full source code via email.  BTW, the complete
path\program_name is stored in argv[0] (i believe you only get the path 
from dos 3.0 or higher but that's good enough)
 
-Andy Hakim
<cosc16to@menudo.uh.edu>
From: phil@cs.utexas.edu (Philip Smolen)
Newsgroups: comp.os.msdos.programmer
Subject: Re: A graphic window in text mode?
Date: 26 Jul 1992 23:35:32 -0500
Organization: U Texas Dept of Computer Sciences, Austin TX
NNTP-Posting-Host: muleshoe.cs.utexas.edu

In article <Bs0w13.HLF@news.cso.uiuc.edu> macg9505@uxa.cso.uiuc.edu (Michael Alan Corn) writes:
>IBM's newest wordprocessor offers a split screen mode which
>provides _both_ WYSIWYG and text mode at the same time.  My
>question is how is this done?  I'd like to bring up a graphic

A standard VGA adapter has a 16 color mode that is more precise that normal
80x25 text mode.  You can make text in graphics mode on a VGA monitor that
looks the same as text in text mode.

					--Phil


Newsgroups: comp.os.msdos.programmer
From: dv@cc-mac.nbn.com (David Vezie)
Subject: Re-entrant Int 21?
Organization: Computer Concepts
Date: Fri, 31 Jul 1992 06:43:44 GMT

I have a very simple question, and need an answer.  Is it possible
to write an interrupt handler for one of the Int 21 interrupts
(in this case, File Open and File Write), such that things
can be made re-entrant?  In other words, can I write the handler
so that it can call a random Pascal unit that may do all kinds
of unknown things?  And if so, how would I go about doing this?

Thanks in advance for any help.
-- 
--
David Vezie dv@sonoma.edu,dv@xnet.ssl.berkeley.edu
Newsgroups: comp.os.msdos.programmer
From: cornet@zen.et.tudelft.nl (Jan-Pieter Cornet)
Subject: Re: Reboot from protected mode
Organization: Delft University of Technology, Dept. of Electrical Engineering
Date: Thu, 30 Jul 1992 11:59:54 GMT

billp@jupiter.cse.utoledo.edu (bill parquet) writes:

>sankey@unixg.ubc.ca (Todd Sankey) writes:
>:  Does anyone have a description or code snippet or anything to
>: describe how to reboot the PC from protected mode?

>Rebooting and kicking the computer out of protected mode are pretty similar.

>To reboot just do:  mov   al,0feh
>		    out   64h, al

>(It seems to be 100% effective on my 286, but it sometimes causes my 486
>to crash). 

Please don't use this kind of reboot. This is known to crash lots and lots
of brands of computers, because the keyboard chip can easily get confused,
resulting in a complete keyboard hang, which remarkably looks like a crash
(sometimes it won't even reset the CPU, sometimes it will, I don't know
exactly what is going on here).

To get out of protected mode on a 386+, simply use the instruction devoted
to that operation, I can't remember it exactly, I thought you could simply
clear MSW bit 0, but you might have to clear CR0 bit 0 too.

On a 286, the fastest way to get out of protected mode is to cause a triple
fault resulting in a shutdown, which (non-buggy ;) external circuitry
converts to a reset almost immediately (the keyboard chip takes quite a
while to perform the reset, that's why the HLT; JMP loop is there, and
that's why this method is faster).

You can cause a triple fault by lowering the IDT limit to 0, and cause
an exception, for example by doing MOV AX,[FFFF].

Of course the last strategy also works on 386+ machines, albeit slower
than the "dedicated" protected mode return on these chips (oh, I forgot,
you also have to put the real mode return adres at 000467, and put
some CMOS word to something, I forgot which exactly. Sorry I can't be
more precise at the moment...)

-- 
-- Jan-Pieter
cornet@duteca.et.tudelft.nl
Newsgroups: comp.os.msdos.programmer