• Re: position-independent code (was Re: CMS, Self-hosting and the 6502)

    From Richard@3:633/10 to All on Thursday, September 17, 2026 17:06:31
    John Levine <johnl@taugh.com> spake the secret code <1184vv2$pfs$2@gal.iecc.com> thusly:

    What TSS actually did was to divide each module into position independent >read-only CSECTs and relocatable read-write PSECTs, and extend the calling >sequence so each routine had a pair of addresses, the code address in its >CSECT and the base of its data PSECT. So all of the CSECT pages were
    shared, and the PSECT pages had a separate copy in each process.

    See my book for more details.

    Which book is that?
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
    The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Scott Lurndal@3:633/10 to All on Thursday, September 17, 2026 17:56:18
    legalize+jeeves@mail.xmission.com (Richard) writes:
    John Levine <johnl@taugh.com> spake the secret code ><1184vv2$pfs$2@gal.iecc.com> thusly:

    What TSS actually did was to divide each module into position independent >>read-only CSECTs and relocatable read-write PSECTs, and extend the calling >>sequence so each routine had a pair of addresses, the code address in its >>CSECT and the base of its data PSECT. So all of the CSECT pages were >>shared, and the PSECT pages had a separate copy in each process.

    See my book for more details.

    Which book is that?

    Why not ask google? Takes about 5 seconds to get the answer.

    Hint: program loader

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Andy Valencia@3:633/10 to All on Thursday, September 17, 2026 11:32:09
    scott@slp53.sl.home (Scott Lurndal) writes:
    Hint: program loader

    This one, presumably:

    https://linker.iecc.com/

    Andy Valencia

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Richard@3:633/10 to All on Friday, September 18, 2026 14:08:36
    slp53@pacbell.net spake the secret code
    <6RVqS.32437$Sh34.6744@fx03.iad> thusly:

    legalize+jeeves@mail.xmission.com (Richard) writes:
    John Levine <johnl@taugh.com> spake the secret code >><1184vv2$pfs$2@gal.iecc.com> thusly:

    What TSS actually did was to divide each module into position independent >>>read-only CSECTs and relocatable read-write PSECTs, and extend the calling >>>sequence so each routine had a pair of addresses, the code address in its >>>CSECT and the base of its data PSECT. So all of the CSECT pages were >>>shared, and the PSECT pages had a separate copy in each process.

    See my book for more details.

    Which book is that?

    Why not ask google?

    Because I'm having a conversation with a human being?

    Takes about 5 seconds to get the answer.

    It took you longer to scold me than it would've taken you to share the
    answer to my question.
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
    The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Nuno Silva@3:633/10 to All on Friday, September 18, 2026 19:29:38
    On 2026-09-18, Richard wrote:

    slp53@pacbell.net spake the secret code
    <6RVqS.32437$Sh34.6744@fx03.iad> thusly:

    legalize+jeeves@mail.xmission.com (Richard) writes:
    John Levine <johnl@taugh.com> spake the secret code >>><1184vv2$pfs$2@gal.iecc.com> thusly:

    What TSS actually did was to divide each module into position independent >>>>read-only CSECTs and relocatable read-write PSECTs, and extend the calling >>>>sequence so each routine had a pair of addresses, the code address in its >>>>CSECT and the base of its data PSECT. So all of the CSECT pages were >>>>shared, and the PSECT pages had a separate copy in each process.

    See my book for more details.

    Which book is that?

    Why not ask google?

    Because I'm having a conversation with a human being?

    Takes about 5 seconds to get the answer.

    It took you longer to scold me than it would've taken you to share the
    answer to my question.

    +1, and also I think you're putting too much faith in Google Web Search
    being able to provide relevant results. I can't see how well does it
    fare myself because Google really really wants search users to run
    Javascript.


    --
    Nuno Silva

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Ames@3:633/10 to All on Friday, September 18, 2026 12:00:05
    On Fri, 18 Sep 2026 19:29:38 +0100
    Nuno Silva <nunojsilva@invalid.invalid> wrote:

    +1, and also I think you're putting too much faith in Google Web
    Search being able to provide relevant results. I can't see how well
    does it fare myself because Google really really wants search users
    to run Javascript.

    +1 to *this.* Google has been getting steadily worse for years now, and
    when they started refusing to function at all without JS that was the
    last straw for me.


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Charlie Gibbs@3:633/10 to All on Friday, September 18, 2026 20:35:39
    On 2026-09-18, John Ames <commodorejohn@gmail.com> wrote:

    On Fri, 18 Sep 2026 19:29:38 +0100
    Nuno Silva <nunojsilva@invalid.invalid> wrote:

    +1, and also I think you're putting too much faith in Google Web
    Search being able to provide relevant results. I can't see how well
    does it fare myself because Google really really wants search users
    to run Javascript.

    +1 to *this.* Google has been getting steadily worse for years now, and
    when they started refusing to function at all without JS that was the
    last straw for me.

    Fortunately, there are other search engines.
    I haven't used Google for a long time.

    https://duckduckgo.com

    Or,

    https://noai.duckduckgo.com

    if you want to avoid getting AI involved.

    --
    /~\ Charlie Gibbs | In this world there are
    \ / <cgibbs@kltpzyxm.invalid> | two kinds of people:
    X I'm really at ac.dekanfrus | 1. Those who can extrapolate
    / \ if you read it the right way. | from incomplete data.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)