Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Without life, Biology itself would be impossible.


devel / comp.os.cpm / Re: Xsub Active

SubjectAuthor
* Xsub ActiveJack Fenton
`* Xsub ActiveDouglas Miller
 +* Xsub ActiveDouglas Miller
 |`* Xsub ActiveJack Fenton
 | +- Xsub ActiveDouglas Miller
 | `* Xsub Activefridtjof.ma...@gmail.com
 |  `* Xsub Activefridtjof.ma...@gmail.com
 |   `- Xsub ActiveDouglas Miller
 `* Xsub Activefridtjof.ma...@gmail.com
  `* Xsub ActiveJack Fenton
   `- Xsub ActiveJack Fenton

1
Xsub Active

<c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5038&group=comp.os.cpm#5038

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1447:b0:3b9:bfac:8327 with SMTP id v7-20020a05622a144700b003b9bfac8327mr996732qtx.315.1675478297498;
Fri, 03 Feb 2023 18:38:17 -0800 (PST)
X-Received: by 2002:a05:6808:170e:b0:364:f8aa:5cd4 with SMTP id
bc14-20020a056808170e00b00364f8aa5cd4mr468956oib.197.1675478297031; Fri, 03
Feb 2023 18:38:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Fri, 3 Feb 2023 18:38:16 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=50.39.140.17; posting-account=WBPJngoAAAAoNOmwJTC4RKbQhebmsq17
NNTP-Posting-Host: 50.39.140.17
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
Subject: Xsub Active
From: steven.j.caldwell@gmail.com (Jack Fenton)
Injection-Date: Sat, 04 Feb 2023 02:38:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1208
 by: Jack Fenton - Sat, 4 Feb 2023 02:38 UTC

Hi, it has been long time since I've looked at this but is there a way to get rid of "Xsub Active" (remove xsub from memory) other than doing a cold boot? I guess it isn't hurting much of anything but using up somewhere just below the BIOS.

Re: Xsub Active

<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5039&group=comp.os.cpm#5039

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:28d6:b0:72c:3855:7b1b with SMTP id l22-20020a05620a28d600b0072c38557b1bmr566241qkp.235.1675484412596;
Fri, 03 Feb 2023 20:20:12 -0800 (PST)
X-Received: by 2002:a05:6870:c090:b0:163:b9f9:53c4 with SMTP id
c16-20020a056870c09000b00163b9f953c4mr883954oad.85.1675484412365; Fri, 03 Feb
2023 20:20:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Fri, 3 Feb 2023 20:20:12 -0800 (PST)
In-Reply-To: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>
Subject: Re: Xsub Active
From: durgadas311@gmail.com (Douglas Miller)
Injection-Date: Sat, 04 Feb 2023 04:20:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1866
 by: Douglas Miller - Sat, 4 Feb 2023 04:20 UTC

As far as I can tell, XSUB should unload itself when it finishes with the submit file (and it gets deleted) - "$$$.SUB". But, there were vendors that customized or made their own version of xsub, so this might not be the official version. It could also be that something about your CP/M setup or BIOS version could be preventing it from detecting/deleting "$$$.SUB".

BTW, XSUB resides below the CCP and in order to do that it needs to assume the length of the CCP. If your system is using a custom CCP that is not the standard length of 0800H then you could be running into problems related to that (unless your XSUB was special-built for that system).

So, more information would help.

Re: Xsub Active

<b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5040&group=comp.os.cpm#5040

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:5b06:b0:535:59ca:6c67 with SMTP id ma6-20020a0562145b0600b0053559ca6c67mr782831qvb.25.1675485485511;
Fri, 03 Feb 2023 20:38:05 -0800 (PST)
X-Received: by 2002:a4a:6b42:0:b0:4f2:c92b:ebfa with SMTP id
h2-20020a4a6b42000000b004f2c92bebfamr441046oof.18.1675485485248; Fri, 03 Feb
2023 20:38:05 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.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.cpm
Date: Fri, 3 Feb 2023 20:38:05 -0800 (PST)
In-Reply-To: <efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com> <efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
Subject: Re: Xsub Active
From: durgadas311@gmail.com (Douglas Miller)
Injection-Date: Sat, 04 Feb 2023 04:38:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Douglas Miller - Sat, 4 Feb 2023 04:38 UTC

I'm finding conflicting information about XSUB. The CP/M 2.2 manual says:

The XSUB program remains in memory and prints the message "(xsub active)" on each
warm start operation to indicate its presence. Subsequent SUBMIT command streams
do not require the XSUB, unless an intervening cold start occurs.

Which suggests it can only be unloaded by a cold boot. However, the source code shows that if the $$$.SUB is gone when it tries to read a command/line it will unload itself. But the source code is not clear just when it intercepts the bdos calls and when it passes them through. The answer is probably in the build script, which I have not located. This detail is important in order to know how the CCP behaves when XSUB is active, and whether/when XSUB will detect that $$$.SUB has been deleted.

Re: Xsub Active

<6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5041&group=comp.os.cpm#5041

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:d241:0:b0:721:d7ca:6f89 with SMTP id f62-20020a37d241000000b00721d7ca6f89mr1100195qkj.465.1675487916175;
Fri, 03 Feb 2023 21:18:36 -0800 (PST)
X-Received: by 2002:a05:6870:b48d:b0:163:9ac9:7e35 with SMTP id
y13-20020a056870b48d00b001639ac97e35mr1099314oap.281.1675487915670; Fri, 03
Feb 2023 21:18:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Fri, 3 Feb 2023 21:18:35 -0800 (PST)
In-Reply-To: <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.39.140.17; posting-account=WBPJngoAAAAoNOmwJTC4RKbQhebmsq17
NNTP-Posting-Host: 50.39.140.17
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>
Subject: Re: Xsub Active
From: steven.j.caldwell@gmail.com (Jack Fenton)
Injection-Date: Sat, 04 Feb 2023 05:18:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2443
 by: Jack Fenton - Sat, 4 Feb 2023 05:18 UTC

On Friday, February 3, 2023 at 8:38:06 PM UTC-8, Douglas Miller wrote:
> I'm finding conflicting information about XSUB. The CP/M 2.2 manual says:
>
> The XSUB program remains in memory and prints the message "(xsub active)" on each
> warm start operation to indicate its presence. Subsequent SUBMIT command streams
> do not require the XSUB, unless an intervening cold start occurs.
>
> Which suggests it can only be unloaded by a cold boot. However, the source code shows that if the $$$.SUB is gone when it tries to read a command/line it will unload itself. But the source code is not clear just when it intercepts the bdos calls and when it passes them through. The answer is probably in the build script, which I have not located. This detail is important in order to know how the CCP behaves when XSUB is active, and whether/when XSUB will detect that $$$.SUB has been deleted.

Yes like PIP and other utilities, it was probably written in PL1. I know a cold boot fixes it and it looks like it actually resides in low memory below the CCP and not in high memory near the BIOS.

The mystery continues ...

Re: Xsub Active

<77c4703f-a106-4892-bf77-737f83c2ce7dn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5042&group=comp.os.cpm#5042

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a0c:b45c:0:b0:56b:4050:b0d8 with SMTP id e28-20020a0cb45c000000b0056b4050b0d8mr205195qvf.24.1675515067731;
Sat, 04 Feb 2023 04:51:07 -0800 (PST)
X-Received: by 2002:a05:6808:86:b0:378:3ce5:3c36 with SMTP id
s6-20020a056808008600b003783ce53c36mr695463oic.139.1675515067422; Sat, 04 Feb
2023 04:51:07 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Sat, 4 Feb 2023 04:51:07 -0800 (PST)
In-Reply-To: <6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
<6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <77c4703f-a106-4892-bf77-737f83c2ce7dn@googlegroups.com>
Subject: Re: Xsub Active
From: durgadas311@gmail.com (Douglas Miller)
Injection-Date: Sat, 04 Feb 2023 12:51:07 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1874
 by: Douglas Miller - Sat, 4 Feb 2023 12:51 UTC

XSUB was written in assembly, and is not very complicated. It also was not part of the original distribution, but was more of a "hack" added later. There were plenty of disclaimers associated with it. One place you can get the source (there are many) is:

https://github.com/durgadas311/MmsCpm3/blob/master/dist/cpm2/cmd/src/xsub0.asm
https://github.com/durgadas311/MmsCpm3/blob/master/dist/cpm2/cmd/src/xsub1.asm

The two parts are the loader/relocator (0) and the actual RSX (resident system extension) (1). I need to see if I can find the original DRI build scripts to explain some of it.

Re: Xsub Active

<9b616ced-4ac9-4cde-9e1a-f2a68a7a72f8n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5043&group=comp.os.cpm#5043

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:8d46:0:b0:71c:1f8e:1011 with SMTP id p67-20020a378d46000000b0071c1f8e1011mr918263qkd.394.1675515630136;
Sat, 04 Feb 2023 05:00:30 -0800 (PST)
X-Received: by 2002:a05:6870:f719:b0:160:214:1fca with SMTP id
ej25-20020a056870f71900b0016002141fcamr843246oab.197.1675515629565; Sat, 04
Feb 2023 05:00:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.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.cpm
Date: Sat, 4 Feb 2023 05:00:29 -0800 (PST)
In-Reply-To: <6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
<6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9b616ced-4ac9-4cde-9e1a-f2a68a7a72f8n@googlegroups.com>
Subject: Re: Xsub Active
From: fridtjof.martin.weigel@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Sat, 04 Feb 2023 13:00:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: fridtjof.ma...@gmail - Sat, 4 Feb 2023 13:00 UTC

On Saturday, February 4, 2023 at 12:18:37 AM UTC-5, Jack Fenton wrote:
> On Friday, February 3, 2023 at 8:38:06 PM UTC-8, Douglas Miller wrote:
> > I'm finding conflicting information about XSUB. The CP/M 2.2 manual says:
> >
> > The XSUB program remains in memory and prints the message "(xsub active)" on each
> > warm start operation to indicate its presence. Subsequent SUBMIT command streams
> > do not require the XSUB, unless an intervening cold start occurs.
> >
> > Which suggests it can only be unloaded by a cold boot. However, the source code shows that if the $$$.SUB is gone when it tries to read a command/line it will unload itself. But the source code is not clear just when it intercepts the bdos calls and when it passes them through. The answer is probably in the build script, which I have not located. This detail is important in order to know how the CCP behaves when XSUB is active, and whether/when XSUB will detect that $$$.SUB has been deleted.
> Yes like PIP and other utilities, it was probably written in PL1. I know a cold boot fixes it and it looks like it actually resides in low memory below the CCP and not in high memory near the BIOS.
>
> The mystery continues ...

XSUB goes resident, and stays resident in CP/M 2.2. Digital Research published a patch DEXSUB.COM which
removed XSUB from memory.

Re: Xsub Active

<2c66fa82-2c2e-45a3-8c4b-b4c305ae7e04n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5044&group=comp.os.cpm#5044

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:b5a:b0:706:8244:14d0 with SMTP id x26-20020a05620a0b5a00b00706824414d0mr1079536qkg.415.1675515920578;
Sat, 04 Feb 2023 05:05:20 -0800 (PST)
X-Received: by 2002:a05:6870:3281:b0:14c:793a:8ea8 with SMTP id
q1-20020a056870328100b0014c793a8ea8mr1131059oac.289.1675515920175; Sat, 04
Feb 2023 05:05:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Sat, 4 Feb 2023 05:05:19 -0800 (PST)
In-Reply-To: <9b616ced-4ac9-4cde-9e1a-f2a68a7a72f8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
<6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com> <9b616ced-4ac9-4cde-9e1a-f2a68a7a72f8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2c66fa82-2c2e-45a3-8c4b-b4c305ae7e04n@googlegroups.com>
Subject: Re: Xsub Active
From: fridtjof.martin.weigel@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Sat, 04 Feb 2023 13:05:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3513
 by: fridtjof.ma...@gmail - Sat, 4 Feb 2023 13:05 UTC

On Saturday, February 4, 2023 at 8:00:30 AM UTC-5, fridtjof.ma...@gmail.com wrote:
> On Saturday, February 4, 2023 at 12:18:37 AM UTC-5, Jack Fenton wrote:
> > On Friday, February 3, 2023 at 8:38:06 PM UTC-8, Douglas Miller wrote:
> > > I'm finding conflicting information about XSUB. The CP/M 2.2 manual says:
> > >
> > > The XSUB program remains in memory and prints the message "(xsub active)" on each
> > > warm start operation to indicate its presence. Subsequent SUBMIT command streams
> > > do not require the XSUB, unless an intervening cold start occurs.
> > >
> > > Which suggests it can only be unloaded by a cold boot. However, the source code shows that if the $$$.SUB is gone when it tries to read a command/line it will unload itself. But the source code is not clear just when it intercepts the bdos calls and when it passes them through. The answer is probably in the build script, which I have not located. This detail is important in order to know how the CCP behaves when XSUB is active, and whether/when XSUB will detect that $$$.SUB has been deleted.
> > Yes like PIP and other utilities, it was probably written in PL1. I know a cold boot fixes it and it looks like it actually resides in low memory below the CCP and not in high memory near the BIOS.
> >
> > The mystery continues ...
> XSUB goes resident, and stays resident in CP/M 2.2. Digital Research published a patch DEXSUB.COM which
> removed XSUB from memory.

DEXSUB.COM is 128 bytes (1 record). I do not have the source around, but here is the HEX file. Save as DEXSUB.HEX, then LOAD DEXSUB

:100100000E09110D01CD05000E00C305000D0A28D2
:10011000585355422044454143544956415445445F
:100120003B205E50205455524E4544204F464620B9
:100130004946204F4E292400000000000000000026
:1001400000000000000000000000000000000000AF
:10015000000000000000000000000000000000009F
:10016000000000000000000000000000000000008F
:10017000000000000000000000000000000000007F
:00000001FF

Re: Xsub Active

<ea7d23ea-3d2c-4d90-a4e4-d8c2e5109732n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5045&group=comp.os.cpm#5045

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:148c:b0:3b9:a48a:caef with SMTP id t12-20020a05622a148c00b003b9a48acaefmr1537459qtx.146.1675518553691;
Sat, 04 Feb 2023 05:49:13 -0800 (PST)
X-Received: by 2002:a05:6870:c090:b0:163:b9f9:53c4 with SMTP id
c16-20020a056870c09000b00163b9f953c4mr996191oad.85.1675518553491; Sat, 04 Feb
2023 05:49:13 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Sat, 4 Feb 2023 05:49:13 -0800 (PST)
In-Reply-To: <2c66fa82-2c2e-45a3-8c4b-b4c305ae7e04n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.42.194.246; posting-account=5XW4vgoAAADMD8xScYja8bdzAXoYQrTS
NNTP-Posting-Host: 96.42.194.246
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <b9924efe-4b08-4665-8c1b-18b6006bc391n@googlegroups.com>
<6598d83b-ef09-424b-8556-f4fe7755f8d8n@googlegroups.com> <9b616ced-4ac9-4cde-9e1a-f2a68a7a72f8n@googlegroups.com>
<2c66fa82-2c2e-45a3-8c4b-b4c305ae7e04n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ea7d23ea-3d2c-4d90-a4e4-d8c2e5109732n@googlegroups.com>
Subject: Re: Xsub Active
From: durgadas311@gmail.com (Douglas Miller)
Injection-Date: Sat, 04 Feb 2023 13:49:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2463
 by: Douglas Miller - Sat, 4 Feb 2023 13:49 UTC

Here's the (disassembled) source to DEXSUB.HEX:
===================; Supposedly, this program de-activates XSUB without cold boot.

CR equ 13
LF equ 10

bdos equ 5

reset equ 0
fprint equ 9

org 0100h

mvi c,fprint
lxi d,deact
call bdos
mvi c,reset
jmp bdos

deact: db CR,LF,'(XSUB DEACTIVATED; ^P TURNED OFF IF ON)$'

end
==================At first glance, it may not be clear how this deactivates XSUB. But if you look at the CP/M 2.2 BDOS you see that BDOS function 0 ("reset") does a direct jump to the BIOS warm boot function (does NOT jump to 0000, which was altered by XSUB). This depends on the BIOS doing a traditional warm boot, where it reloads the BDOS and CCP from disk and (most importantly) regenerates the page 0 jumps, which would effectively eradicate XSUB.

Re: Xsub Active

<0a744d58-5999-4779-980d-8b2fb216459an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5046&group=comp.os.cpm#5046

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:d241:0:b0:721:d7ca:6f89 with SMTP id f62-20020a37d241000000b00721d7ca6f89mr1199184qkj.465.1675523932020;
Sat, 04 Feb 2023 07:18:52 -0800 (PST)
X-Received: by 2002:a05:6870:d20c:b0:163:1789:8423 with SMTP id
g12-20020a056870d20c00b0016317898423mr660657oac.36.1675523931724; Sat, 04 Feb
2023 07:18:51 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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.cpm
Date: Sat, 4 Feb 2023 07:18:51 -0800 (PST)
In-Reply-To: <efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:9364:3f00:fe06:aab2:28a3:a5be
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com> <efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a744d58-5999-4779-980d-8b2fb216459an@googlegroups.com>
Subject: Re: Xsub Active
From: fridtjof.martin.weigel@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Sat, 04 Feb 2023 15:18:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2364
 by: fridtjof.ma...@gmail - Sat, 4 Feb 2023 15:18 UTC

On Friday, February 3, 2023 at 11:20:13 PM UTC-5, Douglas Miller wrote:
> As far as I can tell, XSUB should unload itself when it finishes with the submit file (and it gets deleted) - "$$$.SUB". But, there were vendors that customized or made their own version of xsub, so this might not be the official version. It could also be that something about your CP/M setup or BIOS version could be preventing it from detecting/deleting "$$$.SUB".
>
> BTW, XSUB resides below the CCP and in order to do that it needs to assume the length of the CCP. If your system is using a custom CCP that is not the standard length of 0800H then you could be running into problems related to that (unless your XSUB was special-built for that system).
>
> So, more information would help.

CP/NET came with its own version of XSUB -- XSUBNET. My R loader accomodates "normal" or CP/NET
CCP to determine if it is safe to allow RET to CCP from transient program. See

https://github.com/ratboy666/r
I've wondered if there is an easier approach?!?

Re: Xsub Active

<5f3e8e22-2745-4999-9afb-183cb8ba75f5n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5048&group=comp.os.cpm#5048

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:3188:b0:539:ccd6:9f94 with SMTP id lb8-20020a056214318800b00539ccd69f94mr880877qvb.75.1675566198389;
Sat, 04 Feb 2023 19:03:18 -0800 (PST)
X-Received: by 2002:aca:df07:0:b0:37a:fb61:fe84 with SMTP id
w7-20020acadf07000000b0037afb61fe84mr244296oig.125.1675566197964; Sat, 04 Feb
2023 19:03:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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.cpm
Date: Sat, 4 Feb 2023 19:03:17 -0800 (PST)
In-Reply-To: <0a744d58-5999-4779-980d-8b2fb216459an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.39.140.17; posting-account=WBPJngoAAAAoNOmwJTC4RKbQhebmsq17
NNTP-Posting-Host: 50.39.140.17
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <0a744d58-5999-4779-980d-8b2fb216459an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5f3e8e22-2745-4999-9afb-183cb8ba75f5n@googlegroups.com>
Subject: Re: Xsub Active
From: steven.j.caldwell@gmail.com (Jack Fenton)
Injection-Date: Sun, 05 Feb 2023 03:03:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3144
 by: Jack Fenton - Sun, 5 Feb 2023 03:03 UTC

On Saturday, February 4, 2023 at 7:18:52 AM UTC-8, fridtjof.ma...@gmail.com wrote:
> On Friday, February 3, 2023 at 11:20:13 PM UTC-5, Douglas Miller wrote:
> > As far as I can tell, XSUB should unload itself when it finishes with the submit file (and it gets deleted) - "$$$.SUB". But, there were vendors that customized or made their own version of xsub, so this might not be the official version. It could also be that something about your CP/M setup or BIOS version could be preventing it from detecting/deleting "$$$.SUB".
> >
> > BTW, XSUB resides below the CCP and in order to do that it needs to assume the length of the CCP. If your system is using a custom CCP that is not the standard length of 0800H then you could be running into problems related to that (unless your XSUB was special-built for that system).
> >
> > So, more information would help.
> CP/NET came with its own version of XSUB -- XSUBNET. My R loader accomodates "normal" or CP/NET
> CCP to determine if it is safe to allow RET to CCP from transient program.. See
>
> https://github.com/ratboy666/r
>
> I've wondered if there is an easier approach?!?

Yes, for me, I will need to figure out how to modify it for my system which is actually running NZ-Com with ZSDos Extensions so the CCP is certainly it's own thing here. NZ-COM uses XSUBZ instead of XSUB and yes, it seems to stay resident. I guess the developers replicated the original issue the Digitial Research originally designed but never patched the update and DR did.

I assembled and ran the program but although it reported XSub no longer active, the process of restoring the vectors is probably different as I'm still getting the message "XSubz Active" with every warm boot. Not a big deal but thanks for all that answered!

Re: Xsub Active

<42bcdd6b-9ea0-43ef-8e97-d7ee84566aean@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5051&group=comp.os.cpm#5051

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:4b:b0:3a8:179f:b1ba with SMTP id y11-20020a05622a004b00b003a8179fb1bamr2004353qtw.47.1675614172879;
Sun, 05 Feb 2023 08:22:52 -0800 (PST)
X-Received: by 2002:a05:6871:94:b0:163:4553:2be0 with SMTP id
u20-20020a056871009400b0016345532be0mr1284882oaa.69.1675614172523; Sun, 05
Feb 2023 08:22:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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.cpm
Date: Sun, 5 Feb 2023 08:22:50 -0800 (PST)
In-Reply-To: <5f3e8e22-2745-4999-9afb-183cb8ba75f5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.39.140.17; posting-account=WBPJngoAAAAoNOmwJTC4RKbQhebmsq17
NNTP-Posting-Host: 50.39.140.17
References: <c7bb87c8-35c3-4b91-889c-7bac2cf9039dn@googlegroups.com>
<efe97d7f-6ab0-4b5b-ad8c-df8338aea6d9n@googlegroups.com> <0a744d58-5999-4779-980d-8b2fb216459an@googlegroups.com>
<5f3e8e22-2745-4999-9afb-183cb8ba75f5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <42bcdd6b-9ea0-43ef-8e97-d7ee84566aean@googlegroups.com>
Subject: Re: Xsub Active
From: steven.j.caldwell@gmail.com (Jack Fenton)
Injection-Date: Sun, 05 Feb 2023 16:22:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3571
 by: Jack Fenton - Sun, 5 Feb 2023 16:22 UTC

I found my issue was I was running a shell on my NZ-Com systems so it was keeping XSUB active. So I have to exit the shell and XSUBZ will properly terminate automatically if there is no $$$.sub in the A0: area on this disk. I was running LSH.

On Saturday, February 4, 2023 at 7:03:19 PM UTC-8, Jack Fenton wrote:
> On Saturday, February 4, 2023 at 7:18:52 AM UTC-8, fridtjof.ma...@gmail.com wrote:
> > On Friday, February 3, 2023 at 11:20:13 PM UTC-5, Douglas Miller wrote:
> > > As far as I can tell, XSUB should unload itself when it finishes with the submit file (and it gets deleted) - "$$$.SUB". But, there were vendors that customized or made their own version of xsub, so this might not be the official version. It could also be that something about your CP/M setup or BIOS version could be preventing it from detecting/deleting "$$$.SUB".
> > >
> > > BTW, XSUB resides below the CCP and in order to do that it needs to assume the length of the CCP. If your system is using a custom CCP that is not the standard length of 0800H then you could be running into problems related to that (unless your XSUB was special-built for that system).
> > >
> > > So, more information would help.
> > CP/NET came with its own version of XSUB -- XSUBNET. My R loader accomodates "normal" or CP/NET
> > CCP to determine if it is safe to allow RET to CCP from transient program. See
> >
> > https://github.com/ratboy666/r
> >
> > I've wondered if there is an easier approach?!?
> Yes, for me, I will need to figure out how to modify it for my system which is actually running NZ-Com with ZSDos Extensions so the CCP is certainly it's own thing here. NZ-COM uses XSUBZ instead of XSUB and yes, it seems to stay resident. I guess the developers replicated the original issue the Digitial Research originally designed but never patched the update and DR did.
>
> I assembled and ran the program but although it reported XSub no longer active, the process of restoring the vectors is probably different as I'm still getting the message "XSubz Active" with every warm boot. Not a big deal but thanks for all that answered!

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor