
                   comp.os.os2.programmer.tools     (Usenet)

                 Saturday, 27-Nov-1999 to Friday, 03-Dec-1999

+----------------------------------------------------------------------------+

From: us@appo.demon.co.uk                               27-Nov-99 06:18:13
  To: All                                               27-Nov-99 03:29:03
Subj: Bug reports for Watcom C/C++ - how?

From: "Marcus, Aviva and Rhiannon" <us@appo.demon.co.uk>

Hi.

Where do you send bug reports for the Watcom compiler these days?
Could not find anything on Sybase site except a description of
version 11.

yours, Marcus.

p.s. Needless to say, the bug is in that god-awful class browser
again.
-- 
Marcus, Aviva and Rhiannon at the 'Appo Site'
Marcus: marcus@appo.demon.co.uk
Aviva: aviva@appo.demon.co.uk
Rhiannon: rhiannon@appo.demon.co.uk

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: The Appo Site (1:109/42)

+----------------------------------------------------------------------------+

From: us@appo.demon.co.uk                               27-Nov-99 06:22:26
  To: All                                               27-Nov-99 03:29:03
Subj: Re: Device Driver compiler

From: "Marcus, Aviva and Rhiannon" <us@appo.demon.co.uk>

Hi...

Dan Holmes wrote:
> 
> I want to write a device driver (or at least try) and i don't know what
> tools to use.  I have emx and MSC6 and MASM6 from the ddk site.  I don't
> really want to write in ASM (cause i don't know it).  There was an
> article in EDM for a hello world device driver that used the Watcom
> compiler.  I don't have that and from what i have heard it is not
> supported anymore.

They still sell it on the Sybase site, but it is fiddly to track it
down.
Version 11 still (I have version 10.0a). Such a tragedy if that one
disappears. One of the fastest compilers ever.

Anyone fancy starting a simple device driver web page. I'll set one
up if people send material (I am just hacking a web site together).

yours, Marcus.
-- 
Marcus, Aviva and Rhiannon at the 'Appo Site'
Marcus: marcus@appo.demon.co.uk
Aviva: aviva@appo.demon.co.uk
Rhiannon: rhiannon@appo.demon.co.uk

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: The Appo Site (1:109/42)

+----------------------------------------------------------------------------+

From: dholmes@trellis.net                               28-Nov-99 01:37:01
  To: All                                               27-Nov-99 16:56:12
Subj: Re: Device Driver compiler

From: Dan Holmes <dholmes@trellis.net>

> 
> Yes. No (outdated and incomplete). Better get the DDK and cannibalize one of
> the drivers for your own purposes. You haven't said what kind of driver you
> want to write.
Well anything really.  I just want to learn first.  The 'hello world' of
device drivers would do.  Eventually i would like to add 720x720 dpi
printing to the epson printer drivers.  I would also like to write a
joystick device driver (which to me sounds easier).
-- 
----------
dan holmes
mailto:dholmes@trellis.net
http://www.geocities.com/heartland/hollow/3097

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: veit@borneo.gmd.de                                27-Nov-99 20:46:17
  To: All                                               27-Nov-99 16:56:12
Subj: Re: Device Driver compiler

From: veit@borneo.gmd.de (Holger Veit)

On Sun, 28 Nov 1999 01:37:03 -0500, Dan Holmes <dholmes@trellis.net> wrote:
>> 
>> Yes. No (outdated and incomplete). Better get the DDK and cannibalize one
of
>> the drivers for your own purposes. You haven't said what kind of driver you
>> want to write.
>Well anything really.  I just want to learn first.  The 'hello world' of
>device drivers would do.  Eventually i would like to add 720x720 dpi
>printing to the epson printer drivers.  I would also like to write a
>joystick device driver (which to me sounds easier).

Both joystick and printer driver are much more tricky than initially
expectable. The tricky thing with a joystick driver is that the joy port
is not interrupt controlled. This means you have to poll the port
periodically.
That not alone, but unless you are just aiming at a digital port, where you
just read out the on/off switches, for an analog joystick you have to first
calibrate the range and then measure the value. This is not trivial because
the port returns a pulse proportional to the position of the stick (not
already a digital rate value like a mouse). In order to generate a value
from the pulse, you have to measure the time. Not that this is impossible,
but a joystick driver in a multitasking operating system may severely
reduce system performance.
Personally, I think it does not make much sense to write a printer driver
explicitly, you are better doing by integrating some postscript interpreter
like Ghostscript into the printer chain. Use the NULL driver and look for
an interface (like the lprd pseudo devices) to integrate the printer
process. This has already been done.

If you like to dive into challenging things, you might port the ZIP+
driver from Linux to OS/2. This is a storage device driver. Other 
interesting areas are IFS drivers and NDIS2 drivers.

Holger
-- 
If Microsoft is ever going to produce something that does not suck,
it is very likely a vacuum cleaner.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: GMD-AiS (1:109/42)

+----------------------------------------------------------------------------+

From: dholmes@trellis.net                               28-Nov-99 04:44:14
  To: All                                               28-Nov-99 00:25:05
Subj: Re: Device Driver compiler

From: Dan Holmes <dholmes@trellis.net>

Given your statement i will just start with 'Hello World'.  I didn't
even understand your reply.  Since i really don't have a clue how to
start this process would the book i mentioned earlier help?  I really
want to understand not just plagarise.  Does anyone have 'Hello World'
for MSC6 and a program that will call it they could send me?  I can
disect and continue to ask ignorant questions until i know what i am
doing.

> Both joystick and printer driver are much more tricky than initially
> expectable. The tricky thing with a joystick driver is that the joy port
> is not interrupt controlled. This means you have to poll the port
periodically.
> That not alone, but unless you are just aiming at a digital port, where you
> just read out the on/off switches, for an analog joystick you have to first
> calibrate the range and then measure the value. This is not trivial because
> the port returns a pulse proportional to the position of the stick (not
> already a digital rate value like a mouse). In order to generate a value
> from the pulse, you have to measure the time. Not that this is impossible,
> but a joystick driver in a multitasking operating system may severely
> reduce system performance.
> Personally, I think it does not make much sense to write a printer driver
> explicitly, you are better doing by integrating some postscript interpreter
> like Ghostscript into the printer chain. Use the NULL driver and look for
> an interface (like the lprd pseudo devices) to integrate the printer
> process. This has already been done.
> 
> If you like to dive into challenging things, you might port the ZIP+
> driver from Linux to OS/2. This is a storage device driver. Other
> interesting areas are IFS drivers and NDIS2 drivers.
> 
> Holger
> --
> If Microsoft is ever going to produce something that does not suck,
> it is very likely a vacuum cleaner.

-- 
----------
dan holmes
mailto:dholmes@trellis.net
http://www.geocities.com/heartland/hollow/3097

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: evsi@naverex.kiev.ua                              27-Nov-99 22:06:24
  To: All                                               28-Nov-99 00:25:05
Subj: Re: Device Driver compiler

From: evsi@naverex.kiev.ua (Sergey I. Yevtushenko)

On Sun, 28 Nov 1999 09:44:29, Dan Holmes <dholmes@trellis.net> wrote:

> Given your statement i will just start with 'Hello World'.  I didn't
> even understand your reply.  Since i really don't have a clue how to
> start this process would the book i mentioned earlier help?  I really
> want to understand not just plagarise.  Does anyone have 'Hello World'
> for MSC6 and a program that will call it they could send me?  I can
> disect and continue to ask ignorant questions until i know what i am
> doing.

It have sense to look for Watcom C++ 10.6. Time and money spent to that 
compiler will return back many times just because you'll be free to code 
as you wish instead of workarounding compiler limitations and bugs.

Note that more recent version has numerous bugs. Its enhancement
in comparison with version 10.6 useless for device driver development.

Mentioned article (actually set of articles) in EDM/2 is 
a very good start point for your own device drivers. 
I wrote several device drivers and all of them are based (more or less
on that 'Hello World' DD sources).

Regards,
	Sergey.

*--------------------------------------
ES@Home

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: ES@Home (1:109/42)

+----------------------------------------------------------------------------+

From: dholmes@trellis.net                               28-Nov-99 05:32:29
  To: All                                               28-Nov-99 00:25:05
Subj: Re: Device Driver compiler

From: Dan Holmes <dholmes@trellis.net>

Watcom 10 is on ebay.  Is that good enough?

"Sergey I. Yevtushenko" wrote:
> 
> On Sun, 28 Nov 1999 09:44:29, Dan Holmes <dholmes@trellis.net> wrote:
> 
> > Given your statement i will just start with 'Hello World'.  I didn't
> > even understand your reply.  Since i really don't have a clue how to
> > start this process would the book i mentioned earlier help?  I really
> > want to understand not just plagarise.  Does anyone have 'Hello World'
> > for MSC6 and a program that will call it they could send me?  I can
> > disect and continue to ask ignorant questions until i know what i am
> > doing.
> 
> It have sense to look for Watcom C++ 10.6. Time and money spent to that
> compiler will return back many times just because you'll be free to code
> as you wish instead of workarounding compiler limitations and bugs.
> 
> Note that more recent version has numerous bugs. Its enhancement
> in comparison with version 10.6 useless for device driver development.
> 
> Mentioned article (actually set of articles) in EDM/2 is
> a very good start point for your own device drivers.
> I wrote several device drivers and all of them are based (more or less
> on that 'Hello World' DD sources).
> 
> Regards,
>         Sergey.
> 
> *--------------------------------------
> ES@Home

-- 
----------
dan holmes
mailto:dholmes@trellis.net
http://www.geocities.com/heartland/hollow/3097

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: dholmes@trellis.net                               28-Nov-99 05:38:29
  To: All                                               28-Nov-99 00:25:05
Subj: Re: Device Driver compiler

From: Dan Holmes <dholmes@trellis.net>

How important is knowing assembler?  I don't know it but have access to
a college text book.

Dan Holmes wrote:
> 
> Given your statement i will just start with 'Hello World'.  I didn't
> even understand your reply.  Since i really don't have a clue how to
> start this process would the book i mentioned earlier help?  I really
> want to understand not just plagarise.  Does anyone have 'Hello World'
> for MSC6 and a program that will call it they could send me?  I can
> disect and continue to ask ignorant questions until i know what i am
> doing.
> 
> > Both joystick and printer driver are much more tricky than initially
> > expectable. The tricky thing with a joystick driver is that the joy port
> > is not interrupt controlled. This means you have to poll the port
periodically.
> > That not alone, but unless you are just aiming at a digital port, where
you
> > just read out the on/off switches, for an analog joystick you have to
first
> > calibrate the range and then measure the value. This is not trivial
because
> > the port returns a pulse proportional to the position of the stick (not
> > already a digital rate value like a mouse). In order to generate a value
> > from the pulse, you have to measure the time. Not that this is impossible,
> > but a joystick driver in a multitasking operating system may severely
> > reduce system performance.
> > Personally, I think it does not make much sense to write a printer driver
> > explicitly, you are better doing by integrating some postscript
interpreter
> > like Ghostscript into the printer chain. Use the NULL driver and look for
> > an interface (like the lprd pseudo devices) to integrate the printer
> > process. This has already been done.
> >
> > If you like to dive into challenging things, you might port the ZIP+
> > driver from Linux to OS/2. This is a storage device driver. Other
> > interesting areas are IFS drivers and NDIS2 drivers.
> >
> > Holger
> > --
> > If Microsoft is ever going to produce something that does not suck,
> > it is very likely a vacuum cleaner.
> 
> --
> ----------
> dan holmes
> mailto:dholmes@trellis.net
> http://www.geocities.com/heartland/hollow/3097

-- 
----------
dan holmes
mailto:dholmes@trellis.net
http://www.geocities.com/heartland/hollow/3097

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: jasio@nowhere.pl                                  28-Nov-99 00:18:18
  To: All                                               28-Nov-99 00:25:05
Subj: How to find program parametres in a DOS session

From: jasio@nowhere.pl (Jan Stoek)

Hi,

	Is there a way to check (and possibly modify) program parametres in a
DOS session before this program executes? 

	Scenario:

	I double click on a file object and as a result DOS or WinOS2 program
executes. DOS session opens, reads and executes autoexec.bat, then the
application associated with the clicked file is executed. Now, I would
like to test the parametres of the application before it actually 
starts. I would like, for example, save the extended attributes of the
file passed as a parameter to the application and restore it after the
application has terminated. Or I would like to rename the file to 
something short and make the application open renamed file rather than
the original, to which it might not have access anyway. Is it at all 
possible and how?

-- 
Regards,

Jan.

PS. My address: nowhere = Polbox. 

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Polbox On-Line Service Sp. z o.o. (1:109/42)

+----------------------------------------------------------------------------+

From: evsi@naverex.kiev.ua                              28-Nov-99 06:45:11
  To: All                                               28-Nov-99 04:44:28
Subj: Re: Device Driver compiler

From: evsi@naverex.kiev.ua (Sergey I. Yevtushenko)

On Sun, 28 Nov 1999 10:32:58, Dan Holmes <dholmes@trellis.net> wrote:

> Watcom 10 is on ebay.  Is that good enough?

Watcom 10.0, evan patched, sometimes generate wrong code, 
especially when dealing with far pointers.
Look for version 10.6. Probably version 10.5 will work 
without problems, but I never checked.

Regards,
	Sergey.

*--------------------------------------
ES@Home

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: ES@Home (1:109/42)

+----------------------------------------------------------------------------+

From: fheitka@ibm.net                                   28-Nov-99 14:58:11
  To: All                                               28-Nov-99 14:37:28
Subj: emx suite capabilities

From: fheitka@ibm.net (F. Heitkamp)

I pondering doing a full install of the emx tools.
What I'm wondering is after all the tools are installed
do you have conceptually the same environment for building
programs as say on Linux? i.e.  assuming a application
has an OS/2 port can you simply run 'configure' and 'make'
and have whatever build?  A real (large) example is
XFree86-3.3.5.  After the emx tools are installed could
I unpack XFree and type 'make World >& world.log &' and 
successfully build it?


Fred




--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: none (1:109/42)

+----------------------------------------------------------------------------+

From: peter-gsellmann@eunet.at                          28-Nov-99 21:55:03
  To: All                                               28-Nov-99 21:13:18
Subj: Re: Bug reports for Watcom C/C++ - how?

From: "Peter Gsellmann" <peter-gsellmann@eunet.at>

On Sat, 27 Nov 1999 06:18:26 +0000, Marcus, Aviva and Rhiannon wrote:

>Hi.
>
>Where do you send bug reports for the Watcom compiler these days?
>Could not find anything on Sybase site except a description of
>version 11.
>
>yours, Marcus.
>
>p.s. Needless to say, the bug is in that god-awful class browser
>again.

You have to listen to the news server forums.powersoft.com and to
subscribe the group powersoft.public.watcom_c_c++.general
(This server doesnt exchange with public servers.)
There are a number of very high respondig people for your (and my)
 problems. 
You could also read that the end of life of the WC-Compiler
 is coming soon. 

Peter


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: OS/2 v4 Merlin (1:109/42)

+----------------------------------------------------------------------------+

From: steve53_remove_this@earthlink.net                 28-Nov-99 18:44:16
  To: All                                               29-Nov-99 03:35:22
Subj: Re: How to find program parametres in a DOS session

From: steve53_remove_this@earthlink.net

In <hl3RBY1idpDT-pn2-pmQ45D5g0eQN@pc-js.home.pl>, on 11/28/99 
   at 12:18 AM, jasio@nowhere.pl (Jan Sto ek) said:

>	Is there a way to check (and possibly modify) program parametres in a
>DOS session before this program executes? 

Sure.  Invoke a REXX script to do the preprocessing and and then invoke
the DOS app from there.  If the DOS app needs special VDM settings, you
can create an object in \NOWHERE and open this object to start the DOS
app.  Detecting when it finishes can be tricky, but is doable.

Steven


--
-------------------------------------------------------------------
Steven Levine <steve53removethis@earthlink.net>  MR2/ICE 2.01 #10183
Warp4/FP11
-------------------------------------------------------------------


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: EarthLink Network, Inc. (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            29-Nov-99 07:56:20
  To: All                                               29-Nov-99 10:04:16
Subj: Re: Device Driver compiler

From: hei@hatespam.norman.no (Harald Eilertsen)

On Sat, 27 Nov 1999 06:22:52, "Marcus, Aviva and Rhiannon" 
<us@appo.demon.co.uk> wrote:

> Anyone fancy starting a simple device driver web page. I'll set one
> up if people send material (I am just hacking a web site together).

Here's one, it has pretty much liks to the OS/2 dd sites that exists. 
Also it would be a very good idea to join the mailing list. A lot of 
guys that really know their stuff there!

http://www.tabi.org/timur/os2pdd.html

Take Care!
--
Harald Eilertsen
Norman Data Defence Systems
http://www.norman.no/

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            29-Nov-99 08:05:00
  To: All                                               29-Nov-99 10:04:16
Subj: Re: Device Driver compiler

From: hei@hatespam.norman.no (Harald Eilertsen)

On Fri, 26 Nov 1999 16:58:52, "Detlef Graef" <dgraef@attglobal.net> 
wrote:

> With gcc/emx it isn't possible to develop device drivers.
> If I'm wrong, somebody should correct me.

Download the 32drv170.zip from hobbes. It will show you how to write 
drivers with 32bit compilers. The approach should also be usable with 
gcc, I think. The helper driver provided in this package is GPL, but 
if you can live with that, a lot of the glue has already been done for
you.

Using this approach, nearly any compiler should be able to produce 
drivers, but you will need to know some assembly to get the thunking 
right.

Take Care!
--
Harald Eilertsen
Norman Data Defence Systems
http://www.norman.no/

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: cwr@cts.com                                       29-Nov-99 08:38:02
  To: All                                               29-Nov-99 10:04:16
Subj: WorkFrame monitor error parsing.

From: Will Rose <cwr@cts.com>

Has anyone found out where the parsing of the VAC++ WorkFrame monitor
messages is done, before they are passed to the editor?  I've got a
compiler that produces error messages in a non-standard format, and
changing the editor and brmon (?) error message fields in the tools
setup for the project does me no good.

(I'd like to know if it's impossible to do this, too - for the time
being I've just patched the compiler, but I'd like to use the
standard version.)


Thanks - Will
cwr@crash.cts.com

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: CTS Network Services (1:109/42)

+----------------------------------------------------------------------------+

From: pjfloyd@my-deja.com                               29-Nov-99 09:09:12
  To: All                                               29-Nov-99 10:04:16
Subj: Re: How to use DDK DDTT

From: pjfloyd@my-deja.com

In article <81ln82$3rh$1@nnrp1.deja.com>,
  pjfloyd@my-deja.com wrote:

Replying to my own message as I seemed to have solved my problem before
anyone replied [I surmise that nobody at all is using the IBM testcert
tools].

The version of the tools available for download worked, there must be a
problem with the old version I have on CD.

A bientot
Paul
--
Paul Floyd
Is atrophy a shiny cup?


Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: jag12@_nospam_le.ac.uk                            29-Nov-99 11:07:16
  To: All                                               29-Nov-99 10:04:16
Subj: Re: Device Driver compiler

From: Dr J A Gow <jag12@_nospam_le.ac.uk>

Dan,

	I have ported the 'bleep' hello-world device driver from EDM/2 to
MSC6/MASM when I was learning to code device drivers and couldn't fork
out
for Watcom.  If you would like the source, send me an email. Knowledge
of 
assembler, and particularly segment semantics are very useful
(especially
when compilers generate iffy thunking code :) although it is possible to 
code a device driver almost entirely in C. Sometimes, because of the 
rigid architecture of physical device drivers it is necessary to use
a small assembler module to organize segmentation etc.

	John.

Dan Holmes wrote:
> 
> I want to write a device driver (or at least try) and i don't know what
> tools to use.  I have emx and MSC6 and MASM6 from the ddk site.  I don't
> really want to write in ASM (cause i don't know it).  There was an
> article in EDM for a hello world device driver that used the watcom
> compiler.  I don't have that and from what i have heard it is not
> supported anymore.
> --
> ----------
> dan holmes
> mailto:dholmes@trellis.net
> http://www.geocities.com/heartland/hollow/3097

-- 
 _________________
______________________________________________________
|                 |                                                     
|
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Research Associate, Power Electronics Research Group
|
|       \/        | Leicester University                                
|
|   __  00        | University Road                                     
|
|  /  \/  \_@     | Leicester, UK.                                      
|
| |          \    |                                                     
|
|  \__/    \  \   | Tel: (0468) 328787                                  
|
|  /  \    /\  |  |                                                     
|
| |    \__/    |  | email:   jag12@le.ac.uk                             
|
| |           /   |                                                     
|
|  \__    __ /    |                                                     
|
|     ||||        |                                                     
|
|   __||||__      |                                                     
|
|  <___||___>     |         ______________________________              
|
|_________________|________|THIS IS A MICROSOFT-FREE
ZONE!|______________|

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: University of Leicester, UK (1:109/42)

+----------------------------------------------------------------------------+

From: fred@goddard.com                                  29-Nov-99 16:13:23
  To: All                                               29-Nov-99 16:52:21
Subj: Badly in need of Action Media II Docs and SDK

From: "Fred L" <fred@goddard.com>

I would greatly appreciate hearing from anyone who can supply documentation
and / or SDK, sample programs (preferably in C) for the Action Media II
image capture / display board.

Thanks....


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Posted via Supernews, http://www.supernews.com (1:109/42)

+----------------------------------------------------------------------------+

From: sk8ndude-nospam-@erols.com                        01-Dec-99 03:41:13
  To: All                                               01-Dec-99 17:09:06
Subj: Re: OCR programming

From: sk8ndude-nospam-@erols.com (John Rodriguez)

Check:
http://www.quasarbbs.com/yuri/download.html
and
http://www.socr.org

John


On Tue, 2 Nov 1999 22:31:26, "CLIX" <pedro.miranda@clix.pt> wrote:

> Hi people i was wondering if it's possible (not just for NASA guys) to
> create a program that recognizes characters and other graphical objects like
> line segments ... from an image obtained from a scanner,
> kind of a home OCR, that we could train it so it recongize some hand-right.
> 
> If so can anyone give me some tips and/or help and/or suport?
> 
> Note assume only a good C knowledge and a little C++, however if it requires
> anything else, just tell me.
> 
> Well i think this is kind of utopic cause all the OCRs i've seen till today
> are a bit messy but who knows...
> 
> ANY HELP IS WELCOME
> Pedro Miranda
> 
> 
> 
> 
> 
> 


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: myself@pbn.dp.ua                                  27-Nov-99 02:28:27
  To: dholmes@trellis.net                               01-Dec-99 17:09:08
Subj: Re: Device Driver compiler

To: Dan Holmes <dholmes@trellis.net>
From: Ivan Klimenko <myself@pbn.dp.ua>

Dan Holmes wrote:
> 
> Has anyone read "Writing OS/2 2.1 Device Drivers in C, 2nd Edition"?  Is
> it recommended?

	Where i can find this book on FTP/WWW ?

> 
-- 

Ivan Klimenko   [Team OS/2]
e-mail:         myself@pbn.dp.ua
net-mail:       2:464/69.11@fidonet, 2:464/27.26@fidonet
ccmail:         Ivan Klimenko at Privat-Nikopol


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: PrivatBank, Nikopol Branch (1:109/42)

+----------------------------------------------------------------------------+

From: hubert@ugrad.cs.ualberta.ca                       01-Dec-99 11:21:22
  To: All                                               01-Dec-99 20:38:00
Subj: Re: emx suite capabilities

From: Hubert Chan <hubert@ugrad.cs.ualberta.ca>

On 28 Nov 1999, F. Heitkamp wrote:

> 
> I pondering doing a full install of the emx tools.
> What I'm wondering is after all the tools are installed
> do you have conceptually the same environment for building
> programs as say on Linux? i.e.  assuming a application
> has an OS/2 port can you simply run 'configure' and 'make'
> and have whatever build?  A real (large) example is
> XFree86-3.3.5.  After the emx tools are installed could
> I unpack XFree and type 'make World >& world.log &' and 
> successfully build it?
Well, I've never done any porting myself, so I don't know how well you can
get OS/2 to look like Linux, but there are a few tools that you'll
definitely need:
- a port of make.  My recommendation is GNU make.
- you'll probably need a port of autoconf.  I had one a while ago, but
  never managed to figure out how to install it.
- a port of one of the UNIX shells.  I use tcsh, and I know that there's
  ports of bash and probably ksh out there.
- the GNU file utilities
- the GNU text utilities
Most of this software should be available from Hobbes (hobbes.nmsu.edu).

HTH

Hubert.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Computing Science, U of Alberta, Edmonton, Canada
(1:109/42)

+----------------------------------------------------------------------------+

From: rfb@GoldenCode.com                                01-Dec-99 16:16:17
  To: All                                               01-Dec-99 20:38:00
Subj: VA 4.0 Debugger

From: Roger F Borrello <rfb@GoldenCode.com>

This is a multi-part message in MIME format.
--------------C58A0905C45ED01BA7159335
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am trying to idebug an application that is really not too complex.
When the debugger comes up, I try to open up the mixed source/assembly.
The debugger just goes away.  No message in popuplog.os2, it just
disappears.

Anybody heard of this before I open a problem with IBM?

--
Regards,
+---------------------------------------------------+
|Roger F. Borrello, Jr. &    O  Brought to you by   |
|Golden Code Development     S  the letters O and S,|
|eddress: rfb@GoldenCode3.14.com 2  and by the number 2!|
+---------------------------------------------------+


--------------C58A0905C45ED01BA7159335
Content-Type: text/x-vcard; charset=us-ascii;
 name="rfb.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Roger F Borrello
Content-Disposition: attachment;
 filename="rfb.vcf"

begin:vcard 
n:Borrello;Roger
tel;work:770-475-3712
x-mozilla-html:FALSE
org:Golden Code Development
adr:;;;;;;
version:2.1
email;internet:rfb@GoldenCode.com
title:Consultant
x-mozilla-cpt:;-6560
fn:Roger Borrello
end:vcard

--------------C58A0905C45ED01BA7159335--

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Golden Code Development, Inc. (1:109/42)

+----------------------------------------------------------------------------+

From: nospam_ktk@netlabs.org                            01-Dec-99 23:55:06
  To: All                                               01-Dec-99 21:37:12
Subj: Odin Application Database

From: "Adrian Gschwend" <nospam_ktk@netlabs.org>

Some days ago the Odin Team at OS/2 Netlabs released the first public
alpha version of Odin since the code is open source.

For those of you who still don't know it, Odin and Odin32 is an
approach to get Win32 support in OS/2 (it is no emulator!). The
homepage of the project is located at http://www.netlabs.org/odin/

We are very proud to say that the project made great progress, a lot
more applications are running with Odin actually, especially slim
programs. A lot of Odin users reported applications, which are running
on OS/2 without problems, for example:

- Acrobat Distiller 3.01 (PDF-File generator)
- SmartDraw (Chart designing program)
- CDRLabel (CD labeling application, even printing works very well)
- WinHelp (Help system of Windows)
- Word 6.0 for Windows NT 3.51 (32bit edition)
- ... and more

One of the very promising applications is Lotus Notes R5, we are
already able to start the application, you can find a screenshot of it
at the Odin page (it's mentioned in the "News" section). As you may
know we also working on a port of the Opera webbrowser to OS/2. With
Odin32 we can actually compile the whole V4.0 Win32-Sourcecode without
significant changes in the code.

If you are interested in our progress, check the Odin application
database at http://www.netlabs.org/odin/MiscApplications.phtml
You are also welcome to add your application to the database!

For impatient users we have daily builds available, note that we don't
support any of the Odin versions actually because progress is changing
almost every day. We are not that much interested in bug reports
because of this reason.
But we still need more skilled developers, the more support we get the
faster we are! If you think that you can support our project, get more
information about how to join at the Odin page.

That's it for the moment, thanks for all the support so far!

Adrian Gschwend
and the whole Odin Team at OS/2 Netlabs



---
Adrian Gschwend
@ OS/2 Netlabs

ICQ: 22419590
ktk@netlabs.org
-------
The OS/2 OpenSource Project:
http://www.netlabs.org


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: OS/2 Netlabs (1:109/42)

+----------------------------------------------------------------------------+

From: jstucklex@attglobal.net                           01-Dec-99 21:51:25
  To: All                                               02-Dec-99 03:28:00
Subj: Re: VA 4.0 Debugger

From: Jerry Stuckle <jstucklex@attglobal.net>

Roger,

Try the VACPP newsgroups on the news.software.ibm.com news server.  The
VACPP development group monitors those newsgroups - there are several of
them for VACPP.

Roger F Borrello wrote:
> 
> I am trying to idebug an application that is really not too complex.
> When the debugger comes up, I try to open up the mixed source/assembly.
> The debugger just goes away.  No message in popuplog.os2, it just
> disappears.
> 
> Anybody heard of this before I open a problem with IBM?
> 
> --
> Regards,
> +---------------------------------------------------+
> |Roger F. Borrello, Jr. &    O  Brought to you by   |
> |Golden Code Development     S  the letters O and S,|
> |eddress: rfb@GoldenCode3.14.com 2  and by the number 2!|
> +---------------------------------------------------+
> 
>     ---------------------------------------------------------------
> 
>                              Name: rfb.vcf
>             Part 1.2         Type: text/x-vcard
>                          Encoding: 7bit
>                       Description: Card for Roger F Borrello

-- 

=======================================================
To reply, delete the "x" from my email address

Jerry Stuckle
jstucklex@attglobal.net
JDS Computer Training Corp.
Sun Certified Java Programmer
VisualAge/Java Certified Advanced Technical Expert
VisualAge/C++ Certified Developer

=======================================================

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: JDS Computer Training Corp. (1:109/42)

+----------------------------------------------------------------------------+

From: cwr@cts.com                                       02-Dec-99 08:09:26
  To: All                                               02-Dec-99 05:22:14
Subj: Re: VA 4.0 Debugger

From: Will Rose <cwr@cts.com>

Roger F Borrello <rfb@goldencode.com> wrote:

: I am trying to idebug an application that is really not too complex.
: When the debugger comes up, I try to open up the mixed source/assembly.
: The debugger just goes away.  No message in popuplog.os2, it just
: disappears.

: Anybody heard of this before I open a problem with IBM?

In 3.0 this usually means the debugging file is corrupt; look for
'ipmd.@4s', or possibly the project file <project>.@4r, in \OS2
and delete it.  Since the structure of 4.0 is very different, these
files may well not exist, but perhaps they have an equivalent.


Will
cwr@crash.cts.com

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: CTS Network Services (1:109/42)

+----------------------------------------------------------------------------+

From: csaba_r@my-deja.com                               02-Dec-99 11:21:29
  To: All                                               02-Dec-99 12:07:28
Subj: Re: emx suite capabilities

From: csaba_r@my-deja.com (Csaba Raduly)

hubert@ugrad.cs.ualberta.ca (Hubert Chan) wrote in 
<Pine.SOL.4.02.9912011115110.10391-100000@cab112.cs.ualberta.ca>:

>On 28 Nov 1999, F. Heitkamp wrote:
>
>> 
>> I pondering doing a full install of the emx tools.
>> What I'm wondering is after all the tools are installed
>> do you have conceptually the same environment for building
>> programs as say on Linux? i.e.  assuming a application
>> has an OS/2 port can you simply run 'configure' and 'make'
>> and have whatever build?  A real (large) example is
>> XFree86-3.3.5.  After the emx tools are installed could
>> I unpack XFree and type 'make World >& world.log &' and 
>> successfully build it?

I don't know about building XFree (Holger does a good job on that :-) but 
I've built Apache 1.3.x (and 2.0, almost :-), wget, pavuk, FTE and Mozilla 
with EMX (sometimes the configure scripts don't know about OS/2, I lied 
i386-Linux-GNU ).

>Well, I've never done any porting myself, so I don't know how well you can
>get OS/2 to look like Linux, but there are a few tools that you'll
>definitely need:
>- a port of make.  My recommendation is GNU make.

It's the most powerful, but picky. Avoid backslashes in the paths !
Unfortunately all make programs (Watcom, NMAKE, dmake, GNU make) have their 
own extensions, so it's not easy to port makefiles from one to another.

>- you'll probably need a port of autoconf.  I had one a while ago, but
>  never managed to figure out how to install it.

Many packages come with a configure script, so you can get by without it.

>- a port of one of the UNIX shells.  I use tcsh, and I know that there's
>  ports of bash and probably ksh out there.
>- the GNU file utilities
>- the GNU text utilities
>Most of this software should be available from Hobbes (hobbes.nmsu.edu).
>
>HTH
>
>Hubert.
>

Csaba
-- 
-----BEGIN GEEK CODE BLOCK----- 
Version 3.1
GCS/MU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
-----END GEEK CODE BLOCK----- 

Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
mailto:csaba.raduly@sophos.com            http://www.sophos.com/
US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
Life is complex, with real and imaginary parts.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: SOPHOS Plc (1:109/42)

+----------------------------------------------------------------------------+

From: mamodeo@stny.rr.com                               03-Dec-99 02:45:01
  To: All                                               03-Dec-99 05:15:15
Subj: Re: NASM

From: Marty <mamodeo@stny.rr.com>

Kevin Langman wrote:
> 
> Anyone know what are the special things you have to do to get NASM to
> generate OS/2 obj files?? I used the "USE32" and "FLAT' directives in
> the segment line but still link386 complains with the following
> message!!!
> 
> warning L4005: 32-bit fix-up in 16-bit record ignored at 5 in segment
> text
> 
> thanks in advance!!

Run NASM with the -f obj option.

Declare data sections as:
section	.DATA32	use32 flat class=data

Declare code sections as:
section	.TEXT32 use32 flat class=code

Declare BSS sections as:
section .BSS32 use32 flat class=bss

That should do the trick.

- Marty

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)

+----------------------------------------------------------------------------+

+============================================================================+
