HDTenEightyP/NetNews huggingface dataset:
From: amead@s.psych.uiuc.edu (Alan Mead)
Subject: Which TEXT mode FONT chars abut? (touch?)
Organization: UIUC Department of Psychology
Date: Mon, 4 Jan 1993 18:40:17 GMT

I redefined some text mode characters.  One is like ASCII 196 (a long
"hyphen" that stretchs the length of the character cell) but is
supposed to occupy only the bottom row of the definition (unlike 196
which, roughly, lies on the middle row).

But one of the end columns won't display--resulting in a dashed, instead
of solid, line when I write a string of these.

I dimly recall that only certain charcters can be defined as line
characters, but I've tried redefining 184, 189, and 190 and none of
them work.

Thnaks for any help.

-alan mead
From: akay@comlab.ox.ac.uk (Andrew Kay)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Midi programming
Date: 4 Jan 93 12:02:13 GMT
Organization: Oxford University Computing Laboratory, UK
Originator: akay@acis.comlab

John.Gibney@f386.n632.z3.fidonet.org (John Gibney) writes:
>Howdy, All!
>
>I'm trying to locate *any* copy of the following book:-
>
>        "C Programming for MIDI", by Jim Conger
>        M&T Books
>
>I've discovered the book has *just* gone out of print
>(Sep-1992).
>

If you are already a competent C programmer, then I don't think
this book is particularly useful. Most of the book is concerned
(as I remember) with how to represent data and how to create
menus to control the program. The explanations of how to talk to
the MPU were not very clear, although you could read through the
supplied code. In particular, no use was made
of interrupts to collect data (all done by polling), or of the
UART mode (completely dumb mode, just like writing to a printer
or reading from a keyboard using I/O ports). If you are just doing
bulk transfers of voice data (ie where timing is not important)
you will probably find UART mode is the simplest.

I got much further with the technical reference manual for the
MPU-401. Actually, it was a little booklet published by Voyetra which
contained the technical reference manual (licensed from Roland I
suppose) as an appendix. The first half of the booklet is a fairly
understandable account of the main features, and also contains some
sample C routines to get you going.

I'm afraid I don't have Voyetra's phone number handy, but I'm sure
you can find them. I got my copy from a UK distributer.


Good Luck

Andrew Kay,             
Sharp Laboratories of Europe Ltd, Edmund Halley Road,
Oxford Science Park, Oxford OX4 4GA, United Kingdom.
Telephone +44-865-273876 or 747711; Fax +44-865-747719 
Email: Andrew.Kay@prg.oxford.ac.uk
From: fredex@fcshome.UUCP (fred smith)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Fortran Grammar...
Date: 9 Jan 93 18:15:52 GMT
Organization: What?!? Absolutely none!
X-Newsreader: TIN [version 1.1 PL8]

Denis Beauregard (beaurega@ireq.hydro.qc.ca) wrote:
: >Do you know of a document that presents the grammar of the Fortran
: >language ? I have the compiler, but no documentation, and I don't know
: >what to do...

: What about buying a legal copy?

Yes. However, some of us have fortran tools such as Bellcore's f2c
fortran to C converter which comes with a nice man page describing the
compiler options, but assumes you already know F77. 

Where can such persons find some documentation on the language?

Fred
From: wright@staff.tc.umn.edu (Mark Wright)
Newsgroups: comp.os.msdos.programmer
Subject: Phar Lap 286-lite problem
Date: 7 Jan 93 00:51:22 GMT
Organization: University of Minnesota

Because of some serious memory problems, I've been fourced to try out that
stupid LITE286 thing that came with Borland 3.1, and I've been having the
following problem.

I have 3 files and a library I need to link together.  The files are
1533	LSTSQRS\LSQ.C
554	LSTSQRS\LSQIO.C
572	LSTSQRS\MATRIX.C
2659	total
where the number is the number of lines in each.  The library is one I've
built using bcc286 and tlib.  When I do a plain old real mode
"bcc -ml lsq.c lsqio.c matrix.c mwl.lib", everything is just hunky-dory.
However, when I try to "bcc286 lsq.c lsqio.c matrix.c mwe.lib", I get a
DGROUP >64K error.  The lite286 docs say that I should adjust the stack size,
but that doesn't help, no matter how small I make the stack.

So what's the problem?  Can I use tlib with protected mode .obj's?  Do I have
to spend $500 to get the real Phar Lap extender, or will I have the same
problem with that?  If I have to buy the sdk, should I go with Phar-Lap?
All I want is to be able to malloc() > 640k worth of long doubles (total, not
necessarily in one block), and not have to make any changes in my existing code,
if possible.  Oh, and it's gotta run under windows (so no DJGPP, sigh...  of
course, I'd have to re-write all the dos/borland specific stuff if I could use
djgpp).


-- 
Mark Wright
wright@epx.cis.umn.edu


-- 
Mark Wright
wright@epx.cis.umn.edu
From: eoq@vthnw.cvm.msu.edu (Edward Quillen)
Newsgroups: comp.os.msdos.programmer
Subject: Setting DOS environment from C program
Date: 12 Jan 93 16:33:26 GMT
Organization: Veterinary Teaching Hospital, Michigan State Univ.
NNTP-Posting-Host: cgpc0008.cvm.msu.edu

I know this has been harped on a million times before but...

I have pretty good code that handles setting the DOS environment but
I noticed it doesn't work when the program is run in the AUTOEXEC.BAT
in DOS 5.0, but it does work with 4DOS.

The code scanes down the memory allocation chain to find the block
owned by command.com.

Could some one send me code that also works in the AUTOEXEC.BAT?
THANKS!!!!!


+++++++++++++++++++++++++++++++++++++++++++++++++
+++ ED (Edward Quillen)   (517) 336-1293      +++
+++ Vet Teaching Hosp.    System Admin.       +++
+++ Email: quillen@cps.msu.edu                +++
+++++++++++++++++++++++++++++++++++++++++++++++++
From: lane@duphy4.physics.drexel.edu
Newsgroups: comp.os.msdos.programmer
Subject: Re: CTask 2.2
Date: 11 Jan 93 18:46:55 GMT
Distribution: all
Organization: Drexel University Physics

In article <1993Jan10.061945.27497@a.cs.okstate.edu>, boggs@a.cs.okstate.edu (BOGGS RICHARD GRAN) writes:
> Has anyone out there done anything with CTask 2.2, the PD multitasking kernel
> for MSDOS?  I guess with Windows NT coming out, you really don't have to mess
> with mutlitasking DOS, but...
>
> Just curious to find out if anyone's used it.  I've successfully compiled it
> under BC++ 3.0, but BC++ 3.1 fails to make it.  I believe the culprit to be
> TASM 3.1 (the C modules compile fine) not expanding macros correctly (or, at
> least not the way TASM 3.0 does!).
>
> Any CTask users out there?

I've messed with it a bit, with the idea of using it in data-acquisition
software.  I've had no problems with it, compiled using microsoft C, but
it's hard to debug your programs when you use it!


--

 Drexel University       \V                     --Chuck Lane
----------------->--------*------------<--------lane@duphy4.hepnet
     (215) 895-1545      / \  Particle Physics  lane@duphy1.bitnet
FAX: (215) 895-5934        /~~~~~~~~~~~         lane@duphy4.physics.drexel.edu
Xref: sparky comp.os.msdos.programmer:11803 alt.sources.wanted:1968 comp.sources.wanted:5550
From: ph12hucg@sbusol.rz.uni-sb.de (Carsten Grammes)
Newsgroups: comp.os.msdos.programmer,alt.sources.wanted,comp.sources.wanted
Subject: Re: text windowing source in C++ for DOS
Date: 5 Jan 1993 11:49:05 GMT
Organization: Universitaet des Saarlandes,Rechenzentrum
NNTP-Posting-Host: sbusol.rz.uni-sb.de

hbj@engr.uark.edu (Bernard Johnson) writes:
> I'm looking for some good freeware/public domain text windowing source code for
> MSDOS that is written in C++.  If you want to send me the name of your favorite
> commercial package also, that is fine, but I'm sure I don't have that much
> money :-)...  Please do not respond with C source, I'm looking only for C++.
> 

The Zortech C/C++ Compiler contains a text-windowing package written
in C++ (including sources). Of course it's commercial...

*********************************************************************
Carsten Grammes			Internet: ph12hucg@rz.uni-sb.de
Experimental Physics		Voicenet: 49-681-302-3032
Universitaet Saarbruecken	Faxnet  : 49-681-302-4316
6600 Saarbruecken
Germany
*********************************************************************
From: jjarrett@csugrad.cs.vt.edu (James Jarrett)
Newsgroups: comp.os.msdos.programmer
Subject: LOADFIX and low-memory EXE loading
Date: 11 Jan 93 13:54:55 GMT
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA

A kind soul gave me a tip on my problem running my program from the DOS
prompt.  He suggested that I use LOADFIX to run my program.  It works, and
that's great, but I'd like some details.

My DOS manual does not mention LOADFIX, so all I have is the HELP LOADFIX
documentation.  How does it work and why is it necessary?

Next, how can I write a program so it doesn't need LOADFIX?  For my current
project, it doesn't matter, since I only have 1 user, and she has DOS 5.0.
My next project, however, is supposed to run on almost any machine.  I 
cannot require LOADFIX, and I would like to be able to circumvent the 
problem inside my program. 

Does anyone have ANY technical information on this problem?  Get as detailed
as necessary to allow me to implement a solution.

Thanks,
Jim Jarrett

PS Again, please respond to jjarrett@csugrad.cs.vt.edu if possible.  It's
easier for me to receive answers this way.
Newsgroups: comp.os.msdos.programmer
From: prom@herbrand.world (Gary Promhouse)
Subject: Multiple Displays
Organization: /u3/thesis/prom/.organization
Distribution: comp
Date: Tue, 5 Jan 1993 06:26:34 GMT


Would anyone be able to direct me to any information on driving two
graphics displays simultaneously from one PC. Thanks

Gary
Newsgroups: comp.os.msdos.programmer
From: quan@sol.surv.utas.edu.au (Stephen Quan)
Subject: Re: Math experts! Need 3D rotation equation
Organization: University of Tasmania, Australia.
Date: Tue, 5 Jan 1993 05:28:27 GMT

paul@ramsey.cs.laurentian.ca (Paul Lalonde) writes:

>I'm working on a small 3D graphics program that takes vector images
>and rotates them about the XY axes.

There are 3 kinds of rotations in 3D :

x-axis rotation :
y' = y*cos(angle) - z*sin(angle)
z' = y*sin(angle) + z*cos(angle)

y-axis rotation :
z' = z*cos(angle) - x*cos(angle)
x' = z*sin(angle) + x*cos(angle)

z-axis rotation :
x' = x*cos(angle) - y*sin(angle)
y' = x*sin(angle) + y*cos(angle)

There is, of course, the more effective matrix representations of the
above, but I didn't think Paul wanted to be bamboozled with all the
matrix-algebra jargon.  Any good computer graphics would describe the
3D theory rotation well.
--
Stephen Quan (quan@sol.surv.utas.edu.au)      Tel : 002 202844 (local)
Research Fellow, Computer Scientist,          Fax : 002 240282 (local)
Centre for Spatial Information Systems,       Tel : 61 02 202844
University of Tasmania, Australia.            Fax : 61 02 240282
From: tsai@Veritas.COM (Cary Tsai)
Newsgroups: comp.os.msdos.programmer
Subject: where I can find the format for the msdos object code
Date: 5 Jan 93 02:51:32 GMT
Organization: VERITAS Software

Hi there:
Does any one out there know where I can find the information about 
the format of the msdos object codes? 

Assume that I want to write the 'link' program for myself, where I can get 
the information about the file format of the object codes generated
by any C++/C/MASM compiler/interpreter. 

Any information would be appreciated.

Cary Y. Tsai		tsai@veritas.com
From: ljm3@ns1.cc.lehigh.edu (JAMES A. MC LENNAN)
Newsgroups: comp.os.msdos.programmer
Subject: Re: where I can find the format for the msdos object code
Date: 5 Jan 93 16:57:05 GMT
Organization: Lehigh University

In article <1993Jan05.025132.13054@Veritas.COM>, tsai@Veritas.COM (Cary Tsai) wr
ites:
>Hi there:
>Does any one out there know where I can find the information about
>the format of the msdos object codes?
>
>Assume that I want to write the 'link' program for myself, where I can get
>the information about the file format of the object codes generated
>by any C++/C/MASM compiler/interpreter.
>
>Any information would be appreciated.
>
>Cary Y. Tsai           tsai@veritas.com
>

Intel publishes a document called "Relocatable object module formats"
-- 
Al McLennan
From: dick.zeitlin%acc1bbs@ssr.com (Dick Zeitlin) 
Newsgroups: comp.os.msdos.programmer
Subject: Null Modem Cable Dilusion
Date: 2 Jan 93 12:20:00 GMT
Distribution: world
Organization: Advanced Computer Concepts BBS, New Rochelle, NY 914-654-1981
Reply-To: dick.zeitlin%acc1bbs@ssr.com (Dick Zeitlin) 

RB> . pins 2 and 3 were cross-connected.
  > . pin 4 on one was connected to (6 *and* 8) on the other, (& vice versa)
  > . pins 5 were connected.
  > . pins 1 7 and 9 were left unnconnected.
  > . Pin 7 is supposed to be signal ground, so to compensate I clipped
  > . a jumper from one metal chasis to the other.

There are many incarnations of null modem cables.  If you want a "max"
async null modem, do the following.

         25 Pin                                   9 Pin
        A       B                               A       B
       ___     ___                             ___     ___
        1       1       Chassis Ground
        2       3       SD  to  RD              2       3
        3       2       RD  to  SD              3       2
        4       5       RTS to  CTS             7       8
        5       4       CTS to  RTS             8       7
        6       8,20    DSR to  CD, DTR         6       1,4
        7       7       Signal Ground           5       5
        8,20    6       CD,DTR to DSR           1,4     6

If you have to choose between using the Signal Ground or Chassis Ground
on the 25 pin cable, use the Signal Ground.  But you should really use
both.

        D/
---
 . QMPro 1.0 41-3345 . Bring back A-N airways!!    Dick.Zeitlin%acc1bbs@ssr.com
                                                                                                                      
Newsgroups: comp.os.msdos.programmer
From: duong@ial4.jsc.nasa.gov (Phong Duong)
Subject: Seeking Text User Interface Library
Followup-To: comp.os.msdos.programmer
Organization: Lockheed Engr. & Science Co.
Date: Thu, 7 Jan 1993 21:29:16 GMT

Hello,

Please no yelling if I've posted to the wrong group.  I am looking for some
good shareware C libraries:

   * a library to help me do data entry, pop-up and pull-down windows,
etc.,
     (mostly user interface stuffs) in VGA text mode.
   * a library for B-tree data manipulation, and
   * a linked-list library

Thanks,

P.S.:  I've heard a bit about the SUIT library -- any comments...?

---------------------------------------------------------------------------
Phong Duong           LESC, Houston, TX       Inet: duong@ial4.jsc.nasa.gov
---------------------------------------------------------------------------
"If Basic is for backward children, and Pascal for naughty schoolboys, then
 C is the language for consenting adults"  -- Brian Kernighan --
---------------------------------------------------------------------------
Newsgroups: comp.os.msdos.programmer
From: sjm@miles.com (Scott Mark)
Subject: Looking for OAK 512K .BGI file for Borland C Graphics
Organization: Miles Inc., Diagnostics Division, Elkhart, IN
Date: Fri, 8 Jan 1993 22:24:08 GMT

Subject says it all:

Does anyone know where I can find .BGI drivers, specifically for the
Oak Technologies cards?

Thanks in advance.

Scott Mark
sjm@miles.com
From: bright@nazgul.UUCP (Walter Bright)
Newsgroups: comp.os.msdos.programmer
Subject: Re: where I can find the format for the msdos object code
Date: 8 Jan 93 18:02:04 GMT
Reply-To: bright@nazgul.UUCP (Walter Bright)
Organization: Zortech, Seattle

In article <1993Jan05.025132.13054@Veritas.COM> tsai@Veritas.COM (Cary Tsai) writes:
/Does any one out there know where I can find the information about 
/the format of the msdos object codes? 

This question comes up so frequently it should be in the FAQ.

I use: "The Microsoft Object Module Format (OMF)" from the Languages
Utilities Group, Microsoft. Printed Nov 22, 1991. I assume you can get
it by calling up Microsoft.

It is based on an earlier Intel Technical Specification 121748-001.

It does not include extensions made by Borland nor extensions made by IBM
for OS/2 2.0.

As far as I have been able to determine, there is no spec for the variant
of COFF used by Microsoft for NT.
Newsgroups: comp.os.msdos.programmer
From: scorpion@phoenix.oulu.fi (Antti Kangas)
Subject: Panning problem,anyone?
Organization: University of Oulu, Finland
X-Newsreader: TIN [version 1.1 PL6]
Date: Sat, 9 Jan 1993 06:09:27 GMT

Hi folks!! I have a problem that has puzzled for some time already.
I've tried to make a program with -among other things- horizontal panning,
but for some reason it doesn't work.. Vertical panning works just fine,but
I haven't succeeded to scroll the screen 1 pixel at a time sideways 
(horizontally) . I've tried to use the register for horizontal panning ,but
it just does nothing... I have the vga.doc manual for addresses etc. but
it still doesn't work.. I must have missed something... 
Funny though , I have a program ,and source, for a program that draws
some moving balls with EGA and pans  the screen both horizontally and verti-
cally but it doesn't work either... Horizontally,that is... strange...

So if anyone can help me , please gimme an email... or answering here
is okay ,too... Thanks in advance!

- Antti

--
*******************************************************************************
* scorpion@phoenix.oulu.fi  *   Antti Kangas       * "The future is not set.  *
*   gigolo@otitsun.oulu.fi  *   Kalliotie 18 a 27  * There's no fate but what *
*   Tel. (358) 81 348364    *   90500 Oulu         *  we make for ourselves." *
*******************************************************************************

	The University of Oulu ,Department of Computer Engineering

Newsgroups: comp.os.msdos.programmer
From: schanck@tron.bwi.wec.com (Christopher Schanck)
Subject: Re: Suggestions wanted: A good programmers editor!
Organization: Westinghouse Electric Corporation, Baltimore MD.
Date: Tue, 12 Jan 1993 15:44:04 GMT

In article <765352d6937177t3@roofus.ann-arbor.mi.us> "Tim Triemstra" <empath@ais.org> writes:
>Welp, I've used 2 different DOS editors on a regular basis.  I don't recall
>seeing a recommended operating system.  But, Bingo3.0 and Qedit 2.1 are both
>very good for DOS.  They both accomplish most of the requirements, except
>qedit doesn't have a comprehensive mouse feature.  It allows you to move
>the cursor with the mouse, but no highlighting.
>
>They both have a C-Mode as well and keybinding setups for multiple editors/
>wordprocessors like emacs and wordstar.

Just to keep everyone informed, the next version of Bingo, v3.10, due
out in 2-3 months, will feature 2048-level undo,
text-recognition/template expansion, and a hypertext help system.


C.R.S. Schanck
70541.3614@compuserve.com
From: gar@garfield.catt.ncsu.edu (Gregory Allen Reid)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Programming in a mouse interface
Date: 7 Jan 93 03:46:02 GMT
Organization: Computer and Technologies Theme Program, NCSU, Raleigh

joe@proto.com (Joe Huffman) writes:

>pdh@netcom.com (Phil Howard ) writes:

>>I notice the int 33h functions mostly deal with a row and column, and I
>>assume this refers to the existing video mode.  Can the mouse drivers
>>handle all the video modes at least through to 1280x1024 in terms of
>>knowing correctly the number of columns and rows?  Or do you HAVE to use
>>functions 7 and 8 to tell the driver?

>Use subfunction 12 and draw the mouse cursor yourself.  I don't know of
>any mouse drivers that know of all the various super VGA modes.

I have done just what Joe Huffman suggests.  I have written my own graphics
library and interfaced with the mouse and drawn my own mouse pointer.
I used functions 7 and 8 to tell the mouse driver how many rows and columns
a certain SVGA mode has and used other functions to check where the mouse
pointer is located.

This ALMOST works.  The problem is that the X coordinate of the mouse pointer
is always an integral multiple of 8.  I don't know whether this is specific
to my mouse and mouse driver (I have a Gateway 486-33 with Microsoft mouse
and driver) or whether this happens with all mice.  My guess is that when
the  mouse driver detects a graphics mode change it doesn't recognize, it 
assumes the characteristics of text mode.  In text mode, all coordinates
are multiplied by eight, resulting in a 640x200 coordinate space (rather
than 80x25).

Has anyone encountered this problem before?  I have thought of a workaround
that should work.  I could use functions 7 and 8 to set the resolution to eight
times what it really is and divide by eight when I read the coordinates.
This is obviously a kludge and might fail if another mouse/driver works
differently.  I would appreciate an explanation and/or a fix for this
behavior from someone who has mastered this problem.

Thanks!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=                  Greg Reid   (gar@catt.ncsu.edu)                  =
=      SnailMail: 2947 Parkhurst Drive, Winston-Salem, NC 27103     =
=      Home Phone: (919)766-9962      Work Phone: (919)983-5132     =
From: tchnd-au@garnet.berkeley.edu (Yuval Oren)
Newsgroups: comp.os.msdos.programmer
Subject: Soft Links under DOS (UNIX ln -s)
Date: 10 Jan 1993 03:04:36 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu


I would like to implement soft links for DOS. I planned to trap the
file open, close, etc. interrupts, and re-direct them to the address
stored in a "link file," which would have one line, the full path of
the real file. But then I thought, how can I open this file to find
out where to go? Any ideas for me?

Yuval
-- 
________________________________________________________________________
|Yuval Oren						               |
|yuval@ocf.berkeley.edu     				               |
| "One spoiled green bird is worth two cooks in the other grass broth."|
From: gcp1815@Msu.oscs.montana.edu
Subject: findfirst() for nested directories
Reply-To: gcp1815@Msu.oscs.montana.edu
Organization: Montana State University
Date: Fri, 8 Jan 1993 22:47:33 GMT

How do I recognize/list the directory headings nested within
some arbitrary direcory? (using Borlandc C++).
	Findfirst() and findnext(), using them as per the 
"topic example" provided by borland, only seems to recognize
filnames. Is there some ffblk.d_name to refer to?

AUW::  

 (annonymous undergraduate worm)
From: STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe)
Newsgroups: comp.os.msdos.programmer
Subject: Write protecting ONE partition of a hd
Date: 5 Jan 1993 14:36:14 -0600
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu

Does anyone out there know of any programs that will write
protect just a partition of a hard drive?  All that I've seen
block and call to device 80h, the first physical drive which
covers all of the partitions.

  Thanks.

   -Dan

Dan Newcombe
stdn@vm.marist.edu                        kk4d@maristb.marist.edu
dnewcomb@cybernet.cse.fau.edu             And others...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Real programmers like vending machine popcorn.  Coders pop it in the
  microwave oven.  Real programmers use the heat given off by the cpu.
  They can tell what job is running just by listening to the rate of popping.

Newsgroups: comp.os.msdos.programmer
From: gay@selkirk.sfu.ca (Ian D. Gay)
Subject: Re: structures >64K
Keywords: struct, huge
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Fri, 8 Jan 1993 17:54:14 GMT

hshulman@magnus.acs.ohio-state.edu (Harvey G Shulman) writes:

>/* in the allocation statement I could not see why you used 20000L.
>   after all 20000 is 20000, isn't it? */

NO! You want to be very sure that the following multiplication is done 
with longs! C does _not_ do 16x16 bit => 32 bit multiplication. Are 
you sure you really allocated as much memory as you thought?



>yycrank = farmalloc(20000 * sizeof(yynew));
Newsgroups: comp.os.msdos.programmer