I spent entirely too much time yesterday (Sunday) downloading and installing FP6 for the PL/I for OS/2 compiler v 2.1. I lost...
connection a little over halfway through the 2.5-hour download. When
I restarted, FTP Browser didn't "resume!" Probably my fault :-(.
After I installed the FP, I found (in the file READFP6.HTM), the
following statement:
"On OS/2, all 16-bit support has been dropped."
I read this as meaning that there is no longer access to the
16-bit OS/2 API calls :-(. My needs are for KBD and VIO calls, since
there are things that I wish to do in interactive text-mode
applications that cannot be done in "native" PL/I.
Two questions: What could have led the PL/I perpetrators to do
such a dirty deed? More important, can you think of any other
workaround than the one I used (restored the previously installed version)?
Secondary purpose of this post: There has been no traffic for
about two weeks in either this echo nor in OS2REXX. If I don't get
an answer from you in the near future, I will assume: 1) You are on vacation, or 2) the problem is that Bob Juge has lost his feed for
this echo. Of course, this doesn't say anything about the Summer
doldrums on OS2REXX, does it?
24.07.2000, Murray Lesser wrote a message to David Noon:Subject: PL/I v 2.1 FixPak 6
"On OS/2, all 16-bit support has been dropped."
I read this as meaning that there is no longer access to the...
16-bit OS/2 API calls :-(. My needs are for KBD and VIO calls,
since there are things that I wish to do in interactive text-mode
applications that cannot be done in "native" PL/I.
Two questions: What could have led the PL/I perpetrators to do
such a dirty deed? More important, can you think of any other
workaround than the one I used (restored the previously installed
version)?
I don't know. But remember that 1) IBM always discouraged
developers to use 16-bit APIs and 2) they dropped 16-bit support
in the C++ part of VAC++ 4.0
JdBP coded a DLL to supply 32-bit counterparts of Vio, Kbd and Mou
(with or w/o unicode support). AFAIR he annouced the package in
OS2PROG. Look for this
conapi.zip
24.07.2000, Murray Lesser wrote a message to David Noon:>...
I spent entirely too much time yesterday (Sunday) downloading and installing FP6 for the PL/I for OS/2 compiler v 2.1. I lost
connection a little over halfway through the 2.5-hour download. When
I restarted, FTP Browser didn't "resume!" Probably my fault :-(.
After I installed the FP, I found (in the file READFP6.HTM), the
following statement:
"On OS/2, all 16-bit support has been dropped."
I read this as meaning that there is no longer access to the
16-bit OS/2 API calls :-(. My needs are for KBD and VIO calls, since
there are things that I wish to do in interactive text-mode
applications that cannot be done in "native" PL/I.
Two questions: What could have led the PL/I perpetrators to do>developers to use 16-bit APIs...
such a dirty deed? More important, can you think of any other
workaround than the one I used (restored the previously installed version)?
I don't know. But remember that 1) IBM always discouraged
...and 2) they dropped 16-bit support in the C++ part of VAC++ 4.0.
JdBP coded a DLL to supply 32-bit counterparts of Vio, Kbd and Mou>(with or w/o unicode support). AFAIR he annouced the package in
Secondary purpose of this post: There has been no traffic for
about two weeks in either this echo nor in OS2REXX...
Your post was the first in OS2PROG since 4 July.
--- FWUTILS --->Conapi.Zip 02-11-100 64,787
Conrt.Zip 02-11-100 15,545> JdeBP's 32-bit Unicode Console API Runtime DLLs for OS/2 (c)
I'll gladly File Attach those to E-Mail.
Your post was the first in OS2PROG since 4 July.
"On OS/2, all 16-bit support has been dropped."
I read this as meaning that there is no longer access to the
16-bit OS/2 API calls :-(. My needs are for KBD and VIO calls, since there are things that I wish to do in interactive text-mode
applications that cannot be done in "native" PL/I.
As a test, just to make sure the quoted message says what I was afraid
it says, I tried recompiling my KBREAD.PLI procedure and got a compile-time message to the effect that the compiler didn't recognize
the option "linkage(pascal16)" so was ignoring it. When I linked the newly compiled version to a test driver and ran it, I got an access violation exception!
Two questions: What could have led the PL/I perpetrators to do
such a dirty deed?
More important, can you think of any other
workaround than the one I used (restored the previously installed version)?
Secondary purpose of this post: There has been no traffic for
about two weeks in either this echo nor in OS2REXX.
Replying to a message of Murray Lesser to David Noon:>is actually quite reasonable. The change can be implemented using
"On OS/2, all 16-bit support has been dropped."
I have seen suggestions that you use JdeBP's 32-bit shim DLL. This
As a test, just to make sure the quoted message says what I was afraid>DosSelToFlat() in the link map? If not, then no address "thunking"
it says, I tried recompiling my KBREAD.PLI procedure and got a compile-time message to the effect that the compiler didn't recognize
the option "linkage(pascal16)" so was ignoring it. When I linked the newly compiled version to a test driver and ran it, I got an access violation Exception!
Did you see any external references to DosFlatToSel() or
More important, can you think of any other
workaround than the one I used (restored the previously installed version)?
Write your own call thunking routine in assembler. ... :-))
Still, the slack time has allowed me finally to decomission my old>80486 system and move totally to the AMD K6-III based machine I built
Date: Mon, 31 Jul 00 08:15:38 PDT
From: "Team PL/I Support" <teampli@vnet.ibm.com>
To: mlesser@ibm.net
Subject: 16-bit OS/2 apis
Hi Murray,
I'm sorry to have to tell you this, but the decision stands to remove
the support for 16-bit OS/2 apis. The suggestion is to stay at
fixpak#5 for this support.
Regards,
Carolyn Phoa-Ting
Team PL/I Support
--- FWUTILS ---
Conapi.Zip 02-11-100 64,787
JdeBP's 32-bit Unicode Console API, with
Developers' Toolkit, which
allows one to eliminate one more 16-bit vestige
from OS/2: the 16-bit
thunking code that has to be included in any otherwise 32-bit
application that uses the existing 16-bit
Console API that is supplied
with IBM OS/2 (a.k.a. the VIO, MOU, and KBD
subsystems) even in the very
latest versions. By using the 32-bit Unicode
Console API, applications
can be made purely 32-bit (as long as they
don't call any other 16-bit
APIs and don't use the 16-bit Console API internally within their
compiler's runtime libraries, of course). Also included is an
entrypoint-compatible replacement for the
broken 32TEXT package from IBM
that used to be on the DevCon CD-ROMs.
Instructions are in README.TXT.
(c) Copyright 1999-2000 Jonathan de Boyne
Pollard. All Rights reserved.
Conrt.Zip 02-11-100 15,545
JdeBP's 32-bit Unicode Console API Runtime DLLs
for OS/2 (c) Copyright
1999-2000 Jonathan de Boyne Pollard. All
Rights reserved. Install these
if your application uses the 32-bit Unicode
Console API and you are
running 32-bit IBM OS/2 (i.e. version 2.0 or
later). Instructions are
in README.TXT.
---
I'll gladly File Attach those to E-Mail.
BTW, JdeBP is still down, so he can't reply in here yet.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,028 |
Nodes: | 17 (1 / 16) |
Uptime: | 182:32:08 |
Calls: | 503,706 |
Calls today: | 9 |
Files: | 158,907 |
D/L today: |
15,799 files (4,777M bytes) |
Messages: | 444,372 |
Posted today: | 3 |