HDTenEightyP/NetNews huggingface dataset:
From: db3l@ans.net (David Bolen)
Subject: Re: Minor wishlist item: any IBMers out there?
Date: Wed, 7 Oct 1992 17:51:05 GMT
	<1992Oct7.195130.17312@unixg.ubc.ca>
Organization: Advanced Network & Services, Inc. - Elmsford, NY

In article <1992Oct7.195130.17312@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes:

>We weren't talking about the philosophy of DLLs. The point is that for
>*the C library* it would be *very nice* if IBM provided a standard C library
>DLL as part of the OS/2 system.   (...)

I'm still not sure it's a feasible step.  There is normally a lot of
extra stuff in any particular "C library" that may or may not
translate among compilers.  You aren't always aware of it when writing
programs, but it's one of the reasons you can't just link an Microsoft
C object file with a Borland C library, for example.  And if we can't
get normal library files that are interchangeable, what are the odds
of doing it as a DLL?

Then there's the calling convention issue - some of the newer
compilers (or even older ones such as Watcom) do a lot of optimization
of the calling convention of functions unless you explicitly ask for a
standard C calling convention.  Since this can significantly improve
performance, would you be willing to give that up to have a common C
library DLL?  (I'm presuming that different vendors will want to, or
already do, optimize calls differently)

>It would be a small, but good step: smaller EXEs, less memory, greater 
>standardization. Besides, many OSes supply a C library.

Well, that's true - but how many OSes supply a C library that works
with anything other than the compiler that the vendor of the OS sells?
Sure, Sun and IBM for example have shared C libraries that they supply
with the system, but GNU C for example comes with its own library anyway.

--
-- David
--
/-----------------------------------------------------------------------\
 \              David Bolen             \  Internet: db3l@ans.net      /
  |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
 / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
\-----------------------------------------------------------------------/
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: Re: Minor wishlist item:
Date: 8 Oct 92 11:59:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

db3l@ans.net (David Bolen) writes:

RE:  ANSI Standard C library as an OS/2 DLL

 > I'm still not sure it's a feasible step.  There is normally a lot
 > of extra stuff in any particular "C library" that may or may not
 > translate among compilers.  You aren't always aware of it when
 > writing programs, but it's one of the reasons you can't just link
 > an Microsoft C object file with a Borland C library, for example.
 > And if we can't get normal library files that are interchangeable,
 > what are the odds of doing it as a DLL?
 >
 > Then there's the calling convention issue - some of the newer
 > compilers (or even older ones such as Watcom) do a lot of
 > optimization of the calling convention of functions unless you
 > explicitly ask for a standard C calling convention.  Since this can
 > significantly improve performance, would you be willing to give
 > that up to have a common C library DLL?  (I'm presuming that
 > different vendors will want to, or already do, optimize calls
 > differently)

No problem, as the OS/2 API demonstrates.  And the API could easily be
extended to include all ANSI Standard C library functions.  If
necessary, compiler vendors could include a small library to thunk to
the standard system library.  And compilers would still be free to
optimize performance with intrinsic (in-line) functions or with their
owm implementations of performance-sensitive functions.

 > ... how many OSes supply a C library that works with anything other
 > than the compiler that the vendor of the OS sells?  Sure, Sun and
 > IBM for example have shared C libraries that they supply with the
 > system, but GNU C for example comes with its own library anyway.

A poor implementation perhaps?  ;-)

Best regards,
John
                                              
Newsgroups: comp.os.os2.programmer
From: horne@edge1.pfc.mit.edu
Subject: Which CD-ROM drives does OS2 support?
Organization: MIT PLASMA FUSION CENTER
Date: Fri, 16 Oct 1992 18:32:24 GMT

I'm debating buying a CD-rom drive -- primarily to use the
developer's kit from IBM.  I've seen hints that OS2 won't
support many drives.

Which drives are supported?

How do you like YOUR drive?

I've seen prices down to $200 for some drives.

What's the CHEAPEST drive supported by OS2?


(I'll summarize if I learn anything useful.)


				Thanks
						Steve
From: msf@skaro.as.arizona.edu (Michael Fulbright)
Newsgroups: comp.os.os2.programmer
Subject: Beta Release of Sound Blaster Device Driver
Date: 13 Oct 92 07:28:59 GMT
Organization: University of Arizona UNIX Users Group

I am announcing the release of a OS/2 V2.0 device driver for
the Sound Blaster and Sound Blaster Pro. I have a brief description
of the driver posted below. I am looking for people who want to
test the driver for me on their systems. The driver is
available via anonymous ftp on

astro.as.arizona.edu [128.196.176.1]

in the directory /pub/SBOS2. Look for the file sbos2v09.zoo.

In addition to the device driver, i've included a PM based utility
to control the mixer portion of the SB Pro. Additionally, I have
included a multi-threaded version of a unix .MOD player. These
supplemental programs require EMX v0.8e to compile.

michael fulbright
msf@as.arizona.edu


Description follows:
------------------------------------------------------------------------
	  SOUND BLASTER (tm) OS/2 DEVICE DRIVER VERSION 0.9
		Michael Fulbright (msf@as.arizona.edu)


	(SOUND BLASTER is a trademark of Creative Labs, Inc.)




INTRODUCTION
------------

  Currently there is a lack of free SB programming tools under
OS/2.  This package is intended to help rectify this problem by
providing a Sound Blaster device driver for OS/2 V2.0.  The SBOS2
device driver has the following features:

 - Uses the standard file system commands DosOpen, DosRead, DosWrite, 
   and DosClose to sample and playback digitized sounds.

 - (SBPro only) Provides direct access to on board mixer

 - (SBPro only) Stereo playback

 - Double buffered DMA sampling/playback with 64k buffers.

 - Allows development of Sound Blaster software using a high level
   language, such as Cset/2 or GNU GCC.

 - Requires no additional development tools (include files, libraries, etc).
   GNU GCC is all you need.

  The device driver (called SBOS2.SYS in this document) can be built
from the supplied sources using MSC 5.0 or later, and MASM 5.0 and
later. It does not require any special development toolkit or
libraries. The IBM Cset/2 compiler should also work, although this has
not been tested.


REQUIREMENTS
------------

  This driver is intended for OS/2 V2.0, and will not work with earlier
versions of OS/2.  The driver is intended primarily for the SB Pro, but it
will also work with the original SB and the plethera of SB clones. 


WARNING

 As this driver has only been tested on my system, I must warn you to
 use it at your own risk. I believe it is stable and in my experience I
 have yet for it to cause any data loss.


  To build the device driver you will need a Microsoft compiler, or IBM's
Cset/2, as well as Microsoft's MASM compiler (or IBM's equivalent). I
believe it is possible to compile with Borland compilers, but I havent
tried it. I am willing to try to help someone compile the driver under
a Borland compiler.  However, unless you want to change something about
the device driver, the included SBOS2.SYS should be all you need.

------------------------------------------------------------------------
From: bkline@lhc.nlm.nih.gov.nlm.nih.gov (Bob Kline)
Newsgroups: comp.os.os2.programmer
Subject: BCC under OS/2 2.0
Date: 15 Oct 92 04:44:21 GMT
Organization: National Library of Medicine
X-Newsreader: Tin 1.1 PL5

I have heard a rumor that there is a set of patches which tames
Borland's use of extended memory sufficiently that their C/C++
DOS compiler tools will co-exist with OS/2 2.0.  Was I dreaming?
If not, does anyone know where I might find such patches?

Many thanks!

--
/*----------------------------------------------------------------------*/
/* Bob Kline                                      Phoenix Systems, Inc. */
/* bkline@occs.nlm.nih.gov                        voice: (703) 522-0820 */
/*----------------------------------------------------------------------*/
From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
Newsgroups: comp.os.os2.programmer
Subject: Re: OS2 developer's CDs have no TCP/IP 1.2.1
Date: 13 Oct 92 21:32:21 GMT
Article-I.D.: mksol.1992Oct13.213221.2528
Organization: Texas Instruments Inc

In <1992Oct10.182723.27561@midway.uchicago.edu> sip1@ellis.uchicago.edu (Timothy F. Sipples) writes:

>In article <1992Oct10.061941.8605@nuscc.nus.sg> ccewch@nuscc.nus.sg (Wong Chee Heng) writes:
>>[nothing]

>I'm not sure if this was a question, but, yes, the OS/2 PDK CD-ROM
>does have IBM TCP/IP 1.2.1.

I don't suppose it might also have the X stuff on it?  If so, I guess
I'm really going to have to reconsider whether to get a CD drive or
not.

[Does the license really obligate to not using it after Dec 15, or
does it just go 'unsupported' after that date?  Yeah, I know, they'd
be hard pressed to police something like that, but I always was
excessively honest.]

-- 
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
------------------------------------------------------------------------------
Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
Newsgroups: comp.os.os2.programmer
Subject: CORRECTION: Help with GNU C v2.2 and PM
Date: 8 Oct 92 17:55:51 GMT
Article-I.D.: andrew.wepCOb600iV3I83Ahi
Distribution: comp.os.os2.programmer
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.os.os2.programmer: 8-Oct-92 Help with GNU C
v2.2 and PM by Po W. Chiu@iscnvx.lmsc.l 
>    I need help on simple PM programming with GNU C v2.2.  I'm trying create
> a PM window but all that happens is my os2/window changes title screen & icon
> and returns to os2/window.

Your hello.def file should also have the line 

PROTMODE 

in it.  Otherwise, I'm not sure if it'll work at all.

Steve

"If I were a fish, I'd dream of flying"
Newsgroups: comp.os.os2.programmer
From: johns@cs.umr.edu (John Stone)
Subject: VGALIB 0.1 - OS/2 Direct Video Demos/Src release 0.1
Date: Wed, 14 Oct 1992 22:41:01 GMT
Organization: University of Missouri - Rolla
Originator: johns@mcs213f.cs.umr.edu


Hi there!

I'm here to announce that I'm finally ready to give out the first demos of
VGALIB.  VGALIB is an OS/2 direct video library, it uses VioGetPhysBuf()
to write to the physical display buffer.  It runs in 320x200x256 mode, and
has the following primitives so far:  2D line (dumb clipping alg)  
2D Circle (needs to be adjusted for aspect ratio)
Filled Boxes, Putpixel(), getpixel(), fast screen clears.

I have included 4 demos with source (except for wave, which is still being worked on)

With this kit you should be able to write FAST videogames under OS/2 2.0,
all of it is done with fixed point, or integer arithmetic, and it is very quick.
Performance is much better than most DOS based graphics stuff, but the penalty is
that I have spent a lot of time gettting speed, and I don't have very many 
primitives yet, but more will come as I have time.

I have had a provlem uploading it to hobbes though, for some reason the upload
hangs at 66k out of 111k.  I have placed it at wuarchive in the MSDOS_UPLOADS
area.  It is called vgalib.zip

Read the instructions included in the zip file and mail me if you have any more questions.

I'll put it on hobbes as soon as I can get it to upload right...


Later,
        John Stone
        johns@cs.umr.edu
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Inquiry about Beta Sound Support
Date: 9 Oct 92 19:19:56 GMT
Distribution: na
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <msf.718447763@skaro> msf@skaro.as.arizona.edu (Michael Fulbright) writes:
>I have a question for those of you with the beta. I know Win 3.1
>has built in support for sound. I've read that the new beta includes
>this support. My question is this - has sound been integrated into
>the OS/2 environment as well.

No.  That's part of the MultiMedia (MMPM) kit.  I don't know why it's
being sold separately, but it is.
-- 
David Charlap         |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
From: Wey.Jing.HO@f1.n100.z60.wlink.nl (Wey Jing HO)
Newsgroups: comp.os.os2.programmer
Subject: How to use EMX's ar?
Date: Tue, 13 Oct 1992 02:24:32 -0100

Organization: Monash University, Melb., Australia.

I am trying to make a library using EMX port of GCC. Everything was compiled
OK to *.o. Now, what do I have to do to make these *.o into *.a. I've tried
to use "ar r libMyLib.a MyObjs.o" and though I can get the libMyLib.a to be
created, trying to link it with *.o doesn't work. The message says something
like "Module from Text Segments not valid or found" (sorry, can't remember
the exact words .... hold on, I'll run it and see ..)
Here it is, it says:

libMyLib.a(MyObjs.o): Undefined symbol _dgetme_ referenced from text segment.

So, what am I doing wrong?
Thanks for any pointers.

-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Wey Jing Ho    Tel: 61-3-573-2567   E-mail : sci240s@monu6.cc.monash.edu.au<
>Physics Dept., Monash University ( Caulfield Campus ), Melbourne, AUSTRALIA<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
From: mikel@networx.com (Mike Lempriere)
Newsgroups: comp.os.os2.programmer
Subject: Re: Executing a program from within a program
Date: 7 Oct 92 21:46:44 GMT
Article-I.D.: networx.1992Oct7.214644.5253
Organization: NetWorx
X-Newsreader: TIN [version 1.1 PL6]

How about the standard c library system() call?
From: Christopher.Davey@f1.n100.z60.wlink.nl (Christopher Davey)
Newsgroups: comp.os.os2.programmer
Subject: Viruses and OS2
Date: Tue, 13 Oct 1992 10:28:47 -0100

Organization: Quay Financial Software

Is there any virus catching software for OS2 ? At the moment, I am using
the McAfee set of routines, to try and catch the beasties, which seems to 
catch most viruses on the floppy drive, but it doesn't like the hard drive
much ( HPFS ). 

Any thought ? please email them to me here (chris@quay.ie) - a summary will 
be posted. Is there a FAQ on this, if so, where can I pick it up,

Chris


-- 
----WNA----------------------------------------------------------------------
Chris Davey                       Internet:  chris@quay.ie
Quay Financial Software           Phone   :  +353 1 612377  Fax: +353 1 607592
From: hank@ducvax.auburn.edu
Newsgroups: comp.os.os2.programmer
Subject: Re: Bound Executables
Date: 16 Oct 92 00:23:04 GMT
Distribution: all
Organization: Auburn University, AL

In article <jdsmith.32.719168292@novell.com>, jdsmith@novell.com (Doug Smith) writes:
> Is there a way to create bound executables (ones that run in both DOS and OS/
> 2) with IBM's CSET/2?  I can do it with MSC 5.1, but the OS/2 executable 
> switches to full screen mode when I run it.

For MSC, either
 1. tag the file as WINDOWCOMPAT. I forgot the name of the program from MS
    (perhaps markexe). tag on ftp-os2.nmsu.edu will also work.

 2. Link with a .def file containing, perhaps
    NAME myprog WINDOWCOMPAT NEWFILES

-- 
--Darrel Hankerson hank@ducvax.auburn.edu
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: Minor wishlist item: any IBMers out there?
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 10 Oct 1992 04:49:05 GMT

In article <1992Oct8.200503.13473@networx.com> mikel@networx.com (Mike Lempriere) writes:
>Ok, ok, I'll buy most of your points.  If OS/2 came delivered with the
>first element in LIBPATH being '.', it would help.  I've seen several
>packages mess around with my CONFIG.SYS LIBPATH setting and tell me to
>reboot.  None of them just added '.' to it.

As of OS/2 2.0, it does come delivered with "." as the first entry in
LIBPATH.

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
Dept. of Econ., Univ.   | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
of Chicago, 60637       | Family Values Means a Job
Newsgroups: comp.os.os2.programmer
From: chaibp@iscs.nus.sg
Subject: Looking for IBM Personal Systems Developer (Fall 1991)...
Reply-To: CHAIBP@NUSDISCS.BITNET
Organization: Dept. of Information Systems and Computer Science, National University of Singapore
Date: Fri, 16 Oct 1992 05:35:46 GMT

I'm looking for an article in IBM Personal Systems Developer the issue
Fall 1991 regarding a high resolution timing driver for OS/2. I can't find
the megazine here in Singapore and I need the article badly. Particularly, I'd
like to know why re-programming the 8253 Timer chip wouldn't jeoperdize the
OS at all. 

If you do have a copy of the article, could you please fax, e-mail or mail
it to me? I would very much appreciate any help at all. Thanks in advance.

Regards
Chai

Fax: 7794580
Mail address:
   Boon-Ping Chai
   Department of ISCS,
   National University of Singapore,
   Kent Ridge,
   Singapore 0511.
From: bjorn@adolf.ludd.luth.se (Bjorn Fahller)
Newsgroups: comp.os.os2.programmer
Subject: List of documentation errors?
Date: 15 Oct 92 14:49:25 GMT
Organization: Lule} Tekniska H|gskolas Datorf|rening - Ludd


Is there such a thing as a list of errors in the docs for Workset/2? I received
my $300 package yesterday (shipping to Sweden takes time), and I've already found
a few errors.

Also, is there such a thing as a "here's how you get started with writing
programs" book? I remember the "Guide to programming" that came with the Win3.0
SDK, which wasn't particularly good, but compared to nothing at all, it was great.
   _
/Bjorn.
-- 
Bjorn Fahller     Phone:              |The opinions above are not necessarily
Trollnasvagen 3A  Intl:+46 920 226870 |those of... Hey! Wait a minute. Do you
S-951 61 Lulea    Natl:0920-22 68 70  |seriously expect Me, a student, to carry
Sweden            << space for rent >>|the official voice of the University?
Newsgroups: comp.os.os2.programmer
From: 880506s@dragon.acadiau.ca (James R. Skinner)
Subject: Accessing memory (Monitor)
Organization: Acadia University
Date: Thu, 15 Oct 1992 03:30:35 GMT

	
I am trying to write a simple program to clear the monochrome monitor 
that I have attached to my system.  I am using the GCC compiler and the
following code:

#include <os2.h>

main(int argc, char *argv[], char *envp[])
{

          for (  int *p=0x80000 ; *p <= (0x80000+4000)  ; (*p++) = 0x2007  );

}

This code causes an access violation exception when executed.
How can I correct this?  How do I get access to this memory area?
Any help will be appriciated..  Thanks.

james

-- 

-----------------------------------+--------------------------------------------
        James Robie Skinner        |     Jodrey School of Computer Science        James.Skinner@dragon.acadiau.ca  |  Acadia University, Wolfville, NS, Canada
-----------------------------------+--------------------------------------------
Newsgroups: comp.os.os2.programmer
From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
Subject: Programmers FAQ  __PLEASE__
Originator: parry@yoyo.cc.monash.edu.au
Organization: Monash University, Melb., Australia.
Date: Thu, 8 Oct 1992 05:51:34 GMT

Does anybody out there know where the programmers FAQ is kept? It has
expired here and it's not on ftp-os2 and I really would like to get hold of
it.

I know 'where is the FAQ' is an FAQ but I have quite a few 'stupid'
questions that need answering and I'd rather do so after consulting the
FAQ.

-- 
Tom J Parry.
Your reality is a figment of my imagination.
Newsgroups: comp.os.os2.programmer
From: dafnioti@cae.wisc.edu (Petros Dafniotis)
Subject: Question about GCC and debugger
Organization: U of Wisconsin-Madison College of Engineering
Date: 12 Oct 92 22:39:06 CDT
Summary: Is there a debugger for GCC under OS/2? 
Keywords: GCC, EMX, OS/2, debugger 

Dear netters,

  I have read the whole FAQ before posting this message. The FAQ is *UNCLEAR*
in the following point:
* is there a debugger (source-level) for GCC? I understand that there is
  one (the standard gdb) for EMX. If not, what can i do (i.e. where can I
  find a debugger)? Will IPMD (shipped with C set/2) work?
* can I generate real PM applications with GCC using the standard info in
  the IBM etc books for OS/2 PM programming? Pros/cons? 

  Thanks for any info. Posting or e-mailing (dafnioti@cae.wisc.edu) is fine.

				Petros Dafniotis (AKA VMS4Ever)
				Chem Engr Dept, UW-Madison

			e-mail: dafnioti@cae.wisc.edu
From: Peter.Garner@f17.n8012.z86.toadnet.org (Peter Garner)
Newsgroups: comp.os.os2.programmer
Subject: Re: Minor wishlist item:
Date: Sat, 10 Oct 92 03:28:00 CDT
Organization: FidoNet node 86:8012/17 - Gateway/2 OS/2 User, St. Louis MO

DB>I'm still not sure it's a feasible step.  There is normally a lot of
DB>extra stuff in any particular "C library" that may or may not
DB>translate among compilers.  You aren't always aware of it when writing
DB>programs, but it's one of the reasons you can't just link an Microsoft
DB>C object file with a Borland C library, for example.  And if we can't
DB>get normal library files that are interchangeable, what are the odds
DB>of doing it as a DLL?
DB>
DB>Then there's the calling convention issue - some of the newer
DB>compilers (or even older ones such as Watcom) do a lot of optimization
DB>of the calling convention of functions unless you explicitly ask for a
DB>standard C calling convention.  Since this can significantly improve
DB>performance, would you be willing to give that up to have a common C
DB>library DLL?  (I'm presuming that different vendors will want to, or
DB>already do, optimize calls differently)
DB>

Actually, I have to say that I think it is a great idea.  Of course you
would need a different DLL for each compiler, but that is better than
having a complete linked in library for each program!  Furthermore, if IBM
were to supply a C library DLL for their C/2 and include it with every
copy of OS/2, then they would have a leg up on their compiler competition.
That way, I would write my programs in C/2 instead of Watcom or whatever,
because I know my clients would have the C/2 DLL on their machine.  Great
Idea whoever though of it!

Peter


---
  WinQwk 2.0 #0  Unregistered Evaluation Copy


--- WM v1.01c [Unregistered]
 * Origin: Gateway/2 OS/2 * StL,MO * (86:8012/17)
--  
Peter Garner - via Toadnet/UUCP Gateway 86:86/200
UUCP: ....!wupost!8012!17!Peter.Garner
INTERNET: Peter.Garner@f17.n8012.z86.toadnet.org