Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If you analyse anything, you destroy it. -- Arthur Miller


devel / comp.os.msdos.programmer / Re: family API

SubjectAuthor
* family APImuta...@gmail.com
`* Re: family APIJJ
 `* Re: family APImuta...@gmail.com
  `- Re: family APImuta...@gmail.com

1
family API

<433aad80-6262-42b9-a992-c56386c951c2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10009&group=comp.os.msdos.programmer#10009

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:ac8:7d07:0:b0:3f9:ad6a:e08e with SMTP id g7-20020ac87d07000000b003f9ad6ae08emr2480818qtb.5.1687080672640;
Sun, 18 Jun 2023 02:31:12 -0700 (PDT)
X-Received: by 2002:a9d:7314:0:b0:6b4:2a9a:2d02 with SMTP id
e20-20020a9d7314000000b006b42a9a2d02mr918611otk.4.1687080672219; Sun, 18 Jun
2023 02:31:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Sun, 18 Jun 2023 02:31:11 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=209.35.170.10; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 209.35.170.10
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <433aad80-6262-42b9-a992-c56386c951c2n@googlegroups.com>
Subject: family API
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 18 Jun 2023 09:31:12 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1375
 by: muta...@gmail.com - Sun, 18 Jun 2023 09:31 UTC

This exists:

http://www.osfree.org/doku/en:docs:fapi

Also Family API file contains emulation library which translates OS/2 API calls to DOS interrupt calls.

I would like to know the DOS interrupt call that did this Family API function:

DosGetHugeShift

http://www.osfree.org/doku/en:docs:fapi:dosgethugeshift

http://www.edm2.com/index.php/DosGetHugeShift

Anyone know?

Thanks. Paul.

Re: family API

<1jj0kzar60smh$.1i6k0b7jmekim.dlg@40tude.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10010&group=comp.os.msdos.programmer#10010

  copy link   Newsgroups: comp.os.msdos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@outlook.com (JJ)
Newsgroups: comp.os.msdos.programmer
Subject: Re: family API
Date: Mon, 19 Jun 2023 00:51:31 +0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <1jj0kzar60smh$.1i6k0b7jmekim.dlg@40tude.net>
References: <433aad80-6262-42b9-a992-c56386c951c2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="fc46acb448ad7ea818da7716567a94f6";
logging-data="1814811"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dlJo7PyGxKD3Urlaxfs4rpzEUgvUbYMg="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:qdALhFo3PdM+ToUID10tohNKLAA=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
 by: JJ - Sun, 18 Jun 2023 17:51 UTC

On Sun, 18 Jun 2023 02:31:11 -0700 (PDT), muta...@gmail.com wrote:
> This exists:
>
> http://www.osfree.org/doku/en:docs:fapi
>
> Also Family API file contains emulation library which translates OS/2 API calls to DOS interrupt calls.
>
> I would like to know the DOS interrupt call that did this Family API function:
>
> DosGetHugeShift
>
> http://www.osfree.org/doku/en:docs:fapi:dosgethugeshift
>
> http://www.edm2.com/index.php/DosGetHugeShift
>
> Anyone know?
>
> Thanks. Paul.

No such thing. It's an emulator for OS/2 CP API. There's no DOS interrupt
equivalent for it. Everything is done manually.

Re: family API

<592c6fad-d867-4fdf-8549-321a31578ed2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10016&group=comp.os.msdos.programmer#10016

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:ad4:48d2:0:b0:62d:e679:c272 with SMTP id v18-20020ad448d2000000b0062de679c272mr1911954qvx.4.1687220079078;
Mon, 19 Jun 2023 17:14:39 -0700 (PDT)
X-Received: by 2002:a05:6870:5b02:b0:1a6:cd11:fa06 with SMTP id
ds2-20020a0568705b0200b001a6cd11fa06mr2185446oab.1.1687220078630; Mon, 19 Jun
2023 17:14:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Mon, 19 Jun 2023 17:14:38 -0700 (PDT)
In-Reply-To: <1jj0kzar60smh$.1i6k0b7jmekim.dlg@40tude.net>
Injection-Info: google-groups.googlegroups.com; posting-host=111.90.198.55; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 111.90.198.55
References: <433aad80-6262-42b9-a992-c56386c951c2n@googlegroups.com> <1jj0kzar60smh$.1i6k0b7jmekim.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <592c6fad-d867-4fdf-8549-321a31578ed2n@googlegroups.com>
Subject: Re: family API
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Tue, 20 Jun 2023 00:14:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 35
 by: muta...@gmail.com - Tue, 20 Jun 2023 00:14 UTC

On Monday, June 19, 2023 at 1:51:33 AM UTC+8, JJ wrote:
> On Sun, 18 Jun 2023 02:31:11 -0700 (PDT), muta...@gmail.com wrote:
> > This exists:
> >
> > http://www.osfree.org/doku/en:docs:fapi
> >
> > Also Family API file contains emulation library which translates OS/2 API calls to DOS interrupt calls.
> >
> > I would like to know the DOS interrupt call that did this Family API function:
> >
> > DosGetHugeShift
> >
> > http://www.osfree.org/doku/en:docs:fapi:dosgethugeshift
> >
> > http://www.edm2.com/index.php/DosGetHugeShift
> >
> > Anyone know?

> No such thing. It's an emulator for OS/2 CP API. There's no DOS interrupt
> equivalent for it. Everything is done manually.

Can you elaborate on this please?

First of all, what is "CP"?

I assume that you agree that SOME family APIs have DOS interrupt
equivalents? Like DosOpen would eventually call an INT 21H.

So was your statement specific to this one family API function?
If it detects (any idea how that is done?) that the environment is
MSDOS instead of OS2 it simply hardcodes a shift value?

Thanks. Paul.

Re: family API

<ce27dbc8-a96f-454f-88ab-21a9794ade6bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10017&group=comp.os.msdos.programmer#10017

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:a37:434e:0:b0:762:1bc6:b479 with SMTP id q75-20020a37434e000000b007621bc6b479mr1341105qka.11.1687251606102;
Tue, 20 Jun 2023 02:00:06 -0700 (PDT)
X-Received: by 2002:aca:3486:0:b0:39e:cdce:5e0b with SMTP id
b128-20020aca3486000000b0039ecdce5e0bmr1225344oia.5.1687251605267; Tue, 20
Jun 2023 02:00:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Tue, 20 Jun 2023 02:00:04 -0700 (PDT)
In-Reply-To: <592c6fad-d867-4fdf-8549-321a31578ed2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=111.90.198.55; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 111.90.198.55
References: <433aad80-6262-42b9-a992-c56386c951c2n@googlegroups.com>
<1jj0kzar60smh$.1i6k0b7jmekim.dlg@40tude.net> <592c6fad-d867-4fdf-8549-321a31578ed2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce27dbc8-a96f-454f-88ab-21a9794ade6bn@googlegroups.com>
Subject: Re: family API
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Tue, 20 Jun 2023 09:00:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: muta...@gmail.com - Tue, 20 Jun 2023 09:00 UTC

On Tuesday, June 20, 2023 at 8:14:39 AM UTC+8, muta...@gmail.com wrote:

> If it detects (any idea how that is done?) that the environment is
> MSDOS instead of OS2 it simply hardcodes a shift value?

I found this:

http://www.edm2.com/index.php/DosGetMachineMode

But it still doesn't answer my question.

But I think I've figured out the answer.

There will be an "NE" (instead of "PE") marking in the
executable. When running under OS/2 1.0 it will go
straight to the NE code and run it appropriately, and
it knows at that point that it is OS/2. And the bindings
to the above 2 functions will be done against a DLL.

But if it is running under MSDOS, it will execute the MZ
part of the code, and at that point it knows that it is
MSDOS, and then it will "manually" bind all the NE
calls to its own MZ code, and then execute the NE
code. And the MZ portion of the code may or may
not do an INT 21H call, depending on what the function is.

BFN. Paul.


devel / comp.os.msdos.programmer / Re: family API

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor