HDTenEightyP/NetNews huggingface dataset:
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Subject: Text in Graphics Mode
Organization: University of Illinois at Urbana
Date: Tue, 8 Sep 1992 00:02:52 GMT

     I want to put text into my SVGA programs that I'm writing with
     DJGPP, and I'd like to have fonts with 2 or 3 colors per letter
     that hopefully look better than the BIOS fonts.

     I'd like to be able specify:
     -bold
     -italics
     -underline
     -outline color
     -interior color
     -background color (also, clear background capability)

     Does anyone have any code that you would like to post, or somewhere
     that I could find source code, font files, etc to add some nifty
     text to my programs ?? (I already have code for drawing the BIOS
     fonts in one color, so don't post that. )

     Thanks for all help, if you want a copy of this when I finish it (if
     I can get some code!) send me mail, and I'll be glad to give it to you.

-- 
------------------------------------------------------------------------
 John A. Slagel     "My old man used to tell me, before he left this
 j-slagel1@uiuc.edu  shitty world, never chase buses or women- you
                     always get left behind." -The Marlboro Man
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
From: raymond@kronos.arc.nasa.gov (Eric A. Raymond)
Subject: Protected Mode Turbo Pascal
Organization: NASA/ARC Information Sciences Division
Date: Tue, 8 Sep 1992 02:14:20 GMT

Any info on the new ("homebrew") DOS extender for Turbo Pascal
mentioned in the press?

Specific questions:
  - Can one source level debug such programs?
  - Is BGI supported?  If so, is it a direct impelmentation or is there
    simply an interface to some real mode code?
  - What sort of flexibility does it have in terms of interrupt
    handling (real/protected mode).
  - Is there a way to share memory between real/protected mode?
  - Are math exceptions and DOS error handling preserved?

Actually, I have no desire to get the Pascal product, but am trying to
infer what might happen with Borland C++ in the near future (which I
would buy).
Newsgroups: alt.msdos.programmer
From: gmfich@cs.washington.edu (Greg Fichtenholtz)
Subject: SVGA drivers for Borlandc ++
Organization: Computer Science & Engineering, U. of Washington, Seattle
Date: Fri, 11 Sep 92 20:20:12 GMT

     Howdy out there!
Does anyone out there know where I can get SVGA drivers for Borland C/C++
version 3.0 . I am mainly referring to anonymous ftp sites. 
I mean they have everything up to VGA 640x480 16 colors, but they don't have
drivers for 640x480 256 colors (and higher resolutions), so I'd like to know
if they exist. Actually, I heard that there is a driver called something like
Jordan Hargrave (sp?) which works for almost all SVGA cards (TSENG, Trident,
ATI, etc). 
Any help in locating that would be _GREATLY_ appreciated.
						- Greg


-- 
=============================++===================================
Gregory Fichtenholtz         ||          |~~~ |~\ |  | | | |   /| 
gmfich@cs.washington.edu     ||          |    |_/ | /| | | |  /_| 
                             ||          |    |   |/ | |_|_| /  | .
From: drice@ponder.csci.unt.edu (Keith Rice)
Newsgroups: alt.msdos.programmer
Subject: Re: alt 255 ; question
Date: 10 Sep 92 00:22:26 GMT
Distribution: usa
Organization: University of North Texas

In <9zsnn8l.mbk@netcom.com> mbk@netcom.com (Miles Kehoe) writes:

>Jon Freivald <jaf@jaflrn.UUCP> writes:

>>garrem@aix.rpi.edu (Matthew Olsen Garretson) writes:

>>> Is this ALT-255 thing a function of DOS or is it built into the keyboard BIOS

>I believe the Alt-255 trick is a keyboard BIOS thing. When the original
>PC came out, you could press Alt and enter any decimal number on the numeric
>keypad and generate the BYTE with that value. If you want a space,
>you enter Alt-032; uppse case A is Alt-065. (BTW, the values had 
>to be 3 digit, I believe)

The values can be entered with one digit.  I just checked.

>Anyway.. Alt-255 is just a special case of using the capability
>of the kb BIOS to enter character codes arbitrarily.

--
D. Keith Rice -- University of North Texas -- drice@ponder.csci.unt.edu
-----------------------------------------------------------------------
(new .sig construction delayed due to union contract disputes)
From: Mischa_Sandberg@mindlink.bc.ca (Mischa Sandberg)
Newsgroups: alt.msdos.programmer
Subject: Re: Linking Microsoft library with Borland
Date: 6 Sep 92 12:30:36 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

One of the problems with linking OBJ's from MS-C with Borland is,
they implement different certain low-level operations differently,
and have different assumptions about the CRTS initialization.
You can do it, but you have to extract the ASM routines from the
MS library for such things as long-by-long multiply and shift, AND
hand-code the run-time start-up routine to initialize the 8087 flag,
as both of them see it, etc. But you'll be able to figure out what
exactly you need in the same way I did: keep on extracting and
rewriting until there are no more unresolved externals for TLINK.
No pain, no gain. Perhaps I was lucky, but at least there were no
direct conflicts between the two CRTS's and namesets. Be prepared
to patch the symbol table of some of the MS .OBJ's, though, and
better make it into an automated routine, because you'll probably
be doing it more than once :-).

--
Mischa Sandberg ... Mischa_Sandberg@mindlink.bc.ca
                 or uunet!van-bc!rsoft!mindlink!Mischa_Sandberg
*-*-*-*-*-*-*-*-*-*-*
Engineers think equations are an approximation of reality.
Physicists think reality is an approximation of the equations.
Mathematicians never make the connection.
Newsgroups: alt.msdos.programmer
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Subject: Re: Control C and Break
Originator: dspascha@c00082-100lez.eos.ncsu.edu
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Date: Sun, 13 Sep 1992 02:37:14 GMT


In article <1992Sep12.221805.18053@news.clarkson.edu>, AAron@sun.soe.clarkson.edu (AAron nAAs) writes:
|> 
|> From article <BuG1F8.G6o@mentor.cc.purdue.edu>, by piskacrj@mentor.cc.purdue.edu (Bob Piskac):
|> > How do you trap a Control Break or Control C in MS C V7.0.  I can
|> > stop it from interupting the program, but I get a ^C on the screen.
|> > 
|> > Thanks,
|> > 
|> > piskacrj@mentor.cc.purdue.edu
|> We wrote a program with a TUI, and had a Ctrl-C handler that did nothing.
|> We encountered your problem of the ^C on the screen, and our quick and
|> dirty solution was to redirect stdout in initialization.  Since we did
|> special screen writes it wasn't a problem.
|> 
|> AAron nAAs
|> Eclat Technologies, Inc.
|> 

Hi.  You might want to try using console I/O rather than stdio I/O, because the
console routines get characters from the ROM-BIOS rather than from DOS, and the
BIOS doesn't write ^C's to the screen like DOS does.  However, you still might
want to trap INT 1Bh (the BIOS Ctrl-Break trap) so DOS won't see it when you
try to write a file or something.

Tschuess,
David Paschal
Newsgroups: alt.msdos.programmer
From: jtklehto@phoenix.oulu.fi (Janne Kukonlehto)
Subject: Re: alt 255 ; question
Organization: University of Oulu, Finland
X-Newsreader: Tin 1.1 PL4
Date: Tue, 15 Sep 1992 06:16:10 GMT

garrem@aix.rpi.edu (Matthew Olsen Garretson) writes:
> Is this ALT-255 thing a function of DOS or is it built into the keyboard BIOS?
> 
> If the former is the case, it doesn't work with DOS 5 + 4DOS 4 + ansi.sys .
> 
> If the latter is the case, it doesn't work with my chips.
> 
> No big deal, but I'm just curious....
> -- 
> Matt Garretson                       :-)                          garrem@rpi.edu


4DOS uses ALT-255 thing as a escape key for entering normally non-printable
characters ( eg. ctrl-a ... ctrl-z ). To get ALT-255 itself you should type
it twice or modify settings in 4DOS.INI file.

- Janne Kukonlehto		jtklehto@phoenix.oulu.fi
From: kenc@sol.acs.unt.edu (Ken Corey - Operator)
Newsgroups: alt.msdos.programmer
Subject: sources/binaries for the old ASCII-arcade games for XT-class machines?
Date: 14 Sep 92 23:24:36 GMT
Organization: University of North Texas

Anyone got a line on older games for limited machines like a Zenith
Minisport?  It'd be great to find a few games aimed at machines like this.

-Ken
Newsgroups: alt.msdos.programmer
From: dernis@binah.cc.brandeis.edu
Subject: Re: Changing of VGA's 16x9 FONT
Reply-To: dernis@binah.cc.brandeis.edu
Organization: Brandeis University
Date: Mon, 14 Sep 1992 20:20:39 GMT

In article <1992Sep14.073119.10764@Informatik.TU-Muenchen.DE>, lorenzc@Informatik.TU-Muenchen.DE (Christoph Lorenz) writes:
>
>Does antbody know, how to change the VGA 16x9 Font ??
>
>I've got several articles at home, where you can change VGA-Fonts, but they all
>can only change 16x8 Fonts, so that there's always an empty colunm at the right
>side of the characters.
>I need such a routine for a Turbo-Pascal-Programm to create special
>(Semi-graphic)-fonts but therefore I have to change all 9 columns.

As I understand it there are two modes, one that is 16x8 and the other
16x9 but each character or a group of characters can be switched into
the mode at a time. i.e. 16x9 and 16x8 can be mixed, as in the standard
ROM font. 

In the 16x9 the nineth bit is always the same as the eighth, so that is
half your problem.

The other half is more trickey, I have the Tech manual at home, but it
is not very enjoyable reading, i.e. you have to flip back and forth and
piece together the information from half the manual to something 10
pages away and it is not even well cross-referenced.  I solved that
problem by using the graphic characters of the ROM fonts when I needed
16x9 characters.  That is the easy way, if you don't need the standard
graphics characters.  If that does not give you enough flexability, I
hope someone else answers your questions.

If you get a better solution please send it to me.  If you don't, write
back and I'll try and read the manual one evening.

I hope that helps,
Mitch Dernis
From: exuptr@exu.ericsson.se (exuptr@exu.ericsson.se)
Newsgroups: alt.msdos.programmer
Subject: **** HARD DISK QUESTION ****
Date: 14 Sep 92 16:24:06 GMT
Organization: Ericsson Network Systems, Inc.

Here's an odd one:

I have an 80 Meg Connor (sez type 27) drive.  I forget the model number, 
but it's an IDE 1" height drive.

I've determined that the geometry works as 833 x 6 x 33.  At least I get 
no errors when I use these settings.

The problem comes when I run FDISK.  I make a partition, exit FDISK, and
try to FORMAT the drive.  "Invalid drive specification".  Go back in with
FDISK, enter "4" (display partition info), and there is no partition.
Can do it as many times as I like, but the partition does not stay.  No error
messages from FDISK.  I tried using Disk Manager to partition it also.  
Basically the same thing happened.  I used DM to Verify the surface (not
initialize), and it came out 100% ok.  No errors.

Anyone know what's going on?  Also, the PC is a 286/20 with AMI BIOS dated 
about 1989.  

Thanks, 
PTR...
---
 ----------------------------------------------------------------------------
    "This must be Thursday.  I never could get the hang of Thursdays"
                                                       - Douglas Adams
  - Patrick Taylor                                       (Arthur Dent)
    Ericsson Network Systems
    exuptr@exu.ericsson.se                       "Don't let the .se fool you"
    or exuptr@ZGNews.Lonestar.Org, exu.exuptr@memo.ericsson.se
Newsgroups: alt.msdos.programmer
From: siebeck@infoac.rmi.de (Wolfgang Siebeck)
Subject: Re: Linking Microsoft library with Borland
Organization: RMI Net INFO.box Systems - Aachen - Hamburg - Wien
Date: Sun, 6 Sep 1992 06:43:41 GMT

furballs@sequent.com (Paul Penrod) writes:

>In article <1992Sep4.125646.5789@unislc.uucp> edge@unislc.uucp (Brian Edginton) writes:

[Wants to use MicroSoft libraries with Borland.]

>Unfortunately, while the .OBJ format is compatible with Borland,
>the libraries are not. I ran into this problem a couple of years
>ago and both Borland and Microsoft place dependancies in their
>library format that do not allow the other's linker to make use of
>it. If some clever person has figured a way around this, or if
>Borland and Microsoft have changed their proprietary habits, I
>would be very interested to know as well.

Just an idea: What about extracting the OBJ's from the library with
the LIB by MicroSoft and creating a new library using TLIB? Anyway, I
tried the PCNFS-Toolkit for MicroSoft C with Borland C 2.0, and it
worked without problems.

Wolfgang
--
siebeck@infoac.rmi.de (Wolfgang Siebeck)

Newsgroups: alt.msdos.programmer,comp.os.ms-windows.programmer.misc
From: bmcilroy@nyx.cs.du.edu (Bernie McIlroy)
Subject: Re: Trapping 386 IO port accesses
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Distribution: na
Date: Wed, 9 Sep 92 02:14:05 GMT

In article <_brnq7_.hill@netcom.com> hill@netcom.com (Tom Hill) writes:
>In article <tgreen.715550500@pv0547.vincent.iastate.edu> tgreen@iastate.
du (Todd Greenfield) writes:
>>In <1992Sep03.153802.688@Schultz.ON.CA> peter@Schultz.ON.CA (Peter Roes
r) writes:
>>
>>>In article <tgreen.715391992@vincent2.iastate.edu> tgreen@iastate.edu
>>(Todd Greenfield) writes:
>>[ original discussion of need to trap access to IO port deleted ]
>>>>
>>>>what about doing this under windows?  I know nothing of windows
>>>>programming,  but wouldn't it be possible to write a windows
>>>>driver (for 386 enh mode of course) to do something like this?
>>
>>>  I have been told that although Windows uses protected mode to do
>>>  memory management( ie. traps when you talk to non-available mem.)
>>>  it does not trap IO references.
>>
>.
>.
>.
>>>  Let's keep the discussion going
>>
>OK,
>
>You can write what is called a virtual device driver, which will allow
>you to trap references to a given port from a DOS session. I'm not sure
>if you can trap references from windows apps. Anybody know what IOPL is
>for 386 Enhanced mode, and what privilege level windows apps run at?
>
>Documentation can be found in the windows DDK. (Which I don't have
>handy, or I'd look it up myself) and in Daniel Norton's Writing
>Device Drivers for Windows.


When you write a VxD that traps a specific IO port, any access to that 
port from _any_ VM (including the system VM (ie: apps under Windows))
will be trapped and execution control will be passed to the VxD.

You can, however, from your VxD, disable trapping at any given time
to allow a specific VM to "own" that IO port.  This can be either
DOS box VMs or the system VM.

Just FYI: for Windows 3.0, applications ran at ring 3 and "special"
drivers ran in ring 1.  For Windows 3.1, both applications and
drivers for Windows run at ring 3.  In both 3.0 and 3.1 the VMM
(virtual machine manager) which includes low-level memory management,
interrupt handling, IO port trapping, and any VxDs that are loaded,
all run in ring 0.


--------------------------------------------------------------------
The above opinions are mine and you can't have them; so there.
From: stern@mble.philips.be
Newsgroups: alt.msdos.programmer
Subject: Theodor A. Kaldis E-mail address ?
Date: 7 Sep 92 11:01:06 MEWT
X-From: stern@mble.philips.be
X-Newsgroups: comp.sys.ibm.pc.wanted
Followup-To: alt.msdos.programmer,comp.sys.ibm.pc.wanted

X-Date: 7 Sep 92 11:00:03 MEWT
X-Organization: MBLE , Brussels, Belgium

Does anybody know if Theodore A. Kaldis is reachable via E-mail ?
He is the author of the fabulous QUUDCD program.

Thanks,

Marc Stern  --  <stern@mble.philips.be>
-- 

--  Marc Stern  <stern@mble.philips.be>
From: at595@cleveland.Freenet.Edu (Garrett Laska)
Newsgroups: alt.msdos.programmer
Subject: QWK, Mail Doors
Date: 9 Sep 92 22:21:28 GMT
Reply-To: at595@cleveland.Freenet.Edu (Garrett Laska)
Organization: Case Western Reserve University, Cleveland, OH (USA)
NNTP-Posting-Host: slc10.ins.cwru.edu


  Can anyone out there shed some light on a dim subject (my brain).. that
being what in the heck the format is of the .ndx files that are produced
by QWK compatible doors... I'm currently stuck on this 1 point, I'm writing a
QWK Mail door and for the life of me can't figure it out... I have misc
docs of the QWK standards, everything else is a piece of cake but here is my
situation:
    The QWK docs say that the numbers in the .ndx files are MSBIN or BasicReal
format, and that I have to convert them to/from a Float format??? why would
they be floating point numbers anyways, a Long int (4 odd million) would seem
sufficient, but anyways, here is a routine I pulled out of the docs..
 
union Converter
{
unsigned char uc[10];
unsigned int  ui[5];
unsigned long ul[2];
float       f[2];
double       d[1];
}
 
float MSBINToIEEE(float f)
{
union Converter t;
int sign, exp;
 
t.f[0] = f;
 
sign = t.uc[2] / 0x80;
exp  = (t.uc[3] - 0x81 + 0x7F) & 0xFF;
 
t.ui[1] = (t.ui[1] & 0x7F) | (exp << 7) | (sign << 15);
return(t.f[0]);
}
 
 
  I have many QWK packets I've pulled off of many boards, and always, the first
.ndx file (the one that pertains to the first message in Message.dat) contains
for the first message 0x82... which is 130 in decimal... if you run that
through the converter you don't get a Byte seek position or a 128byte block
position?? At least that is one common thing... from there on out it seems
erratic as to what the next value will be... Someone told me that they were
Shown 86%, press <SPACE> for more, 'q' to quit, or 'h' for help
not MSBIN numbers and were just Byte seek positions for the Message.dat file
but that doesn't fly.... Anyone out there that knows what I'm talking about??
I appreciate any help!!!
 
 
     Garrett Laska...
             Internet: AT595@cleveland.freenet.edu  Cleve, OH
-- 
	
	      
	     Garrett Laska...  
             Internet: AT595@cleveland.freenet.edu  Cleve, OH 
Newsgroups: alt.msdos.programmer
From: furballs@sequent.com (Paul Penrod)
Subject: Re: MS-BASIC file security possible?
Organization: Sequent Computer Systems Inc.
Date: Wed, 9 Sep 92 07:10:23 GMT

In article <18bn7qINNnet@matt.ksu.ksu.edu> kodiak@matt.ksu.ksu.edu (Bryan D. Nehl) writes:
>In <3302@carroll1.cc.edu> sandberg@carroll1.cc.edu (Brian R. Sandberg) writes:
>>I am writing an application in MS-BASIC V7.1 which uses random access data
>>files.  Here's the problem:  these files contain confidential information.
>>Is there a way to keep people from reading (accessing) these files?
>
>Someone else mentioned encrypting the data before saving it out to
>disk.  This is a pretty good idea.  Another thing that you might want
>to do that is fairly easy is to put at the beginning of the file ascii
>text like the following: Only Authorized Personnel may access this
>data file.^Z the ^Z would be a ctrl-Z.  You could write a similar
>string in the header of your file in binary.  This way if someone
>tried to simply TYPE out the file then all they get is your message.
>DOS will see the ^Z and stop. You might want to throw in a few or a
>LOT of ^G's depending on what your size constraints are and how
>annoying you want to be.
>
>Bryan.
>
>/* === Bryan Nehl ========== kodiak@Kodiakpc.Manhattan.KS.US =========+
>[            USDA-ARS-NPA-WERU          ][ bdn@chepil.weru.ksu.edu    ]
>[     913.532.6233 or 913.532.6495      ][ kodiak@matt.ksu.ksu.edu    ]
>+_______________ ...!rutgers!matt.ksu.ksu.edu!kodiak _______________ */

One other suggestion that would be a little easier to work with is
to use a simple encryption scheme like ANDing or ORing with a
rotating bit pattern and storing your data in this format. This way
you prevent easy access to your data from someone who can
disassemble your work or even snapshot it in memory, since you
decrypt on the fly. Yes, a smart cookie can figure it out in a
matter of time, but it sounds like you want to keep honest people
honest, and this method will keep the overly curious at bay.

Paul

-- 
--------------------------------------------------------------------
            Bureaucracy: noun, plural - Bureaucracies.
         The process of turning energy into solid waste.
---------------------------------------------------------------------
Newsgroups: alt.msdos.programmer
From: norlin@midway.ecn.uoknor.edu (Norman Lin)
Subject: Re: Setting up a project in TC++
Date: Fri, 11 Sep 1992 00:34:52 GMT
Organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA

saidra@prism.CS.ORST.EDU (Raoul Said) writes:


>	I would like to know the best way to set up include files in a project.
>The problem I have is that say I make a module called foo.c which the main.c
>uses.  In main.c I say #include "foo.h" and foo.c is also listed in the project
>file.  But since I also include foo.h within foo.c the compiler says there
>are duplicate declarations!  Am I doing something wrong?  I need the info in
>foo.h for both main.c and foo.c, how do I do this?  Thanks.

It sounds as if you're declaring variables in your header file.  You
probably shouldn't do this; the header file usually needs only contain
such information as #defines, prototypes, and structure tag definitions.
Actual variable declarations in a header file would be (I think) unusual,
and this sounds like the problem you're having.  Declare the variables
in main.c and/or foo.c, not in the header file.

Hope this helps,
Norman
Newsgroups: alt.msdos.programmer
From: furballs@sequent.com (Paul Penrod)
Subject: Re: Linking Microsoft library with Borland
Organization: Sequent Computer Systems Inc.
Date: Sat, 5 Sep 92 17:59:39 GMT

In article <1992Sep4.125646.5789@unislc.uucp> edge@unislc.uucp (Brian Edginton) writes:
>I have picked up a project that is supplied with a
>toolkit that includes a library compiled and lib'd
>for use with Microsoft C 5.x.  I use Borland. Is 
>there a way I can link the library with my .o's
>or do I have to buy Microsoft?
>
>Thanks,
> edge
>
>-- 
>Brian Edginton                | {hpda, sun, uplherc}!unislc!edge
>Unisys                        | unislc!edge@cs.utah.edu
>320 North 2200 West B2E10     | (801) 594-6009 Human (usually)
>Salt Lake City, Utah 84116    | (801) 594-3827 Fax

Unfortunately, while the .OBJ format is compatible with Borland,
the libraries are not. I ran into this problem a couple of years
ago and both Borland and Microsoft place dependancies in their
library format that do not allow the other's linker to make use of
it. If some clever person has figured a way around this, or if
Borland and Microsoft have changed their proprietary habits, I
would be very interested to know as well.

...Paul

-- 
--------------------------------------------------------------------
            Bureaucracy: noun, plural - Bureaucracies.
         The process of turning energy into solid waste.
---------------------------------------------------------------------
Newsgroups: alt.msdos.programmer