HDTenEightyP/NetNews huggingface dataset:
From: dandrews@bilver.uucp (Dave Andrews)
Subject: Re: Borland vs. Microsoft
Organization: W. J. Vermillion - Winter Park, FL
Distribution: na
Date: Thu, 21 Jan 1993 04:51:36 GMT

In article <1993Jan18.161312.10592@jarvis.csri.toronto.edu> parki@csri.toronto.edu (Brian Parkinson) writes:
>
>Can anyone give me a pro/con listing of Borland C++ versus Microsoft
>C++ ?

Borland will.  Contact them at:
  Borland International
  1800 Green Hills Road
  P.O. Box 660001
  Scotts Valley, CA  95067

and ask for the document:
  Borland C++ & Application Frameworks 3.0
                   vs.
            Microsoft C/C++ 7.0:
                An Expose'

- David Andrews
  dandrews@bilver.oau.org

Newsgroups: comp.os.msdos.programmer
From: ep104@cus.cam.ac.uk (Elias 'CaveMan' Papavassilopoulos)
Subject: Info about EMM386 and UMBs
Organization: U of Cambridge, England
Date: Mon, 25 Jan 1993 16:57:51 GMT

Does anyone have specs/source code for EMM386.EXE ? I am interested in the
following:

        - device drivers that provide UMBs to DOS
        - switching to protected mode when EMM386.EXE is running

Elias.
ep104@cus.cam.ac.uk

Newsgroups: comp.os.msdos.programmer
From: davidk@teal.csn.org (David Kirkpatrick)
Subject: Need help understanding Borland dev. products
Organization: Colorado SuperNet, Inc.
Distribution: na
Date: Wed, 27 Jan 1993 14:34:27 GMT


Hi All,

I've been using Microsoft's development products in the past (MSC 6.0, 7.0), 
and have never used the Borland C products for any serious development.
Now I've got an opportunity to take over a contracting project that 
requires the Borland tools, and I need some help deciding what to use.

The client does not own any of the development tools, only the source code,
so we're trying to sort out how to build the product.  The previous
programmer was using a product called something like "Turbo C 2.0 
Professional Version", which apparently includes TC 2.0, TASM, and 
VROOMM.

A couple of notes about the code:
The product is heavily overlayed using VROOMM, and uses the "global" keyword
in the ASM files (TASM specific?).  The C code is pretty standard stuff, no
windows or C++.  This is about all I know about the code at this time.

So, I've got two options:
1)   Aquire a copy of these older dev tools (TC 2.0 Prof. Version) from
     somewhere.
2)   Aquire the latest and greatest from Borland and hope that it will
     be compatible enough with the older stuff to generate the same
     executables.

I'd prefer option 2, but not being familiar with the Borland tools, and 
what all the different versions contain (TC, TC++, BC++, Turbo Debugger &
Tools, etc...,) I'm not sure what to purchase.  Any recommendations for 
either option?

Thanks for any help! 
David Kirkpatrick

davidk@csn.org     Southwest Software     Durango CO     (303)-259-5879
Newsgroups: comp.os.msdos.programmer
From: hanke@nessie.cs.id.ethz.ch (Norbert Hanke)
Subject: Re: CTRL-ALT-DEL : how to send from a program ?
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Thu, 21 Jan 1993 15:17:57 GMT

In article <mueller.727602752@fi> mueller@iwf.mabp.ethz.ch (Mueller Beat) writes:
>$dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) writes:
>
>>JMP FFFF:0000 will do the trick.
>
>>_____
>
>>Douglas R. Nebeker              Internet: $dougn@sasb.byu.edu
>
>if want a warm boot, store $1234 in $0040:$0072 and then do the jump.
>for a cold one, store $0000 in the same address and jump then.
>
>zosh

And don't forget to flush your SMARTDRV write cache first.
From: ernie@tartarus.uwa.edu.au (Ernest Ong)
Newsgroups: comp.os.msdos.programmer
Subject: Accessing mem above 1 meg???
Date: 27 Jan 1993 03:40:41 GMT
Organization: The University of Western Australia
NNTP-Posting-Host: tartarus.uwa.edu.au
X-Newsreader: Tin 1.1 PL5


Does anyone know how to access memory above 1 meg on a 386 machine???

without switching to protected mode
ie in real mode & using linear addressing (bypassing MMU).

currently im using this instruction

mov al, gs:[ebx]

ebx = 0x172000  , gs = 0
it hangs the machine...

Help!!!!
Thanks in advance...
Ernest...

Xref: sparky comp.os.msdos.programmer:12473 alt.msdos.programmer:3246
Organization: Penn State University
Date: Tue, 26 Jan 1993 10:05:58 EST
From: <KDW103@psuvm.psu.edu>
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Re: 386/486 Protected Mode Programming. Good books?
 <GAH.93Jan26084220@trcrik.trc.mew.mei.co.jp>

    Does anyone have any source code already typed in that they would be
willing to share with the rest of us?  I want to try programming in protected
mode, but I HATE typing assembly listings out of books.  Anything from books or
your own code if you're willing to share it would be appreciated.

    Thank You,
        Keith (kdw103@psuvm.psu.edu)
Newsgroups: comp.os.msdos.programmer
From: samy@fraser.sfu.ca (Sam Yee)
Subject: Picture displayer/sound player
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 24 Jan 1993 22:44:49 GMT

I need source codes (preferably C or Pascal) for a picture viewer
(.GIF/.TIF/etc.),  and  a  sound (.WAV/.SND/.VOC/etc.) player for
the  PC  speaker.   Please  send  or  tell  me where to ftp them,
through e-mail (I don't read this newsgroup often).  Thanks!

-sam
Newsgroups: comp.os.msdos.programmer
From: fyu@.com (Francis Yu)
Subject: Tracing function call path on Ctrl-C break?
Organization: Oracle Corporation, Redwood Shores, CA
Date: Tue, 26 Jan 1993 21:56:05 GMT
X-Disclaimer: This message was written by an unauthenticated user
              at Oracle Corporation.  The opinions expressed are those
              of the user and not necessarily those of Oracle.

Is there any way to let a C program trace back to the function and the
statement in the source file when a Ctrl-C break occur?  I do not want
to run the program in CodeView.

I know that I can use signal() to trap SIGINT, but how do I retrieve
the line number in the source code and function call path?  If I
compile with CodeView debugging flags, the information must be there.

Please kindly reply to fyu@oracle.com.  Thanks.
Francis H. Yu
Oracle Corporation, 500 Oracle Parkway, Box 659504, Redwood Shores, CA  94065
Email:  fyu@shanghai.oracle.com  Voice:  (415) 506-3129  FAX:  (415) 506-7103
Newsgroups: comp.os.msdos.programmer
From: behrsing@cory.Berkeley.EDU (ROLF HUBERT BEHRSING)
Subject: Extended Memory Allocation
Organization: University of California, at Berkeley
Date: Tue, 26 Jan 1993 10:14:02 GMT

Can someone explain to me how to access memory beyond the 640k
barrier imposed by DOS.  Some documentation that recently crossed
my eyes led me to believe that this s was in fact possible, but my
microsoft C compiler seems to stop short of the 720k I require.
I am running on a 486 based machine with 8 megs and DOS 5, and am
primarily interested in allocating memory for rapid storage of 
image data.

As a newcomer to the PC programming world, any help would be much
appreciated.


Rolf Behrsing
behrsing@cory.berkeley.edu
Newsgroups: comp.os.msdos.programmer
From: spencer@cats.ucsc.edu (Michael Spencer)
Newsgroups: comp.os.msdos.programmer
Subject: Re: tee for DOS?
Date: 24 Jan 1993 18:55:01 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: am.ucsc.edu



esova@magnus.acs.ohio-state.edu (Edward R Sova) writes:

>Where can I get the Unix tee command for DOS?  You can split redirection and
>piping.  like maybe foo | tee > prn >logfile.  Well I'm not sure of the 
>syntax, and I don't care right now, but I think you see what I want.  Where
>is it?  Thanx

Roll your own. Code goes something like this:

while (! feof(stdin))  {
	fgets (str, 255, stdin);
	fputs (str, stderr);		// send to screen
	fputs (str, stdout);		// send whereever directed
	}
fflush (stderr);
fflush (stdout);
close (dup(fileno(stdout)));		// ensure flushing on stdout


-- 

===========================================================================
Michael Spencer            |      2640 Borregas
spencer@cats.ucsc.edu      |      Aptos, CA   95003
===========================================================================
From: cs178waj@sdcc5.ucsd.edu (Christopher Fodor)
Newsgroups: comp.os.msdos.programmer
Subject: Abort, retry, ignore?
Date: 27 Jan 93 22:59:42 GMT
Organization: University of California, San Diego

I have checked the FAQ and not found the answer, so please e-mail
replies and if it belongs (which it may...) I can summarize and
repost and possibly it will get added.

For work I have a script which performs nighlty backups, except 
half the time something happens to the network connection and suddenly
"Network connection to drive X: broken... Abort, Retry, Ignore? "
appears.

Then of course it waits for user input, and I groan when I get there
10 hours later.

I would like it to automatically select Abort without any
intervention.  We can always get that user the next day, but I don't
want it to stop my whole backup.

Please e-mail for me to summarize!

Thank you.

Chris


Any help would be greatly appreciated
From: troberts@guvax.acc.georgetown.edu
Newsgroups: comp.os.msdos.programmer
Subject: multiple mouse cursors on my screen!!
Date: 26 Jan 93 16:01:07 -0500
Distribution: world
Organization: Georgetown University

I'm writing a text-editing program in BC++ to take advantage of the 
extended text modes of my video card.  The windowing structures work 
fine in the normal text modes (80x25, 80x43/50), but when I switch to 
the 132 column x 44 row mode, I get sixteen (16) mouse cursors! 
I move the mouse, and sixteen text cursors float all over the screen, 
leaving "garbage" characters behind them.

I want to make my application self configuring, so that it would adapt 
itself to the text resolution of the system when the program was 
called.  (So that I (or any one else) could set the resolution to the 
desired width and height at the dos command line and call my program.)

Do I need a special video driver to run in extended text mode?  (I 
noticed that the conio.h functions would not show up in the extended 
text mode in some other programs.)  My video card is built into my 
motherboard.  It has a Western Digital chip and 512k video memory.


Looking forward to any response.
Ted Roberts
troberts@guvax.acc.georgetown.edu
Newsgroups: comp.os.msdos.programmer
From: douglas@cs.scarolina.edu (G. David Douglas Jr.)
Subject: Re: Help - DOS commands from program...
Organization: USC  Department of Computer Science
Date: 28 Jan 93 03:08:15 GMT

Hmmm -- trying output redirection with the code I posted seems to
work.  Strange thing is, (this is under a SoftPC PC emulator on
a DECstation here at U.S.C., DOS version 3.3) trying to change
drives doesn't work -- yet it does at home under version 4.01!
It's as if drive/directory information is changed in a more
permanent way under version 4.01 than in version 3.3.  (?????)
I'll have to wait till I get home to check things out
further.  With the exec command you're using, do you give it
the name of the file and the parameters to pass to the utility
(e.g.  exec('C:\COMMAND.COM', '/C CD C:\'); )  or does it
look like  exec('C:\COMMAND.COM /C CD C:\');  ?  I suppose what
I'm getting at is that I don't understand how your version of
exec  is executing C:\COMMAND.COM.

As for output redirection under direct program control, that MAY
be possible (probably is) -- I have a book on MASM (Macro
Assembler) programming by Dan Rollins that lists the various
PC-DOS services available.  That may give a way to redirect
utility output from within a program.  I'll let you know
what I find out.


David Douglas
douglas@usceast.cs.scarolina.edu
From: jrb@Materna.DE (Jeremy Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: COMPLETELY amazed! How is it done?
Date: 21 Jan 93 12:22:40 GMT

amead@s.psych.uiuc.edu (Alan Mead) writes:

>I thought I knew a thing or two about how VGA fonts work on the IBM
>PC...

>Then I happened to invoke a little programmer's tsr while in WordPerfect
>5.1 .  All the letters that the tsr used were strange greek, foreign,
>etc, symbols.  (This is while the prefectly normal charscters show on
>the screen.)

>I know how to change a font, but how do you make more than 256
>different chars appear on the screen?  And why would WordPerfect remap
>the normal a..zA..Z to something else?

>Thanks.  I'll be able to sleep again when I know.

>-alan

Hi All,

One way is to tell the EGA/VGA card that when the intensified attribute
is set it should display the character from the second character set.

  AX = 1103      ; intensified == 2nd character set
  BL = 04
  INT 10

  AX = 1000      ; Enable all planes
  BX = 0712
  INT 10

To disable (ie intensified is really intensified)

  AX = 1000
  BX = 0F12
  INT 10

If you can find a copy "PC Magazine September 16, 1986" had an articule
by Charles Petzold explaining the above techniques.

Hope this helps,

Jeremy

--
Jeremy Brown                      EMAIL: jb@materna.de
Dr Materna GmbH                   Tele : +49 231 5599301
Vosskuhle 37                      Fax  : +49 231 5599100
4600 Dortmund 1  Germany          Home : +49 231 416655
Newsgroups: comp.os.msdos.programmer
From: rudolf@victoria.ub.uit.no (Rudolf Steinkellner jr.)
Subject: Microsoft Programmer's Library
Organization: University library in Tromsoe
Date: Wed, 27 Jan 1993 13:04:58 GMT
Reply-To: rudolf@victoria.ub.uit.no (Rudolf Steinkellner jr.)




Could someone tell me what the newest version of Microsoft Programmer's
Library is? I have a cd-rom with it, but it looks a bit outdated, so I was
wondering if there has come a new version. My version is :
Version 1.4
Volumn 2, Issue 2

Please reply with e-mail since I do not read this news-group regularly.

Rudolf Steinkellner jr.			email: rudolf@ub.uit.no

Newsgroups: comp.os.msdos.programmer
From: despair@netcom.com (Scott Hanson)
Subject: Retrieve login name from Novell within Basic Program?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Wed, 27 Jan 1993 23:54:14 GMT

I need to find the user's login name from the Novell network within a basic
program on a msdos machine.  Any pointers or information welcome.

Regards.
-- 
Scott Hanson		This has been a recording.
despair@netcom.com
From: jmeyers@ecst.csuchico.edu (Jeff Meyers)
Newsgroups: comp.os.msdos.programmer
Subject: Help - DOS commands from program...
Date: 26 Jan 93 23:13:11 GMT
Organization: California State University, Chico
NNTP-Posting-Host: psycho.ecst.csuchico.edu

I have written a simple installation program in Turbo Pascal and am having
trouble executing DOS commands from within this program.

If the user types "a:install" everything works fine.  But, if they log to
the floppy first, then run install ( A:\>install <cr> ) things choke.

Specifically, the destination directory is not created and so the files
are all copied into a file in the root directory.  I use the Turbo Pascal
command exec() to call the following command:

    \command.com /C md C:\DEST

I also had trouble logging drives and changing directories under program
control, but got around that by haveing the install program create the
appropriate batch file, then executing it...

Question: am I missing something? Why don't the DOS commands work the
same as at the command line??


-- 
============================================================================
| Jeff Meyers      |  jmeyers@ecst.csuchico.edu      | 39x43'N  121x48'W   |
| Chico, Ca 95926  |  KD6DIS@KE6LW.#NOCAL.CA.USA.NA  | Grid: CN80-CM99 ??  |
============================================================================
Newsgroups: comp.os.msdos.programmer
From: fox@rei.com (Fuzzy Fox)
Subject: Re: Suggestions wanted: A good programmers
Date: Fri, 22 Jan 1993 16:18:45 GMT
Organization: Recognition Equipment, Inc.

exuhag@exu.ericsson.se (James Hague) writes:

>>QEdit's big weakness is that it doesn't integrate well with
>>compilers or make utilities.

>After having talked with SemWare technical support, I found that
>this most definitely _is_ possible.

Check out the program called QCP in the <MSDOS.QEDIT> directory on
Simtel-20.

-- 
#ifdef TRUE        | Fuzzy Fox (a.k.a. David DeSimone)       fuzzy@netcom.com
#define  TRUE   0  |
#define  FALSE  1  |         "S-O-C-K-S ?   Wow, Spanish *is* easy!!"
#endif             |
Newsgroups: comp.os.msdos.programmer
From: rohrs@bach.helios.nd.edu (matt)
Subject: Lower the priority of an interrupt
Organization: OUC, University of Notre Dame
Distribution: usa
Date: Mon, 25 Jan 1993 20:36:40 GMT

Here is the problem:

I have written an interrupt handler for the clock
interrupt that basically checks to see if a task that requires
lower priority should run.  So, what I would like to do is lower the priority
of the current interrupt to a lower level.  I tried doing this by changing
the mask register in the 8259A, but this didn't seem to do the trick.

I think the problem is that I am doing a non-specific end of interrupt
rather than a specific end of interrupt, or that somethng else must be changed
besides just the mask regsiter...  Any ideas (of working pieces of code)?

Thanks in advance,

-- Matt
  
Newsgroups: comp.os.msdos.programmer
From: phantom@casbah.acns.nwu.edu (James Choi)
Subject: Communication among multiple computers
Organization: Northwestern University, Evanston Illinois.
Date: Mon, 25 Jan 1993 19:33:28 GMT

I am working on a project that is too much for one single computer to
handle.  I am thinking about having multiple 486s to share the computing
load.  The problem is the communication among these computers.  What is the
fastest way that the computers can talk to each other?  Serial is too slow,
parallel port only allows "star" configuration.

Where can I find info on programming ethernet cards?  I would like to send
and receive information directly through the ethernet card the way I do
with serial ports (except a lot faster).

Thank you in advance.

James Choi
From: francis@novavax.UUCP (Francis H. Yu)
Newsgroups: comp.os.msdos.programmer
Subject: Tracing function call path on Ctrl-C break?
Date: 27 Jan 93 00:39:10 GMT
Reply-To: fyu@oracle.com (Francis H. Yu)
Organization: Oracle Corporation

Is there any way to let a C program trace back to the function and the
statement in the source file when a Ctrl-C break occur?  I do not want
to run the program in CodeView.

I know that I can use signal() to trap SIGINT, but how do I retrieve
the line number in the source code and function call path?  If I
compile with CodeView debugging flags, the information must be there.

Please kindly reply to fyu@oracle.com.  Thanks.
-- 
Francis H. Yu
Oracle Corporation, 500 Oracle Parkway, Box 659504, Redwood Shores, CA  94065
Email:  fyu@shanghai.oracle.com  Voice:  (415) 506-3129  FAX:  (415) 506-7103
Newsgroups: comp.os.msdos.programmer
From: h8915726@hkuxb.hku.hk (Chris Lo)
Subject: Intel C CodeBuilder (v1.1A)
Reply-To: h8915726@hkuxa.hku.hk
Organization: University of Hong Kong
X-Newsreader: Tin 1.1 PL4
Date: Sat, 23 Jan 1993 01:28:23 GMT

Hi,

	I've many libraries that built in MSC or BorlandC (without
	source code), is it possible to extract the library and
	use them with Intel 386/486 C code builder? 

	I know it should be possible if I _would_ have the source,
	otherwise the libraries themselves are in 16-bit format.

	Just curious, is it possible?


--
Chris Lo
University of Hong Kong
H8915726@hkuxa.hku.hk
From: sankey@unixg.ubc.ca (Todd Sankey)
Newsgroups: comp.os.msdos.programmer
Subject: Detecting disk change
Date: 27 Jan 93 16:54:23 GMT
Organization: The University of British Columbia
NNTP-Posting-Host: unixg.ubc.ca


  Is there any reliable way to detect if the floppy disk has been
changed short of actually reading it?

-- 
		Todd Sankey
		sankey@unixg.ubc.ca

Newsgroups: comp.os.msdos.programmer
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: tee for DOS?
Organization: University of Vaasa, Finland
Date: Fri, 22 Jan 1993 20:09:36 GMT

In article <1993Jan22.184439.27754@magnus.acs.ohio-state.edu> esova@magnus.acs.ohio-state.edu (Edward R Sova) writes:
>Where can I get the Unix tee command for DOS?  You can split redirection and

Have you checked the contents list
   9906 Nov 12 10:57 garbo.uwasa.fi:/pc/unix/0unix.zip

"If you do not know how to go about getting this material, users are
welcome to email me for the prerecorded garbo.uwasa.fi instructions
(long, circa 29Kb).  North American users are referred to the Garbo
mirror on wuarchive.wustl.edu.  Australian users are referred to the
archie.au mirror.  For the Asian users there is the NCTUCCCA.edu.tw
mirror.  The mirrors may lag occasionally, or might not have all the
files.  If you do not receive my reply within five days, please ask
your own site's system manager to construct a returnable mail path
for you". 

..................................................................
Prof. Timo Salmi      Co-moderator of comp.archives.msdos.announce
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Newsgroups: comp.os.msdos.programmer
From: dedgar@mta.ca
Subject: Problems Compiling with C on Unix
Reply-To: dedgar@mta.ca
Organization: Mount Allison U, Sackville, N.B. Canada 
Date: Tue, 26 Jan 1993 13:31:30 GMT

Hello

I have a question about compliling a ogram I obtained on the net which
is designed to test the quality of a vt100 class terminal emulator.

Basically the program gives the following message when compiling:
26 % cc main.c     
"./header.h", line 37: unknown size     
"./header.h", line 37: unknown size     

the header file it is referring to is:

#ifdef UNIX                                                                     
#include <ctype.h>                                                              
#include <sgtty.h>                                                              
#include <signal.h>                                                             
#include <setjmp.h>                                                             
jmp_buf intrenv;                                                                
struct sgttyb sgttyOrg, sgttyNew;  <***-is is line 37    
char stdioBuf[BUFSIZ];                                                          
int brkrd, reading;                                                             
extern onterm(), onbrk();                                                       
#ifdef SIII                                                                     
#include <fcntl.h>                                                              
#endif                                                                          
#endif          

So could some kind soul please tell an innocent DOS programmer who does not
know unix or c what might be wrong and how to fix it so that he can test his
vt100 telnet program and get on with writing something else. The machine
is an Apple IIci running A/UX - the only unix machine I have access to.

All help gratefully appreciated.

						Dale Edgar
						Cybernetic Control Inc.
						DEDGAR@MTA.CA 
Lines: 13
Date: Thu, 28 Jan 93 15:56:51 MST
Newsgroups: comp.os.msdos.programmer
From: $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS)
Subject: ASSIGN, SUBST, Network, Compressed Drives
Organization: Brigham Young University

Hey all--

Does any one know how to check if a drive is ASSIGNed, SUBSTed, or a 
compressed drive such as those made by Stacker, SuperStor or Double Disk?

I'd appreciate any and all info.

Thanks

_____

Douglas R. Nebeker        Internet: dougn@sasb.byu.edu
From: baker@berlioz.nsc.com (Roman Baker)
Newsgroups: comp.os.msdos.programmer
Subject: EXTENDED memory accesses
Keywords: extended emm386
Date: 27 Jan 93 16:19:02 GMT
Distribution: usa
Organization: National Semiconductor Corporation, Santa Clara

I need to develop a program that will access memory in the 1M-16M memory
range.  I realize that I will probably have to go through a memory
manager (like emm386, QEMM, 386Max) but could someone tell me the
procedure for accessing this memory.  Also, what addresses are going to
show up on the bus if I access C00000?

Thank you,

Roman Baker
National Semiconductor Corp
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer