Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Those who can, do; those who can't, simulate.


computers / alt.folklore.computers / Re: Getting started with Assembly language

SubjectAuthor
* Getting started with Assembly languageVansh Kapoor
+* Re: Getting started with Assembly languagePete
|`* Re: Getting started with Assembly languageDavid LaRue
| `* Re: Getting started with Assembly languagePeter Flass
|  `* Re: Getting started with Assembly languageBorax Man
|   `* Re: Getting started with Assembly languagePeter Flass
|    +* Re: Getting started with Assembly languageVir Campestris
|    |+* Re: Getting started with Assembly languageBob Eager
|    ||+* Re: Getting started with Assembly languageScott Lurndal
|    |||`* Re: Getting started with Assembly languageJuan
|    ||| `- Re: Getting started with Assembly languageBob Eager
|    ||`- Re: Getting started with Assembly languageCharlie Gibbs
|    |+* Re: Getting started with Assembly languageAndy Walker
|    ||`* Re: Getting started with Assembly languageScott Lurndal
|    || `* Re: Getting started with Assembly languageAndy Walker
|    ||  +* Re: Getting started with Assembly languageCharlie Gibbs
|    ||  |+* Re: Getting started with Assembly languageAndy Walker
|    ||  ||+* Re: Getting started with Assembly languageScott Lurndal
|    ||  |||`* Re: Getting started with Assembly languagePeter Flass
|    ||  ||| +- Re: Getting started with Assembly languageScott Lurndal
|    ||  ||| `- Re: Getting started with Assembly languageVir Campestris
|    ||  ||`- Re: Getting started with Assembly languageBob Eager
|    ||  |`* Re: Getting started with Assembly languageScott Lurndal
|    ||  | `- Re: Getting started with Assembly languagePeter Flass
|    ||  `* Re: Getting started with Assembly languageVir Campestris
|    ||   `* Re: Getting started with Assembly languageSn!pe
|    ||    +- Re: Getting started with Assembly languageCharlie Gibbs
|    ||    `* Re: Getting started with Assembly languagePeter Flass
|    ||     +* Re: Getting started with Assembly languageAhem A Rivet's Shot
|    ||     |`* Re: Getting started with Assembly languageScott Lurndal
|    ||     | `* Re: Getting started with Assembly languageBob Eager
|    ||     |  `- Re: Getting started with Assembly languageBob Martin
|    ||     `* Re: 2 mny abbrs, Getting started with Assembly languageJohn Levine
|    ||      `- Re: 2 mny abbrs, Getting started with Assembly languageSn!pe
|    |`* 286 Protected Mode (Was: Re: Getting started with Assembly language)Lars Poulsen
|    | +- Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)John Levine
|    | +* Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)Scott Lurndal
|    | |+* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemJohn Levine
|    | ||+* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingAhem A Rivet's Shot
|    | |||+* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | ||||`- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingAhem A Rivet's Shot
|    | |||`* Re: segments yes and no, 286 Protected Mode (Was: Re:Peter Flass
|    | ||| `* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||  +* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingJohn Levine
|    | |||  |`- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||  `* Re: Getting started with Assembly language)Bob Martin
|    | |||   +* Re: Getting started with Assembly language)Bob Eager
|    | |||   |`* Re: Getting started with Assembly language)Vir Campestris
|    | |||   | `- Re: Getting started with Assembly language)Bob Eager
|    | |||   +- Re: Getting started with Assembly language)Ahem A Rivet's Shot
|    | |||   `- Re: Getting started with Assembly language)Scott Lurndal
|    | ||+* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemScott Lurndal
|    | |||+- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |||`* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemJohn Levine
|    | ||| `* Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with AssemScott Lurndal
|    | |||  `- Re: Unix ancient history, segments yes and noJohn Levine
|    | ||`* Re: segments yes and no, 286 Protected Mode (Was: Re: GettingThomas Koenig
|    | || `- Re: segments yes and no, 286 Protected Mode (Was: Re: GettingCharlie Gibbs
|    | |`* Re: 286 Protected Mode (Was: Re: Getting started with AssemblyLars Poulsen
|    | | `- Re: 286 Protected Mode (Was: Re: Getting started with AssemblyBob Eager
|    | `- Re: 286 Protected Mode (Was: Re: Getting started withPeter Flass
|    +* Re: Getting started with Assembly languageBorax Man
|    |`- Re: Getting started with Assembly languageKerr-Mudd, John
|    `- Re: Getting started with Assembly languageBorax Man
+- Re: Getting started with Assembly languageJohn Levine
`- Re: Getting started with Assembly languageSyber Shock

Pages:123
Re: Getting started with Assembly language

<EGJ9N.107328$AqO5.67366@fx11.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8877&group=alt.folklore.computers#8877

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
Newsgroups: alt.folklore.computers
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Getting started with Assembly language
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me>
<uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 18
Message-ID: <EGJ9N.107328$AqO5.67366@fx11.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 29 Nov 2023 16:30:28 UTC
Date: Wed, 29 Nov 2023 16:30:28 GMT
X-Received-Bytes: 1685
 by: Charlie Gibbs - Wed, 29 Nov 2023 16:30 UTC

On 2023-11-29, Sn!pe <snipeco.2@gmail.com> wrote:

> 'm/c' for 'machine' was standard usage in the late '60s - early '70s;

In some circles, perhaps, but I never saw it.

> I was a hardware man fixing 2nd. gen. mainframes when they went t/u.

I can see some bored etymologist digging into the origins of this
slash notation. It appears in several fields.

Can't fly today, the A/C is U/S.

--
/~\ Charlie Gibbs | The Internet is like a big city:
\ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
X I'm really at ac.dekanfrus | excitement, but also dark alleys
/ \ if you read it the right way. | down which the unwary get mugged.

Re: Getting started with Assembly language

<1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8879&group=alt.folklore.computers#8879

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter_flass@yahoo.com (Peter Flass)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 12:07:19 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
<uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad>
<uk5ld1$e8qd$1@dont-email.me>
<uk78jl$qhrk$1@dont-email.me>
<1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b5b5cfed4550a9502df7a458fb279532";
logging-data="1018746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jzr7Uvv6vkCy+tpGG1fg+"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:2gpRoJKvrI7tNN6enspo3GxmAjk=
sha1:o5IG3t4nVLsmX/PDveid6x0pohY=
 by: Peter Flass - Wed, 29 Nov 2023 19:07 UTC

Sn!pe <snipeco.2@gmail.com> wrote:
> Vir Campestris <vir.campestris@invalid.invalid> wrote:
>
>> On 28/11/2023 21:17, Andy Walker wrote:
>>> On 28/11/2023 16:15, Scott Lurndal wrote:
>>> [I wrote:]
>>>>> [...] I started with Atlas [apart from a brief go with
>>>>> Edsac] in '66, and still have a shelf-full of snaffled m/c code, [...].
>>>> Have you considered donating that to one of the museums (such as CHM?)
>>>
>>> Yes, but it's not in usable form and I have no great inclination to
>>> spend my declining years writing it up. The offer of GBP 10^6 or so
>>> might perhaps, but probably wouldn't, change my mind. The Computer
>>> Conservation Society already has a copy of the Atlas O/S, I believe.
>>>
>>> Atlas was a brilliant machine, with an innovative architecture and
>>> machine code, but the assembler [ABL] was execrable [though ingenious].
>>> You had to learn all the numbers for instructions; very few symbolics.
>>>
>>>> m/c must be a British abbreviation for something...
>>>
>>> Surely they have motor cycles in Left-Pondia? Not to be confused
>>> with M/cr, which is Manchester; nor with mc, which is a hammer.
>>>
>>> [Vir C:]
>>
>> It wasn't me that wrote m/c. But I have seen it used for machine. Not
>> recently though I think.
>
> [...]
>
> 'm/c' for 'machine' was standard usage in the late '60s - early '70s;
> I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
>

Lemme guess - “tits up.”

--
Pete

Re: Getting started with Assembly language

<1535566342.722977141.249067.peter_flass-yahoo.com@news.eternal-september.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8880&group=alt.folklore.computers#8880

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter_flass@yahoo.com (Peter Flass)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 12:07:20 -0700
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <1535566342.722977141.249067.peter_flass-yahoo.com@news.eternal-september.org>
References: <GAy9N.87597$yvY5.24535@fx10.iad>
<memo.20231129094452.17100a@jgd.cix.co.uk>
<06I9N.30145$%p%e.19385@fx43.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b5b5cfed4550a9502df7a458fb279532";
logging-data="1018746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LwrxxYij4RKCib8F5adDB"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:cGREUmXaxsJAAk3hjcPo3KygGeA=
sha1:VXxIVv1U6t8nTbrDRcnzl5MQIeU=
 by: Peter Flass - Wed, 29 Nov 2023 19:07 UTC

Scott Lurndal <scott@slp53.sl.home> wrote:
> jgd@cix.co.uk (John Dallman) writes:
>> In article <GAy9N.87597$yvY5.24535@fx10.iad>, cgibbs@kltpzyxm.invalid
>> (Charlie Gibbs) wrote:
>>> On 2023-11-28, Andy Walker <anw@cuboid.co.uk> wrote:
>>>> Yes, but how many programmers get to worry about such things? If
>>>> a compiler produces an executable that "doesn't work", it's dealt
>>>> with by the compiler writers rather than by the "higher-level"
>>>> program writers.
>>>
>>> Sometimes. On the other hand, if you have a compiler that's
>>> generating bad code in a program that you need yesterday, you
>>> might have to change your code to something equivalent which
>>> compiles successfully.
>>
>> And if you need to report compiler bugs, being able to point to exactly
>> what's wrong in the generated code means your bugs get fixed /much/
>> faster.
>
> And it may not even be a compiler bug, but a simple programming
> error. Stepping through the generated assembler with a debugger
> can be quite useful.
>

Being a user of my own compiler is where it gets interesting. One of the
first things I learned was “don’t blame the compiler”, at least until
there’s no other possibility. Now I’ll blame the compiler first, and spend
quite a bit of time, only to find out it’s my own application error.

--
Pete

Re: Getting started with Assembly language

<373174158.722977369.024017.peter_flass-yahoo.com@news.eternal-september.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8881&group=alt.folklore.computers#8881

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: peter_flass@yahoo.com (Peter Flass)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 12:07:22 -0700
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <373174158.722977369.024017.peter_flass-yahoo.com@news.eternal-september.org>
References: <GAy9N.87597$yvY5.24535@fx10.iad>
<memo.20231129094452.17100a@jgd.cix.co.uk>
<uk7f6v$rr6v$1@dont-email.me>
<cdI9N.30146$%p%e.5369@fx43.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b5b5cfed4550a9502df7a458fb279532";
logging-data="1018746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182hYt3AWe3Ijh4SPxqb3Je"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:7yjNOdJaNGRZDCPfhdX3an/pxIU=
sha1:Bumt9Su0+VD3WmHWPD22R+boNbI=
 by: Peter Flass - Wed, 29 Nov 2023 19:07 UTC

Scott Lurndal <scott@slp53.sl.home> wrote:
> Andy Walker <anw@cuboid.co.uk> writes:
>> On 29/11/2023 09:44, John Dallman wrote:
>>> In article <GAy9N.87597$yvY5.24535@fx10.iad>, cgibbs@kltpzyxm.invalid
>>> (Charlie Gibbs) wrote:
>> [I wrote:]
>>>>> Yes, but how many programmers get to worry about such things? If
>>>>> a compiler produces an executable that "doesn't work", it's dealt
>>>>> with by the compiler writers rather than by the "higher-level"
>>>>> program writers.
>>>> Sometimes. On the other hand, if you have a compiler that's
>>>> generating bad code in a program that you need yesterday, you
>>>> might have to change your code to something equivalent which
>>>> compiles successfully. BTDTGTS.
>>
>> Well, likewise. But [normally] that's a problem of re-writing
>> your program [and/or perhaps, eg, switching off aggressive optimisation]
>> rather than delving into the generated assembler. Anything else is even
>> more niche than the cases described earlier.
>
> It's much quicker, particularly in a very large application, to
> either debug post failure (e.g. SIGSEGV) with a good debugger
> in which case knowing the assembler is useful, or to set a breakpoint
> and step through the instruction sequence to see exactly what is
> happening. I've done this many times over the last four decades
> on systems from mainframes to microcontrollers. Most recently,
> this morning to debug a SIGSEGV in a C++ application.

Some days I practically live in the debugger.

>
>>
>>> And if you need to report compiler bugs, being able to point to exactly
>>> what's wrong in the generated code means your bugs get fixed /much/
>>> faster.
>> Yes, but since the 1980s the chances are that the "generated code"
>> is C or similar rather than assembler.
>
> I absolutely disagree with this statement. I haven't used a compiler
> that generates C since C++2.1/3.0 in the early 1990's. I'm not aware of
> any modern compiler (from Ada to Python) that generates intermediate
> C code.
>

I believe gcc has some type of fairly well-defined intermediate code. Some
compilers compile to this and use gcc’s back end to generate machine code.

> And as someone who has extensive experience debugging cfront (the
> original C++ compiler which generated C), the resulting C code
> is completely unreadable and hardly useful for debugging application
> code. I had to debug a register allocation issue with the underlying
> C compiler used to compile the output from cfront once, and the
> internal expression tree for the failed expression had five levels
> with dozens of terms. The issue was that the C compiler (for the
> motorola 88100, based on PCC) ran out of temporary registers when generating
> code for the expression.
>

--
Pete

Re: Getting started with Assembly language

<20231129200621.38a13ee451bad60ecc168aa4@eircom.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8882&group=alt.folklore.computers#8882

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: steveo@eircom.net (Ahem A Rivet's Shot)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Wed, 29 Nov 2023 20:06:21 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20231129200621.38a13ee451bad60ecc168aa4@eircom.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
<uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad>
<uk5ld1$e8qd$1@dont-email.me>
<uk78jl$qhrk$1@dont-email.me>
<1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
<1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="7d4ba241f4f65619dcd5e84c2d5c905a";
logging-data="1044096"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18deXuCeF6Dyo5/ojsDoZQFzUTI3yTzrOo="
Cancel-Lock: sha1:GN0o1na3vH3CALv2IV5MZRYrR+A=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Wed, 29 Nov 2023 20:06 UTC

On Wed, 29 Nov 2023 12:07:19 -0700
Peter Flass <peter_flass@yahoo.com> wrote:

> Sn!pe <snipeco.2@gmail.com> wrote:

> > 'm/c' for 'machine' was standard usage in the late '60s - early '70s;
> > I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
> >
>
> Lemme guess - “tits up.”

Of course - but then I thought m/c was well known too.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: Getting started with Assembly language

<QgO9N.135732$BbXa.115350@fx16.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8883&group=alt.folklore.computers#8883

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me> <Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me> <uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com> <1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org> <20231129200621.38a13ee451bad60ecc168aa4@eircom.net>
Lines: 20
Message-ID: <QgO9N.135732$BbXa.115350@fx16.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 29 Nov 2023 21:44:16 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 29 Nov 2023 21:44:16 GMT
X-Received-Bytes: 1694
 by: Scott Lurndal - Wed, 29 Nov 2023 21:44 UTC

Ahem A Rivet's Shot <steveo@eircom.net> writes:
>On Wed, 29 Nov 2023 12:07:19 -0700
>Peter Flass <peter_flass@yahoo.com> wrote:
>
>> Sn!pe <snipeco.2@gmail.com> wrote:
>
>> > 'm/c' for 'machine' was standard usage in the late '60s - early '70s;
>> > I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
>> >
>>
>> Lemme guess - “tits up.”
>
>Of course - but then I thought m/c was well known too.

T/U is rather obvious (it is two words, after all),
m/c less so, although machine was my first guess.

I've notice that some british english words are often
not phonetically related to the actual pronunciation
(e.g. lester square :-).

Re: Getting started with Assembly language

<ijO9N.135733$BbXa.74144@fx16.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8884&group=alt.folklore.computers#8884

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!news.hispagatos.org!news.nntp4.net!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Getting started with Assembly language
Newsgroups: alt.folklore.computers
References: <GAy9N.87597$yvY5.24535@fx10.iad> <memo.20231129094452.17100a@jgd.cix.co.uk> <uk7f6v$rr6v$1@dont-email.me> <cdI9N.30146$%p%e.5369@fx43.iad> <373174158.722977369.024017.peter_flass-yahoo.com@news.eternal-september.org>
Lines: 21
Message-ID: <ijO9N.135733$BbXa.74144@fx16.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 29 Nov 2023 21:46:54 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 29 Nov 2023 21:46:54 GMT
X-Received-Bytes: 1565
 by: Scott Lurndal - Wed, 29 Nov 2023 21:46 UTC

Peter Flass <peter_flass@yahoo.com> writes:
>Scott Lurndal <scott@slp53.sl.home> wrote:

>> I absolutely disagree with this statement. I haven't used a compiler
>> that generates C since C++2.1/3.0 in the early 1990's. I'm not aware of
>> any modern compiler (from Ada to Python) that generates intermediate
>> C code.
>>
>
>I believe gcc has some type of fairly well-defined intermediate code.

In a manner of speaking, yes. It's not something the user will ever
see or need to debug, however.

>Some
>compilers compile to this and use gcc’s back end to generate machine code.

LLVM is the poster child for this, although gcc has had a more primitive
form for a couple decades.

Re: 2 mny abbrs, Getting started with Assembly language

<uk8c9s$1mm3$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8885&group=alt.folklore.computers#8885

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: alt.folklore.computers
Subject: Re: 2 mny abbrs, Getting started with Assembly language
Date: Wed, 29 Nov 2023 22:00:28 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uk8c9s$1mm3$1@gal.iecc.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com> <1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
Injection-Date: Wed, 29 Nov 2023 22:00:28 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="56003"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com> <1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Wed, 29 Nov 2023 22:00 UTC

According to Peter Flass <peter_flass@yahoo.com>:
>>> It wasn't me that wrote m/c. But I have seen it used for machine. Not
>>> recently though I think.
>>
>> [...]
>>
>> 'm/c' for 'machine' was standard usage in the late '60s - early '70s;
>> I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
>>
>
>Lemme guess - “tits up.”

Temporarily Unavailable, of course. What else would it stand for?

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: 2 mny abbrs, Getting started with Assembly language

<1qkzau5.1wtcumuipdzgjN%snipeco.2@gmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8886&group=alt.folklore.computers#8886

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!snipe.eternal-september.org!.POSTED!not-for-mail
From: snipeco.2@gmail.com (Sn!pe)
Newsgroups: alt.folklore.computers
Subject: Re: 2 mny abbrs, Getting started with Assembly language
Date: Wed, 29 Nov 2023 22:41:16 +0000
Organization: Sn!peCo World Wide Wading Birds
Lines: 25
Message-ID: <1qkzau5.1wtcumuipdzgjN%snipeco.2@gmail.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me> <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170> <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org> <20231126092837.19be4f27@hotmail.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me> <Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me> <uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com> <1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org> <uk8c9s$1mm3$1@gal.iecc.com>
Reply-To: snipeco.1@gmail.com (Sn!pe)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: snipe.eternal-september.org; posting-host="144e2e5ef17f74df227cd0b80e239c71";
logging-data="1082793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DVMPN/C9m8fUYmS9TXhhk"
User-Agent: MacSOUP/2.8.6b1 (ed136d9b90) (Mac OS 10.13.6)
Cancel-Lock: sha1:1URUsDqTsDr9yYr82O/1i9/duPs=
X-Tongue-In-Cheek: Always
X-Face: 5<x+vv{"AHN,F~/dhf,X*~1zNv[TF/WUe(Uw.*ZOw\P'Ju]C6].T~7Z5cVjV\xTO6&)1#VQ
iZ4vFDG
X-Validate: All genuine Sn!peCo articles contain the header:
"Injection-Info: snipe.eternal-september.org;" my registered FQDN.
X-Copyright: Copyright (c) 2023 Sn!peCo WWWB, All Rights Reserved.
This article may be reproduced for the purposes of propagation and
personal use only, no commercial use without express permission.
X-Disclaimer: Any advice that I may give is worth only what I paid for it.
This article comprises only my personal opinions unless otherwise stated.
May contain traces of nuts.
X-Clacks-Overhead: GNU Terry Pratchett; WonK; Large Enid
 by: Sn!pe - Wed, 29 Nov 2023 22:41 UTC

John Levine <johnl@taugh.com> wrote:

> According to Peter Flass <peter_flass@yahoo.com>:
> >>> It wasn't me that wrote m/c. But I have seen it used for machine. Not
> >>> recently though I think.
> >>
> >> [...]
> >>
> >> 'm/c' for 'machine' was standard usage in the late '60s - early '70s;
> >> I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
> >>
> >
> >Lemme guess - ╲tits up.╡
> >
>
> Temporarily Unavailable, of course. What else would it stand for?
>

≈:o)

--
^Ï^. Sn!pe, PA, FIBS - Professional Crastinator.
My pet rock Gordon just is.

Google Groups articles not seen here unless poster is whitelisted.

Re: Getting started with Assembly language

<ksptppFoiiaU5@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8887&group=alt.folklore.computers#8887

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: 29 Nov 2023 22:54:50 GMT
Lines: 36
Message-ID: <ksptppFoiiaU5@mid.individual.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad> <uk5ld1$e8qd$1@dont-email.me>
<uk78jl$qhrk$1@dont-email.me> <1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
<1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
<20231129200621.38a13ee451bad60ecc168aa4@eircom.net>
<QgO9N.135732$BbXa.115350@fx16.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net pvSGcR9fEfLU2q2yxJEK3gb3+2FmmE6+WhuzcL+h0zlWZyj+lw
Cancel-Lock: sha1:c0utPC1dSDTlUgOYHgpdRc2G4yk= sha256:2os256kwrfCMY2sHXY6DfD61aaJYBRL/vIbR2UxPK1E=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Wed, 29 Nov 2023 22:54 UTC

On Wed, 29 Nov 2023 21:44:16 +0000, Scott Lurndal wrote:

> Ahem A Rivet's Shot <steveo@eircom.net> writes:
>>On Wed, 29 Nov 2023 12:07:19 -0700 Peter Flass <peter_flass@yahoo.com>
>>wrote:
>>
>>> Sn!pe <snipeco.2@gmail.com> wrote:
>>
>>> > 'm/c' for 'machine' was standard usage in the late '60s - early
>>> > '70s;
>>> > I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
>>> >
>>> >
>>> Lemme guess - “tits up.”
>>
>>Of course - but then I thought m/c was well known too.
>
> T/U is rather obvious (it is two words, after all), m/c less so,
> although machine was my first guess.
>
> I've notice that some british english words are often not phonetically
> related to the actual pronunciation (e.g. lester square :-).

We have two villages near here, both named Goodnestone.

They have two totally different pronunciations. One is Good-nes-stone. The
other is Gun-stone.

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

Re: Getting started with Assembly language

<ksqn9gF2clsU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8888&group=alt.folklore.computers#8888

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bob.martin@excite.com (Bob Martin)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: 30 Nov 2023 06:09:52 GMT
Lines: 33
Message-ID: <ksqn9gF2clsU1@mid.individual.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
<uk53c4$b70v$1@dont-email.me>
<Nmo9N.36302$Ycdc.30963@fx09.iad>
<uk5ld1$e8qd$1@dont-email.me>
<uk78jl$qhrk$1@dont-email.me>
<1qkym54.wuux6011chwxyN%snipeco.2@gmail.com>
<1878995811.722977085.448132.peter_flass-yahoo.com@news.eternal-september.org>
<20231129200621.38a13ee451bad60ecc168aa4@eircom.net>
<QgO9N.135732$BbXa.115350@fx16.iad>
<ksptppFoiiaU5@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net mqbXqjsjj25gid5O7PHSyABAgkhAKFWO2ke+UMEfm8gjwccgl/
X-Orig-Path: news.individual.net
Cancel-Lock: sha1:w9X44hVO5CFY0B78MGvTaIqV8Nc= sha256:3yuBwtBrwknhjTnWRdeTL56NVNae0jvrYuQDQeVuw7s=
In-Reply-To: <ksptppFoiiaU5@mid.individual.net>
User-Agent: xnews (by Bob Martin, in ooRexx & ncurses)
 by: Bob Martin - Thu, 30 Nov 2023 06:09 UTC

On 29 Nov 2023 at 22:54:50, Bob Eager <news0009@eager.cx> wrote:
> On Wed, 29 Nov 2023 21:44:16 +0000, Scott Lurndal wrote:
>
>> Ahem A Rivet's Shot <steveo@eircom.net> writes:
>>>On Wed, 29 Nov 2023 12:07:19 -0700 Peter Flass <peter_flass@yahoo.com>
>>>wrote:
>>>
>>>> Sn!pe <snipeco.2@gmail.com> wrote:
>>>
>>>> > 'm/c' for 'machine' was standard usage in the late '60s - early
>>>> > '70s;
>>>> > I was a hardware man fixing 2nd. gen. mainframes when they went t/u.
>>>> >
>>>> >
>>>> Lemme guess - “tits up.”
>>>
>>>Of course - but then I thought m/c was well known too.
>>
>> T/U is rather obvious (it is two words, after all), m/c less so,
>> although machine was my first guess.
>>
>> I've notice that some british english words are often not phonetically
>> related to the actual pronunciation (e.g. lester square :-).
>
> We have two villages near here, both named Goodnestone.
>
> They have two totally different pronunciations. One is Good-nes-stone. The
> other is Gun-stone.

Same thing round here, with Bosham (pronounced Bozz'm) and Cosham (Cosh'm)

(Bosham is where King Canute had a palace).

Re: Getting started with Assembly language

<uk9opv$1aqqa$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8889&group=alt.folklore.computers#8889

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!nntp.comgw.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vir.campestris@invalid.invalid (Vir Campestris)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Thu, 30 Nov 2023 10:39:59 +0000
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uk9opv$1aqqa$3@dont-email.me>
References: <GAy9N.87597$yvY5.24535@fx10.iad>
<memo.20231129094452.17100a@jgd.cix.co.uk> <uk7f6v$rr6v$1@dont-email.me>
<cdI9N.30146$%p%e.5369@fx43.iad>
<373174158.722977369.024017.peter_flass-yahoo.com@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 30 Nov 2023 10:40:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1cf720ac8ee8b52170b12f1f63c9ec02";
logging-data="1403722"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EnKiPHhFBw6MZPJ7917LCCksN7U63SN8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3mKYkKIQOG+qWjcGo86tn3LuFNA=
Content-Language: en-GB
In-Reply-To: <373174158.722977369.024017.peter_flass-yahoo.com@news.eternal-september.org>
 by: Vir Campestris - Thu, 30 Nov 2023 10:39 UTC

On 29/11/2023 19:07, Peter Flass wrote:
> Some days I practically live in the debugger.

I retired last year. I could afford it, and my time isn't infinite.

There was no point in me learning about the future developments, so I
spent the last six months or so looking at the most common crashes in
the dumps our system collects from end users. (it's an embedded system
with a net connection) I often had to poke about in the assembly,
sometimes the optimiser does weird things.

BUT... if you're doing standard apps development I doubt you'll need to
do that often.

I was gratified that the last fix I ever submitted as a professional got
this comment from the guy who wrote the code: "Oh, THAT'S what's going
on" :)

Andy

Re: Getting started with Assembly language

<ukc2cb$1pjgv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8890&group=alt.folklore.computers#8890

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usenet@usebox.net.invalid (Juan)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: Fri, 1 Dec 2023 07:35:39 +0000
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ukc2cb$1pjgv$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <ksm4dhFoiiaU1@mid.individual.net>
<gmn9N.30034$rx%7.2305@fx47.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Dec 2023 07:35:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="681cb149a612132fcc004f5fba4c8a9b";
logging-data="1887775"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QUnytwelfH0wi6zX4GEFi"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:O68MnZnW77c9lIPyrCLQC2K8iiI=
In-Reply-To: <gmn9N.30034$rx%7.2305@fx47.iad>
Content-Language: en-GB
 by: Juan - Fri, 1 Dec 2023 07:35 UTC

On 28/11/2023 15:06, Scott Lurndal wrote:

> Worth mentioning more about the 80186. It incorporated a few extra
> instructions, but nothing very major.
>
> Principally, the reason for it was that it was a single chip solution (the
> 8086 required about 5 chips, as I recall). The 80186 incorporated the
> interrupt controller, DMA controller, etc. It was however (at the OS
> level) incompatible with the 8086.

My first PC was a XT clone (Olivetti Prodest PC1), and it had a 80188
clone: the NEC V40.

According to the wikipedia, it integrated a compatible 8251 USART, 8253
PIT and 8255 PPI.

Re: Getting started with Assembly language

<kstmpkFoiiaU7@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8891&group=alt.folklore.computers#8891

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.network!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: alt.folklore.computers
Subject: Re: Getting started with Assembly language
Date: 1 Dec 2023 09:19:48 GMT
Lines: 28
Message-ID: <kstmpkFoiiaU7@mid.individual.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <ksm4dhFoiiaU1@mid.individual.net>
<gmn9N.30034$rx%7.2305@fx47.iad> <ukc2cb$1pjgv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net GgxBrGkHbRSFZsC9ZaXOXgl5d8pDEO+6IKhS6bqAE7/hrXDySH
Cancel-Lock: sha1:n/dqyX63O7PSehUy/mIZbyfJ5Oo= sha256:mM+hlggnqJxPvdaMQumyGRQuYLbMoabIoFahqT6sVQA=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Fri, 1 Dec 2023 09:19 UTC

On Fri, 01 Dec 2023 07:35:39 +0000, Juan wrote:

> On 28/11/2023 15:06, Scott Lurndal wrote:
>
>> Worth mentioning more about the 80186. It incorporated a few extra
>> instructions, but nothing very major.
>>
>> Principally, the reason for it was that it was a single chip solution
>> (the 8086 required about 5 chips, as I recall). The 80186 incorporated
>> the interrupt controller, DMA controller, etc. It was however (at the
>> OS level) incompatible with the 8086.
>
> My first PC was a XT clone (Olivetti Prodest PC1), and it had a 80188
> clone: the NEC V40.
>
> According to the wikipedia, it integrated a compatible 8251 USART, 8253
> PIT and 8255 PPI.

It also presumably had the barrel shifter from the V20/V30 8088/8086
equivalents, which improved multiply speed.

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

286 Protected Mode (Was: Re: Getting started with Assembly language)

<ulacmr$3parg$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8895&group=alt.folklore.computers#8895

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lars@beagle-ears.com (Lars Poulsen)
Newsgroups: alt.folklore.computers
Subject: 286 Protected Mode (Was: Re: Getting started with Assembly language)
Date: Tue, 12 Dec 2023 11:35:56 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ulacmr$3parg$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 12 Dec 2023 19:35:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="401093f5c11f253ac6ee88c884e56fda";
logging-data="3976048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AwIJp8elAjMpwbKn8xAfpzmK/Zfr6Cns="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:51jCALJWSwnwxsJwtB7VOv3y2mY=
In-Reply-To: <uk4hrr$8978$3@dont-email.me>
Content-Language: en-US
 by: Lars Poulsen - Tue, 12 Dec 2023 19:35 UTC

On 11/28/2023 3:10 AM, Vir Campestris wrote:
> The '286 was mostly just a faster 8086. Its protected mode was brain
> damaged.

I used 80286 protected mode in an embedded project, and it was pretty
wonderful. Our code was written in C, and we used a compiler that mated
well with a "DOS Extender" to get beyond the 1MB limitations of the
basic 8086 model. We hacked the "malloc()" to give us a new segment for
each data structure, which gave us hardware bounds checking, which in
turn gave us greatly accellerated debugging.

I always felt that the Linux model of just a flat 32-bit address space
was a big step backwards.

286 protected mode was not a full memory management system for a paging
multiuser OS, but there was a use case where it worked VERY well.

Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)

<ulajhb$2ua5$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8897&group=alt.folklore.computers#8897

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: alt.folklore.computers
Subject: Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)
Date: Tue, 12 Dec 2023 21:32:27 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <ulajhb$2ua5$1@gal.iecc.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
Injection-Date: Tue, 12 Dec 2023 21:32:27 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="96581"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Tue, 12 Dec 2023 21:32 UTC

According to Lars Poulsen <lars@beagle-ears.com>:
>On 11/28/2023 3:10 AM, Vir Campestris wrote:
>> The '286 was mostly just a faster 8086. Its protected mode was brain
>> damaged.
>
>I used 80286 protected mode in an embedded project, and it was pretty
>wonderful. Our code was written in C, and we used a compiler that mated
>well with a "DOS Extender" to get beyond the 1MB limitations of the
>basic 8086 model. We hacked the "malloc()" to give us a new segment for
>each data structure, which gave us hardware bounds checking, which in
>turn gave us greatly accellerated debugging.

There were two problems with 286 protected mode. One was that anything
that loaded a segment register was extremely slow, and the other was
that if you had any data structures bigger than 64K, you lose. Intel
went out of their way to make it miserable to use several segments for
one object by using three lowest bits of the segment number for status
stuff so consecutive segments would be 0, 8, 16 or maybe 3, 11, 19.

If you were willing to take the segment load performance hit and your
data all fit in 64K chunks, protected mode was fine.

The 386 mostly fixed the segment size problem but not the slow loads,
but by then nobody cared.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)

<Ph6eN.694$Wbff.199@fx37.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8898&group=alt.folklore.computers#8898

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)
Newsgroups: alt.folklore.computers
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <ujsnjp$2poap$1@dont-email.me> <XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170> <282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org> <20231126092837.19be4f27@hotmail.com> <1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
Lines: 19
Message-ID: <Ph6eN.694$Wbff.199@fx37.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 12 Dec 2023 23:46:55 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 12 Dec 2023 23:46:55 GMT
X-Received-Bytes: 1822
 by: Scott Lurndal - Tue, 12 Dec 2023 23:46 UTC

Lars Poulsen <lars@beagle-ears.com> writes:
>On 11/28/2023 3:10 AM, Vir Campestris wrote:
>> The '286 was mostly just a faster 8086. Its protected mode was brain
>> damaged.
>
>I used 80286 protected mode in an embedded project, and it was pretty
>wonderful. Our code was written in C, and we used a compiler that mated
>well with a "DOS Extender" to get beyond the 1MB limitations of the
>basic 8086 model. We hacked the "malloc()" to give us a new segment for
>each data structure, which gave us hardware bounds checking, which in
>turn gave us greatly accellerated debugging.
>
>I always felt that the Linux model of just a flat 32-bit address space
>was a big step backwards

That flat model, of course, predates linux by decades. Linus chose it
because it made sense. Segmented schemes have all been found
lacking.

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<ulb8hs$1p8h$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8900&group=alt.folklore.computers#8900

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: alt.folklore.computers
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)
Date: Wed, 13 Dec 2023 03:31:08 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <ulb8hs$1p8h$1@gal.iecc.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me> <Ph6eN.694$Wbff.199@fx37.iad>
Injection-Date: Wed, 13 Dec 2023 03:31:08 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="58641"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me> <Ph6eN.694$Wbff.199@fx37.iad>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Wed, 13 Dec 2023 03:31 UTC

According to Scott Lurndal <slp53@pacbell.net>:
>>I always felt that the Linux model of just a flat 32-bit address space
>>was a big step backwards
>
>That flat model, of course, predates linux by decades. Linus chose it
>because it made sense. Segmented schemes have all been found
>lacking.

Not really. Programmers loved the Burroughs mainframes with segmented
memory and a stack. They live on as Unisys Clearpath although Unisys
gave up building CPUs and now just runs an emulator on an x86. And
there are still plenty of people who say Multics was the best system
they ever used.

Architectures of any kind die for two reasons: they run out of address
bits, the vandor can't make them competitively fast, or both. As I
said a few messages back, the 286 suffered from both of those, loading
the segment registers was very slow, and the 64K segments were too
small.

A big difference between the computing world now and back in the 1960s
and 1870s when people were designing segmented machines is that then
the important software was written in machine-specific assembler,
while now it's all in C or other languages which don't really care
about the underlying instruction set, although C and its decendants
have assumptions about byte addressed flat memory baked deep into them.

If we'd ended up using something like Pascal or PL/I with stronger
pointer typing, segmented machines would still be plausible.

Oh, and Linux chose flat addressing because linux is a copy of Unix
and Unix grew up on Vaxes with flat memory. It made sense only in that
it made sense to copy the memory model along with everything else.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<20231213072857.6a3ca983afe2192fa4d3fab5@eircom.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8901&group=alt.folklore.computers#8901

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: steveo@eircom.net (Ahem A Rivet's Shot)
Newsgroups: alt.folklore.computers
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting
started with Assembly language)
Date: Wed, 13 Dec 2023 07:28:57 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20231213072857.6a3ca983afe2192fa4d3fab5@eircom.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<uk4hrr$8978$3@dont-email.me>
<ulacmr$3parg$1@dont-email.me>
<Ph6eN.694$Wbff.199@fx37.iad>
<ulb8hs$1p8h$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="aa22a07cb7ae77659bf3f94367551a16";
logging-data="90019"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1VFAOlfrEuYmpvPZDQU1oVPU/kG2sNxE="
Cancel-Lock: sha1:QE4yIYtSnd0Cd+0ugifU51OBQi8=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Wed, 13 Dec 2023 07:28 UTC

On Wed, 13 Dec 2023 03:31:08 -0000 (UTC)
John Levine <johnl@taugh.com> wrote:

> A big difference between the computing world now and back in the 1960s
> and 1870s when people were designing segmented machines is that then
> the important software was written in machine-specific assembler,
> while now it's all in C or other languages which don't really care
> about the underlying instruction set, although C and its decendants
> have assumptions about byte addressed flat memory baked deep into them.

C for the 286 was a horror story with multiple memory models and
near and far pointers exposed in the source code.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<WMjeN.20977$c3Ea.16698@fx10.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8902&group=alt.folklore.computers#8902

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)
Newsgroups: alt.folklore.computers
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me> <Ph6eN.694$Wbff.199@fx37.iad> <ulb8hs$1p8h$1@gal.iecc.com>
Lines: 53
Message-ID: <WMjeN.20977$c3Ea.16698@fx10.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 13 Dec 2023 15:07:34 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 13 Dec 2023 15:07:34 GMT
X-Received-Bytes: 3047
 by: Scott Lurndal - Wed, 13 Dec 2023 15:07 UTC

John Levine <johnl@taugh.com> writes:
>According to Scott Lurndal <slp53@pacbell.net>:
>>>I always felt that the Linux model of just a flat 32-bit address space
>>>was a big step backwards
>>
>>That flat model, of course, predates linux by decades. Linus chose it
>>because it made sense. Segmented schemes have all been found
>>lacking.
>
>Not really. Programmers loved the Burroughs mainframes with segmented
>memory and a stack. They live on as Unisys Clearpath although Unisys
>gave up building CPUs and now just runs an emulator on an x86. And
>there are still plenty of people who say Multics was the best system
>they ever used.

Speaking as a Burroughs programmer who wrote portions of the MCP, I can't
agree with that. Our segmentation scheme was there simply
for backward compatability in the medium systems line.

The large systems version lives on in Clearpath Libra for
backward compatability with applications built in the 1960s.

There have been no new designs with segmentation for decades
and the effort to enhance the large systems
architecture and maintain compatability when E-mode was
added wasn't a simple exercise.

>
>Architectures of any kind die for two reasons: they run out of address
>bits, the vandor can't make them competitively fast, or both. As I
>said a few messages back, the 286 suffered from both of those, loading
>the segment registers was very slow, and the 64K segments were too
>small.
>
>A big difference between the computing world now and back in the 1960s
>and 1870s when people were designing segmented machines is that then

Who was designing memory subsystems in the 1870s? :-)

>If we'd ended up using something like Pascal or PL/I with stronger
>pointer typing, segmented machines would still be plausible.

No, they have all the shortcomings of segmentation (limiting
data structure size and physical memory checkerboarding when
not combined with some form of paging within the segment).

>
>Oh, and Linux chose flat addressing because linux is a copy of Unix
>and Unix grew up on Vaxes with flat memory. It made sense only in that
>it made sense to copy the memory model along with everything else.

Unix grew up on the PDP-11 with fixed segment sizes.

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<2OleN.5555$iHd5.4282@fx01.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8903&group=alt.folklore.computers#8903

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx01.iad.POSTED!not-for-mail
Newsgroups: alt.folklore.computers
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting
started with Assembly language)
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
<Ph6eN.694$Wbff.199@fx37.iad> <ulb8hs$1p8h$1@gal.iecc.com>
<WMjeN.20977$c3Ea.16698@fx10.iad>
User-Agent: slrn/1.0.3 (Linux)
Lines: 16
Message-ID: <2OleN.5555$iHd5.4282@fx01.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 13 Dec 2023 17:25:18 UTC
Date: Wed, 13 Dec 2023 17:25:18 GMT
X-Received-Bytes: 1331
 by: Charlie Gibbs - Wed, 13 Dec 2023 17:25 UTC

On 2023-12-13, Scott Lurndal <scott@slp53.sl.home> wrote:

> John Levine <johnl@taugh.com> writes:

>> A big difference between the computing world now and back in the 1960s
>> and 1870s when people were designing segmented machines is that then
>
> Who was designing memory subsystems in the 1870s? :-)

Charles Babbage?

--
/~\ Charlie Gibbs | The Internet is like a big city:
\ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
X I'm really at ac.dekanfrus | excitement, but also dark alleys
/ \ if you read it the right way. | down which the unwary get mugged.

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<3OleN.5556$iHd5.2996@fx01.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8904&group=alt.folklore.computers#8904

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx01.iad.POSTED!not-for-mail
Newsgroups: alt.folklore.computers
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting
started with Assembly language)
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
<Ph6eN.694$Wbff.199@fx37.iad> <ulb8hs$1p8h$1@gal.iecc.com>
<20231213072857.6a3ca983afe2192fa4d3fab5@eircom.net>
User-Agent: slrn/1.0.3 (Linux)
Lines: 26
Message-ID: <3OleN.5556$iHd5.2996@fx01.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Wed, 13 Dec 2023 17:25:19 UTC
Date: Wed, 13 Dec 2023 17:25:19 GMT
X-Received-Bytes: 2024
 by: Charlie Gibbs - Wed, 13 Dec 2023 17:25 UTC

On 2023-12-13, Ahem A Rivet's Shot <steveo@eircom.net> wrote:

> On Wed, 13 Dec 2023 03:31:08 -0000 (UTC)
> John Levine <johnl@taugh.com> wrote:
>
>> A big difference between the computing world now and back in the 1960s
>> and 1870s when people were designing segmented machines is that then
>> the important software was written in machine-specific assembler,
>> while now it's all in C or other languages which don't really care
>> about the underlying instruction set, although C and its decendants
>> have assumptions about byte addressed flat memory baked deep into them.
>
> C for the 286 was a horror story with multiple memory models and
> near and far pointers exposed in the source code.

In other words, a nightmare that continued from the mess that started
on the 8086/8. I shudder when I remember the hoops I had to jump
through when writing MS-DOS programs that accessed tables bigger
than 64K. Segment wrap-around, far pointer normalization to work
around it... blech!

--
/~\ Charlie Gibbs | The Internet is like a big city:
\ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
X I'm really at ac.dekanfrus | excitement, but also dark alleys
/ \ if you read it the right way. | down which the unwary get mugged.

Re: 286 Protected Mode (Was: Re: Getting started with Assembly language)

<ulcqqs$uipk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8905&group=alt.folklore.computers#8905

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lars@beagle-ears.com (Lars Poulsen)
Newsgroups: alt.folklore.computers
Subject: Re: 286 Protected Mode (Was: Re: Getting started with Assembly
language)
Date: Wed, 13 Dec 2023 09:49:17 -0800
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ulcqqs$uipk$1@dont-email.me>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<ujsnjp$2poap$1@dont-email.me>
<XnsB0C764675A27Fhueydlltampabayrrcom@135.181.20.170>
<282739851.722626117.804724.peter_flass-yahoo.com@news.eternal-september.org>
<20231126092837.19be4f27@hotmail.com>
<1168230617.722806586.678538.peter_flass-yahoo.com@news.eternal-september.org>
<uk4hrr$8978$3@dont-email.me> <ulacmr$3parg$1@dont-email.me>
<Ph6eN.694$Wbff.199@fx37.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Dec 2023 17:49:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="32ea1787d5138f53b74f20cb104a75b0";
logging-data="1002292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tUWAQHM2qzuL7xDdPxiQnAFfQbM6H27Y="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Z3NdHMgD+iGc8W/TbddIazEEKoQ=
In-Reply-To: <Ph6eN.694$Wbff.199@fx37.iad>
Content-Language: en-US
 by: Lars Poulsen - Wed, 13 Dec 2023 17:49 UTC

On 12/12/2023 3:46 PM, Scott Lurndal wrote:
> That flat model, of course, predates linux by decades. Linus chose it
> because it made sense. Segmented schemes have all been found
> lacking.

Segmented schemes make sense in a context. In the early days of single
job at a time, the context would be a language that could express
segments as an embodiment of the semantics of that language. Later, in a
multi-job environment, language semantics was just one aspect of memory
management requirements, task/job separation was another.
A "page" is a segment ... typically of a standardized size.

At the time of this transition, languages were mostly locked in, and
most of them did not have semantics that could generalize to segments,
while paging of virtual memories that were larger than physical memories
simplified things a lot. So the physical memory was managed in segments
called pages, while the virtual memory became flat address space. And
soon it became hard to think of anything different.

Once the "reference model" was C and Unix, it seems nothing else could
get traction.

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<20231213180430.015841870edd95802d3c3741@eircom.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8906&group=alt.folklore.computers#8906

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: steveo@eircom.net (Ahem A Rivet's Shot)
Newsgroups: alt.folklore.computers
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting
started with Assembly language)
Date: Wed, 13 Dec 2023 18:04:30 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20231213180430.015841870edd95802d3c3741@eircom.net>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com>
<uk4hrr$8978$3@dont-email.me>
<ulacmr$3parg$1@dont-email.me>
<Ph6eN.694$Wbff.199@fx37.iad>
<ulb8hs$1p8h$1@gal.iecc.com>
<20231213072857.6a3ca983afe2192fa4d3fab5@eircom.net>
<3OleN.5556$iHd5.2996@fx01.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="aa22a07cb7ae77659bf3f94367551a16";
logging-data="1017124"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RwKX/0BEKkH+quT1Zw4hnF7jDgi+Inz0="
Cancel-Lock: sha1:TEhKetA+mO2GzAdwmqvRp48l5aI=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Wed, 13 Dec 2023 18:04 UTC

On Wed, 13 Dec 2023 17:25:19 GMT
Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

> On 2023-12-13, Ahem A Rivet's Shot <steveo@eircom.net> wrote:
>
> > C for the 286 was a horror story with multiple memory models and
> > near and far pointers exposed in the source code.
>
> In other words, a nightmare that continued from the mess that started
> on the 8086/8.

Yep with added hardware protection.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)

<uld6tl$2dck$2@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8907&group=alt.folklore.computers#8907

  copy link   Newsgroups: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: alt.folklore.computers
Subject: Re: segments yes and no, 286 Protected Mode (Was: Re: Getting started with Assembly language)
Date: Wed, 13 Dec 2023 21:15:33 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uld6tl$2dck$2@gal.iecc.com>
References: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <Ph6eN.694$Wbff.199@fx37.iad> <ulb8hs$1p8h$1@gal.iecc.com> <WMjeN.20977$c3Ea.16698@fx10.iad>
Injection-Date: Wed, 13 Dec 2023 21:15:33 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="79252"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <171769cd-9c92-4206-9eff-af2a242d06can@googlegroups.com> <Ph6eN.694$Wbff.199@fx37.iad> <ulb8hs$1p8h$1@gal.iecc.com> <WMjeN.20977$c3Ea.16698@fx10.iad>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Wed, 13 Dec 2023 21:15 UTC

According to Scott Lurndal <slp53@pacbell.net>:
>Speaking as a Burroughs programmer who wrote portions of the MCP, I can't
>agree with that. Our segmentation scheme was there simply
>for backward compatability in the medium systems line.
>
>The large systems version lives on in Clearpath Libra for
>backward compatability with applications built in the 1960s.
>
>There have been no new designs with segmentation for decades
>and the effort to enhance the large systems
>architecture and maintain compatability when E-mode was
>added wasn't a simple exercise.

I can believe it, but how much of that was because the segments were
too small? My impression is that's what killed all the segmented
architectures, and by the time you came up with a segment scheme with
bigger addresses, you might as well just adopt a generic flat address
and use all the free software that supports it.

>>Oh, and Linux chose flat addressing because linux is a copy of Unix
>>and Unix grew up on Vaxes with flat memory. It made sense only in that
>>it made sense to copy the memory model along with everything else.
>
>Unix grew up on the PDP-11 with fixed segment sizes.

I was there and not really. On the 11/45 and 11/70 you got 64K of
instruction space and 64K of data space. The hardware divided each
into eight 8K pages but they were too big to be useful so each segment
was always contiguous and could be from 8K to 64K in 8K increments.
When Berkeley moved BSD to the Vax we all moved there and didn't look
back. (I was the first person to try running BSD on an 11/750 which
was painful because it had a micrcode bug that made an instruction in
the inner loop of printf() fail. I had just finished getting a hosted
cross-building environment going on our 11/45 at Yale when Bill Joy
noticed the same thing at Berkeley, patched around the instruction and
rebuilt it on his 11/780 so that's what we used.)

The Vax's paging enabled shared libraries and mapped files and
much larger programs on 4BSD. That's where all modern Unix
and linux trace back to, even though some of them do so
by merging the good bits of BSD into other varieties like
System V.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly


computers / alt.folklore.computers / Re: Getting started with Assembly language

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor