Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Pascal is Pascal is Pascal is dog meat." -- M. Devine and P. Larson, Computer Science 340


devel / comp.arch / Re: Could we build a better 6502?

SubjectAuthor
* Could we build a better 6502?Thomas Koenig
+* Re: Could we build a better 6502?Quadibloc
|+* Re: Could we build a better 6502?John Levine
||+* Re: Could we build a better 6502?MitchAlsup
|||`* Re: Could we build a better 6502?aph
||| `* Re: Could we build a better 6502?Anton Ertl
|||  `* Re: Could we build a better 6502?MitchAlsup
|||   +- Re: Could we build a better 6502?Thomas Koenig
|||   +- Re: Could we build a better 6502?Anton Ertl
|||   `* Re: Could we build a better 6502?Quadibloc
|||    `* Re: Could we build a better 6502?Thomas Koenig
|||     +* Re: Could we build a better 6502?Brian G. Lucas
|||     |`* Re: Could we build a better 6502?Quadibloc
|||     | +- Re: Could we build a better 6502?Brian G. Lucas
|||     | `- Re: Could we build a better 6502?Anton Ertl
|||     +* Re: Could we build a better 6502?Stephen Fuld
|||     |+- Re: Could we build a better 6502?Terje Mathisen
|||     |`* Re: Could we build a better 6502?pec...@gmail.com
|||     | +* Re: Could we build a better 6502?MitchAlsup
|||     | |+* Re: Could we build a better 6502?pec...@gmail.com
|||     | ||`* Re: Could we build a better 6502?Stephen Fuld
|||     | || `- Re: Could we build a better 6502?pec...@gmail.com
|||     | |`* Re: Could we build a better 6502?Timothy McCaffrey
|||     | | +- Re: Could we build a better 6502?Michael Barry
|||     | | `* Re: Could we build a better 6502?Thomas Koenig
|||     | |  `* Re: Could we build a better 6502?Timothy McCaffrey
|||     | |   +* Re: Could we build a better 6502?pec...@gmail.com
|||     | |   |`* Re: Could we build a better 6502?Michael Barry
|||     | |   | `- Re: Could we build a better 6502?Thomas Koenig
|||     | |   `* Re: Could we build a better 6502?chris
|||     | |    `* Re: Could we build a better 6502?pec...@gmail.com
|||     | |     +* Re: Could we build a better 6502?MitchAlsup
|||     | |     |`- Re: Could we build a better 6502?Thomas Koenig
|||     | |     `* Re: Could we build a better 6502?chris
|||     | |      `* Re: Could we build a better 6502?George Neuner
|||     | |       `* Re: Could we build a better 6502?chris
|||     | |        +* Re: Could we build a better 6502?MitchAlsup
|||     | |        |`* Re: Could we build a better 6502?Thomas Koenig
|||     | |        | +- Re: Could we build a better 6502?Bernd Linsel
|||     | |        | `* Re: Could we build a better 6502?David Brown
|||     | |        |  `* Re: Could we build a better 6502?chris
|||     | |        |   `* Re: Could we build a better 6502?David Brown
|||     | |        |    `* Re: Could we build a better 6502?Terje Mathisen
|||     | |        |     `* Re: Could we build a better 6502?Thomas Koenig
|||     | |        |      `- Re: Could we build a better 6502?Terje Mathisen
|||     | |        `* Re: Could we build a better 6502?Al Grant
|||     | |         `- Re: Could we build a better 6502?chris
|||     | `* Re: Could we build a better 6502?Thomas Koenig
|||     |  +- Re: Could we build a better 6502?MitchAlsup
|||     |  +- Re: Could we build a better 6502?pec...@gmail.com
|||     |  +* Re: Could we build a better 6502?Thomas Koenig
|||     |  |+* Re: Could we build a better 6502?Stefan Monnier
|||     |  ||`* Re: Could we build a better 6502?Ivan Godard
|||     |  || `* Re: Could we build a better 6502?Stefan Monnier
|||     |  ||  `* Re: Could we build a better 6502?John Dallman
|||     |  ||   +- Re: Could we build a better 6502?Stefan Monnier
|||     |  ||   +* Re: Could we build a better 6502?pec...@gmail.com
|||     |  ||   |`- Re: Could we build a better 6502?Ivan Godard
|||     |  ||   `- Re: Could we build a better 6502?Stephen Fuld
|||     |  |`* Re: Could we build a better 6502?pec...@gmail.com
|||     |  | `* Re: Could we build a better 6502?Thomas Koenig
|||     |  |  `- Re: Could we build a better 6502?pec...@gmail.com
|||     |  `* Re: Could we build a better 6502?Thomas Koenig
|||     |   +* Re: Could we build a better 6502?Anton Ertl
|||     |   |+* Re: Could we build a better 6502?Thomas Koenig
|||     |   ||`* Re: Could we build a better 6502?pec...@gmail.com
|||     |   || `- Re: Could we build a better 6502?MitchAlsup
|||     |   |`* Re: Could we build a better 6502?David Schultz
|||     |   | +* Re: Could we build a better 6502?Anton Ertl
|||     |   | |`- Re: Could we build a better 6502?David Schultz
|||     |   | `* Re: Could we build a better 6502?MitchAlsup
|||     |   |  `* Re: Could we build a better 6502?pec...@gmail.com
|||     |   |   `- Re: Could we build a better 6502?MitchAlsup
|||     |   `- Re: Could we build a better 6502?MitchAlsup
|||     `* Re: Could we build a better 6502?Anton Ertl
|||      `* Re: Could we build a better 6502?Thomas Koenig
|||       `* Re: Could we build a better 6502?MitchAlsup
|||        +* Re: Could we build a better 6502?Marcus
|||        |+* Re: Could we build a better 6502?MitchAlsup
|||        ||`* Re: Could we build a better 6502?Thomas Koenig
|||        || `- Re: Could we build a better 6502?Anton Ertl
|||        |`- Re: Could we build a better 6502?Thomas Koenig
|||        `- Re: Could we build a better 6502?Thomas Koenig
||+* Re: Could we build a better 6502?Quadibloc
|||`- Re: Could we build a better PDP-8, was 6502?John Levine
||`- Re: Could we build a better 6502?Tim Rentsch
|`* Re: Could we build a better 6502?Quadibloc
| +* Re: Could we build a better 6502?Thomas Koenig
| |`* Re: Could we build a better 6502?Anton Ertl
| | `* Re: Could we build a better 6502?David Schultz
| |  `* Re: Could we build a better 6502?Brett
| |   `* Re: Could we build a better 6502?David Schultz
| |    `* Re: Could we build a better 6502?Brett
| |     `* Re: Could we build a better 6502?David Schultz
| |      `* Re: Could we build a better 6502?Brett
| |       `- Re: Could we build a better 6502?David Schultz
| +* Re: Could we build a better 6502?Stefan Monnier
| |`* Re: Could we build a better 6502?Thomas Koenig
| | +* Re: Could we build a better 6502?Stefan Monnier
| | |+* Re: Could we build a better 6502?MitchAlsup
| | ||`- Re: Could we build a better 6502?pec...@gmail.com
| | |`* Re: Could we build a better 6502?pec...@gmail.com
| | +- Re: Could we build a better 6502?MitchAlsup
| | `* Re: Could we build a better 6502?pec...@gmail.com
| `- Re: Could we build a better 6502?MitchAlsup
+* Re: Could we build a better 6502?Marcus
+* Re: Could we build a better 6502?MitchAlsup
+* Re: Could we build a better 6502?EricP
+* Re: Could we build a better 6502?Guillaume
+- Re: Could we build a better 6502?EricP
+* Re: Could we build a better 6502?Timothy McCaffrey
+- Re: Could we build a better 6502?JimBrakefield
+* Re: Could we build a better 6502?Anssi Saari
+* Re: Could we build a better 6502?John Dallman
+* Re: Could we build a better 6502?Anton Ertl
+* Re: Could we build a better 6502?Michael Barry
+* Re: Could we build a better 6502?pec...@gmail.com
+* Re: Could we build a better 6502?Bernd Linsel
+- Re: Could we build a better 6502?clamky
+* Re: Could we build a better 6502?Quadibloc
`- Re: Could we build a better 6502?Quadibloc

Pages:12345678910111213
Re: Could we build a better 6502?

<2021Jul25.171933@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19162&group=comp.arch#19162

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 15:19:33 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 23
Distribution: world
Message-ID: <2021Jul25.171933@mips.complang.tuwien.ac.at>
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <sdethg$10ug$1@gioia.aioe.org> <sdf0vd$3bn$3@newsreader4.netcologne.de> <sdjl6c$1d3b$1@gioia.aioe.org> <sdjmrd$8f6$1@newsreader4.netcologne.de>
Injection-Info: reader02.eternal-september.org; posting-host="3a9da7f4055550120b631e882934953b";
logging-data="31107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197ImpNJmX/Uu42BtnwQtmw"
Cancel-Lock: sha1:tGGZ6v5RMrh5yigL+l/y5Ks9QzA=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Sun, 25 Jul 2021 15:19 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:
[Golomb Rulers]
>Hm. I just saw that Martin Gardner's article in Scientific American
>appeared 1972, far too early for me or for the C-64. They must have
>reprinted it more than a decade later in the German edition.

<https://www.csplib.org/Problems/prob006/references/> says:

|Golomb rulers have been featured twice in the Computer Recreations
|column of Scientific American, which did much to popularize them.
....
|A. K. Dewdney
|Computer Recreations
|Scientific American, 21, mar 1986
| |A. K. Dewdney
|Computer Recreations
|Scientific American, 16-26, dec 1985

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: Could we build a better 6502?

<sdk0np$fmf$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19164&group=comp.arch#19164

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a540-a40-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 15:41:45 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sdk0np$fmf$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<sdethg$10ug$1@gioia.aioe.org> <sdf0vd$3bn$3@newsreader4.netcologne.de>
<sdjl6c$1d3b$1@gioia.aioe.org> <sdjmrd$8f6$1@newsreader4.netcologne.de>
<2021Jul25.171933@mips.complang.tuwien.ac.at>
Injection-Date: Sun, 25 Jul 2021 15:41:45 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a540-a40-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2a0a:a540:a40:0:7285:c2ff:fe6c:992d";
logging-data="16079"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sun, 25 Jul 2021 15:41 UTC

Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
> Thomas Koenig <tkoenig@netcologne.de> writes:
> [Golomb Rulers]
>>Hm. I just saw that Martin Gardner's article in Scientific American
>>appeared 1972, far too early for me or for the C-64. They must have
>>reprinted it more than a decade later in the German edition.
>
><https://www.csplib.org/Problems/prob006/references/> says:
>
>|Golomb rulers have been featured twice in the Computer Recreations
>|column of Scientific American, which did much to popularize them.
> ...
>|A. K. Dewdney
>|Computer Recreations
>|Scientific American, 21, mar 1986

That must have been the one, then, just before Chernobyl.

Thanks!

Re: Could we build a better 6502?

<40a30dcd-cfeb-4ce7-b7b4-c5258dd4642cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19166&group=comp.arch#19166

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:1593:: with SMTP id d19mr14513275qkk.472.1627229547398; Sun, 25 Jul 2021 09:12:27 -0700 (PDT)
X-Received: by 2002:a4a:2a05:: with SMTP id k5mr8230901oof.0.1627229547159; Sun, 25 Jul 2021 09:12:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sun, 25 Jul 2021 09:12:26 -0700 (PDT)
In-Reply-To: <162708436023.19375.15376383822102298119@media.vsta.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:bd00:a1a0:e1b6:c54:494d:e4dd; posting-account=LutruAoAAAATsnFU5eS3mBdP_JaNBOzH
NNTP-Posting-Host: 2600:1700:bd00:a1a0:e1b6:c54:494d:e4dd
References: <64f676a8-3eb3-4299-87bf-c4277bccc8fan@googlegroups.com> <sde7eg$hgb$1@newsreader4.netcologne.de> <ad5864a4-d8c1-4670-89d2-ef006d00cf1cn@googlegroups.com> <sdf079$3bn$1@newsreader4.netcologne.de> <162708436023.19375.15376383822102298119@media.vsta.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40a30dcd-cfeb-4ce7-b7b4-c5258dd4642cn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: barrym95...@yahoo.com (Michael Barry)
Injection-Date: Sun, 25 Jul 2021 16:12:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: Michael Barry - Sun, 25 Jul 2021 16:12 UTC

On Friday, July 23, 2021 at 4:53:55 PM UTC-7, Andy Valencia wrote:
>
> I was trying to design page faults for the 6809. Exercise for the reader:
> What is the worst case number of pages faults which need to be resolved
> to complete a single instruction?
>

I must have been a bit sheltered, because I never knew of a 6809 system
with virtual memory.

But for page crossings, I suppose a multi-byte instruction and its multi-byte
operand could both straddle page boundaries. Make that an indirect mode
and arrive at a worst case of three? I don't think the 6809 made as much of
a deal about page crossings as the 6502 did.

Re: Could we build a better 6502?

<2021Jul25.174327@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19168&group=comp.arch#19168

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 15:43:27 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 64
Message-ID: <2021Jul25.174327@mips.complang.tuwien.ac.at>
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me>
Injection-Info: reader02.eternal-september.org; posting-host="3a9da7f4055550120b631e882934953b";
logging-data="23919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U3Og/qtPoRdPhdgUrt+YX"
Cancel-Lock: sha1:QJlnUfN2fZtHhpmL+B4giwJkd+0=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Sun, 25 Jul 2021 15:43 UTC

Bernd Paysan <bernd@net2o.de> writes:
>Am Sat, 24 Jul 2021 10:22:08 GMT schrieb Anton Ertl:
>
>> Thomas Koenig <tkoenig@netcologne.de> writes:
>>>Could we do better knowing what we know now?
>>
>> I think so.
>>
>> Maybe something like the small variant of b16 (first called b16-small,
>> later renamed into b16, while the original (large) b16 was renamed into
>> b16-dsp):
>>
>> https://bernd-paysan.de/b16-presentation.pdf
>>
>> Having the stacks on-chip would be great, but probably does not fit the
>> transistor budget, so one would only keep TOS and P on-chip, and replace
>> the rest with stack pointers (maybe 5 bits each) and one 16-bit buffer
>> (not per stack) for keeping one other stack item after loading it or
>> before storing it.
>
>Dynamic structures (DRAM-style storage elements) are ok with an NMOS
>CPU. A DRAM cell is 2 transistors (one used as switch, one used as
>capacitor). 2*256 transistors for 2*8 cells stack looks ok.

The 8008 fits an 8x14bits stack in its 3500 (PMOS) transistors, and
has a more complex architecture. And it probably was static rather
than dynamic RAM, because AFAIK there is no way to refresh it by
storing it to memory at regular intervals.

>Refresh logic could be software requirement (don't
>keep things on the on-chip stack for more than a few 1000 instructions),
>or a refresh interrupt would read out the stacks into main memory and
>read them in again once every few 1000 instructions.

Given that we implement interrupts, the interrupt approach looks like
a winner to me. Maybe have an internal cycle counter that generates
this interrupt at regular intervals.

>> The b16 design uses a 16-bit ALU. One can replace that with several
>> passes through an 8-bit or 4-bit ALU, at an increase in control logic.
>> Not sure if that would pay off wrt transistors. The first Nova
>> certainly took the 4-bit-ALU approach. Given that you need a two-pass
>> approach for 16-bit memory accesses anyway, the additional cost for a
>> two-pass approach through an 8-bit ALU may be minor.
>
>Probably. ALUs are not that big after all.

Today I lean more towards having a 16-bit ALU and letting the software
synthesize 16-bit memory accesses out of 8-bit accesses, to avoid the
need for a sequencer. Maybe I will revert that again when I think
more about how to deal with immediate arguments.

>The downside of interrupts is that you
>need some stack space for them; the absolute minimum is one return and
>one data stack item.

Yes. That does not look like a deal-breaker to me. The interrupt
handler would first dump as many data and return stack items to memory
as it needs.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: Could we build a better 6502?

<sdk3lq$t0u$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19169&group=comp.arch#19169

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 09:31:52 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <sdk3lq$t0u$1@dont-email.me>
References: <162722089396.5736.3112557284479151479@media.vsta.org>
<memo.20210725150820.14132R@jgd.cix.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Jul 2021 16:31:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c3a26ee57bbf3d108f02e4e444155967";
logging-data="29726"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XBS5ZH/xGRMhoqAmG0fhGg3sTAQExg+k="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:mAZ0SZdImBgYu1NWECkZb3WMbhs=
In-Reply-To: <memo.20210725150820.14132R@jgd.cix.co.uk>
Content-Language: en-US
 by: Stephen Fuld - Sun, 25 Jul 2021 16:31 UTC

On 7/25/2021 7:07 AM, John Dallman wrote:
> In article <162722089396.5736.3112557284479151479@media.vsta.org>,
> vandys@vsta.org (Andy Valencia) wrote:
>
>> I vaguely remember a CPU where you could have unlimited indirect
>> memory references, and you could lock it up with an infinite
>> loop of them (until they fixed the implementation).
>
> The DEC PDP-10 had this, although there may have been others.

Yes, as I have mentioned here before, the Univac 1108, and its
descendants can have "unlimited" memory references, through indirect
addressing or through an Execute instruction chain, but lockup is
prevented by a hardware timer preventing any of these from taking too
long by causing an illegal operation interrupt.

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Re: Could we build a better 6502?

<fUhLI.9131$yU3.8597@fx05.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19175&group=comp.arch#19175

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx05.iad.POSTED!not-for-mail
From: ThatWoul...@thevillage.com (EricP)
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
References: <162722089396.5736.3112557284479151479@media.vsta.org> <memo.20210725150820.14132R@jgd.cix.co.uk>
In-Reply-To: <memo.20210725150820.14132R@jgd.cix.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Message-ID: <fUhLI.9131$yU3.8597@fx05.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Sun, 25 Jul 2021 18:16:43 UTC
Date: Sun, 25 Jul 2021 14:16:35 -0400
X-Received-Bytes: 1921
 by: EricP - Sun, 25 Jul 2021 18:16 UTC

John Dallman wrote:
> In article <162722089396.5736.3112557284479151479@media.vsta.org>,
> vandys@vsta.org (Andy Valencia) wrote:
>
>> I vaguely remember a CPU where you could have unlimited indirect
>> memory references, and you could lock it up with an infinite
>> loop of them (until they fixed the implementation).
>
> The DEC PDP-10 had this, although there may have been others.
>
> John

DG Nova too.
Nova only had 4 general registers AC0..AC3, plus a PC.
AC2, AC3 and PC could be used as index registers.
I believe the intent was to put a bank of virtual registers in memory,
say 16 or 32, and point one of the HW registers at that.

If the Indirect bit in an instruction == 0
the effective address is the address of the operand.
If Indirect bit == 1 the effective address is the address of the address.
Furthermore, if the msb of that second address == 1 then that
is also an address, looping until msb == 0.

if (Indirect)
{ do { addr = *addr; }
while ((int)addr < 0);
}
operand = *addr;

Early Nova models could get into operand read loops that
require a hard reset.

Re: Could we build a better 6502?

<sdkatl$fc8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19177&group=comp.arch#19177

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 11:35:32 -0700
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <sdkatl$fc8$1@dont-email.me>
References: <162722089396.5736.3112557284479151479@media.vsta.org>
<memo.20210725150820.14132R@jgd.cix.co.uk> <fUhLI.9131$yU3.8597@fx05.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Jul 2021 18:35:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4c76a7b01451991c24954e3271229dfa";
logging-data="15752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EIM/m1JXf51c8lHoiA7Ip"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:SllrYdDXtCFXM45gjnc88F1JdRM=
In-Reply-To: <fUhLI.9131$yU3.8597@fx05.iad>
Content-Language: en-US
 by: Ivan Godard - Sun, 25 Jul 2021 18:35 UTC

On 7/25/2021 11:16 AM, EricP wrote:
> John Dallman wrote:
>> In article <162722089396.5736.3112557284479151479@media.vsta.org>,
>> vandys@vsta.org (Andy Valencia) wrote:
>>
>>> I vaguely remember a CPU where you could have unlimited indirect
>>> memory references, and you could lock it up with an infinite
>>> loop of them (until they fixed the implementation).
>>
>> The DEC PDP-10 had this, although there may have been others.
>> John
>
> DG Nova too.
> Nova only had 4 general registers AC0..AC3, plus a PC.
> AC2, AC3 and PC could be used as index registers.
> I believe the intent was to put a bank of virtual registers in memory,
> say 16 or 32, and point one of the HW registers at that.
>
> If the Indirect bit in an instruction == 0
> the effective address is the address of the operand.
> If Indirect bit == 1 the effective address is the address of the address.
> Furthermore, if the msb of that second address == 1 then that
> is also an address, looping until msb == 0.
>
>   if (Indirect)
>   { do { addr = *addr; }
>     while ((int)addr < 0);
>   }
>   operand = *addr;
>
> Early Nova models could get into operand read loops that
> require a hard reset.

I write a compiler for the Nova 1200, that had an iteration limit IIRC.
It could compile itself, one pass, in 64kb that you shared with the OS.
That compiler was how I first met Mitch.

Re: Could we build a better 6502?

<GpjLI.16246$6j.15528@fx04.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19179&group=comp.arch#19179

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
From: ThatWoul...@thevillage.com (EricP)
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
References: <162722089396.5736.3112557284479151479@media.vsta.org> <memo.20210725150820.14132R@jgd.cix.co.uk> <fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me>
In-Reply-To: <sdkatl$fc8$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 45
Message-ID: <GpjLI.16246$6j.15528@fx04.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Sun, 25 Jul 2021 20:00:38 UTC
Date: Sun, 25 Jul 2021 16:00:24 -0400
X-Received-Bytes: 2468
 by: EricP - Sun, 25 Jul 2021 20:00 UTC

Ivan Godard wrote:
> On 7/25/2021 11:16 AM, EricP wrote:
>> John Dallman wrote:
>>> In article <162722089396.5736.3112557284479151479@media.vsta.org>,
>>> vandys@vsta.org (Andy Valencia) wrote:
>>>
>>>> I vaguely remember a CPU where you could have unlimited indirect
>>>> memory references, and you could lock it up with an infinite
>>>> loop of them (until they fixed the implementation).
>>>
>>> The DEC PDP-10 had this, although there may have been others.
>>> John
>>
>> DG Nova too.
>> Nova only had 4 general registers AC0..AC3, plus a PC.
>> AC2, AC3 and PC could be used as index registers.
>> I believe the intent was to put a bank of virtual registers in memory,
>> say 16 or 32, and point one of the HW registers at that.
>>
>> If the Indirect bit in an instruction == 0
>> the effective address is the address of the operand.
>> If Indirect bit == 1 the effective address is the address of the address.
>> Furthermore, if the msb of that second address == 1 then that
>> is also an address, looping until msb == 0.
>>
>> if (Indirect)
>> { do { addr = *addr; }
>> while ((int)addr < 0);
>> }
>> operand = *addr;
>>
>> Early Nova models could get into operand read loops that
>> require a hard reset.
>
> I write a compiler for the Nova 1200, that had an iteration limit IIRC.
> It could compile itself, one pass, in 64kb that you shared with the OS.
> That compiler was how I first met Mitch.

Do you remember ever using infinite indirect?
It strikes me as a feature that sounded good
over beers in the bar but in the cold light
of day is more trouble than it helps.

Re: Indirect addressing, was Could we build a better 6502?

<sdkhal$a3r$1@gal.iecc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19181&group=comp.arch#19181

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.cmpublishers.com!adore2!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: Indirect addressing, was Could we build a better 6502?
Date: Sun, 25 Jul 2021 20:24:53 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <sdkhal$a3r$1@gal.iecc.com>
References: <162722089396.5736.3112557284479151479@media.vsta.org> <memo.20210725150820.14132R@jgd.cix.co.uk>
Injection-Date: Sun, 25 Jul 2021 20:24:53 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="10363"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <162722089396.5736.3112557284479151479@media.vsta.org> <memo.20210725150820.14132R@jgd.cix.co.uk>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sun, 25 Jul 2021 20:24 UTC

According to John Dallman <jgd@cix.co.uk>:
>In article <162722089396.5736.3112557284479151479@media.vsta.org>,
>vandys@vsta.org (Andy Valencia) wrote:
>
>> I vaguely remember a CPU where you could have unlimited indirect
>> memory references, and you could lock it up with an infinite
>> loop of them (until they fixed the implementation).

DG Nova, perhaps?

>The DEC PDP-10 had this, although there may have been others.

The PDP-10 didn't have lockup problems because it took interrupts
during each address calculation cycle. This led to one wart, the "first part done"
flag used by the ILDB and IDBP instructions which first did the standard adress
calculation to fetch a byte pointer, then updated the pointer to refer to the next
byte, did a second address calculation with the address in the pointer, and then
loaded or stored the byte. The FPD flag told the processor not to update the
pointer when resuming from an interrupt between the two halves of the instruction.
The BLT block transfer instruction was interruptible, and stored the updated
to/from pointer word so it could continue when restarted.

One time when I was bored I wrote a little program that made an ever longer chain
of indirect addresses until it stalled because the time to compute the address was
longer than a clock tick.

The GE 635 had a no-interrupt flag in some instructions that you could use to
contruct critical section code and a timer that killed the job if he flag was
on too long.
--
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: Could we build a better 6502?

<sdkhe6$ssl$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19182&group=comp.arch#19182

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 25 Jul 2021 13:26:46 -0700
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <sdkhe6$ssl$1@dont-email.me>
References: <162722089396.5736.3112557284479151479@media.vsta.org>
<memo.20210725150820.14132R@jgd.cix.co.uk> <fUhLI.9131$yU3.8597@fx05.iad>
<sdkatl$fc8$1@dont-email.me> <GpjLI.16246$6j.15528@fx04.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Jul 2021 20:26:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4c76a7b01451991c24954e3271229dfa";
logging-data="29589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FZ8PFvDlyeI+/xQXZR41A"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:51i8o1dDKR4a0gf8snMZYSLNo5s=
In-Reply-To: <GpjLI.16246$6j.15528@fx04.iad>
Content-Language: en-US
 by: Ivan Godard - Sun, 25 Jul 2021 20:26 UTC

On 7/25/2021 1:00 PM, EricP wrote:
> Ivan Godard wrote:
>> On 7/25/2021 11:16 AM, EricP wrote:
>>> John Dallman wrote:
>>>> In article <162722089396.5736.3112557284479151479@media.vsta.org>,
>>>> vandys@vsta.org (Andy Valencia) wrote:
>>>>
>>>>> I vaguely remember a CPU where you could have unlimited indirect
>>>>> memory references, and you could lock it up with an infinite
>>>>> loop of them (until they fixed the implementation).
>>>>
>>>> The DEC PDP-10 had this, although there may have been others.
>>>> John
>>>
>>> DG Nova too.
>>> Nova only had 4 general registers AC0..AC3, plus a PC.
>>> AC2, AC3 and PC could be used as index registers.
>>> I believe the intent was to put a bank of virtual registers in memory,
>>> say 16 or 32, and point one of the HW registers at that.
>>>
>>> If the Indirect bit in an instruction == 0
>>> the effective address is the address of the operand.
>>> If Indirect bit == 1 the effective address is the address of the
>>> address.
>>> Furthermore, if the msb of that second address == 1 then that
>>> is also an address, looping until msb == 0.
>>>
>>>    if (Indirect)
>>>    { do { addr = *addr; }
>>>      while ((int)addr < 0);
>>>    }
>>>    operand = *addr;
>>>
>>> Early Nova models could get into operand read loops that
>>> require a hard reset.
>>
>> I write a compiler for the Nova 1200, that had an iteration limit
>> IIRC. It could compile itself, one pass, in 64kb that you shared with
>> the OS. That compiler was how I first met Mitch.
>
> Do you remember ever using infinite indirect?
> It strikes me as a feature that sounded good
> over beers in the bar but in the cold light
> of day is more trouble than it helps.

Certainly not infinite, but finite indirect could be used to get around
the paucity of index registers. I think the OS used it for interrupt
vectoring. I don't remember ever using it in the generated code, nor the
compiler itself. But data-indirect is an asm kind of thing, an I was
only using a HLL. Do you know if they repeated the feature in the Eclipse?

Re: infinite indirect Could we build a better 6502?

<sdkhi7$a3r$2@gal.iecc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19183&group=comp.arch#19183

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.cmpublishers.com!adore2!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.arch
Subject: Re: infinite indirect Could we build a better 6502?
Date: Sun, 25 Jul 2021 20:28:55 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <sdkhi7$a3r$2@gal.iecc.com>
References: <162722089396.5736.3112557284479151479@media.vsta.org> <fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me> <GpjLI.16246$6j.15528@fx04.iad>
Injection-Date: Sun, 25 Jul 2021 20:28:55 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="10363"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <162722089396.5736.3112557284479151479@media.vsta.org> <fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me> <GpjLI.16246$6j.15528@fx04.iad>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sun, 25 Jul 2021 20:28 UTC

According to EricP <ThatWouldBeTelling@thevillage.com>:
>Do you remember ever using infinite indirect?
>It strikes me as a feature that sounded good
>over beers in the bar but in the cold light
>of day is more trouble than it helps.

It could be handy when passing arguments to subroutines, e.g.

subroutine foo(x)

... z = bar(x)

The code in foo() passes an indirect pointer to its incoming argument,
which might in turn be indirect. In PDP-10 Algol they used chains of
XCT instructions to handle call-by-name.

I agree it was hard to find useful examples of indirection more than 2 or 3 deep,
but once you get past 1 level, it's easier not to have a limit.

--
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: infinite indirect Could we build a better 6502?

<da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19189&group=comp.arch#19189

  copy link   Newsgroups: comp.arch
X-Received: by 2002:aed:2149:: with SMTP id 67mr12704510qtc.60.1627254004269;
Sun, 25 Jul 2021 16:00:04 -0700 (PDT)
X-Received: by 2002:a05:6808:1494:: with SMTP id e20mr14649300oiw.122.1627254004036;
Sun, 25 Jul 2021 16:00:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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.arch
Date: Sun, 25 Jul 2021 16:00:03 -0700 (PDT)
In-Reply-To: <sdkhi7$a3r$2@gal.iecc.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:cd7e:9026:5385:145d;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:cd7e:9026:5385:145d
References: <162722089396.5736.3112557284479151479@media.vsta.org>
<fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me>
<GpjLI.16246$6j.15528@fx04.iad> <sdkhi7$a3r$2@gal.iecc.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>
Subject: Re: infinite indirect Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Sun, 25 Jul 2021 23:00:04 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Sun, 25 Jul 2021 23:00 UTC

On Sunday, July 25, 2021 at 3:28:58 PM UTC-5, John Levine wrote:
> According to EricP <ThatWould...@thevillage.com>:
> >Do you remember ever using infinite indirect?
> >It strikes me as a feature that sounded good
> >over beers in the bar but in the cold light
> >of day is more trouble than it helps.
> It could be handy when passing arguments to subroutines, e.g.
>
> subroutine foo(x)
>
> ... z = bar(x)
>
> The code in foo() passes an indirect pointer to its incoming argument,
> which might in turn be indirect. In PDP-10 Algol they used chains of
> XCT instructions to handle call-by-name.
>
> I agree it was hard to find useful examples of indirection more than 2 or 3 deep,
> but once you get past 1 level, it's easier not to have a limit.
<
Could you find (access) the end of a linked list by infinite indirection ?
> --
> Regards,
> John Levine, jo...@taugh.com, Primary Perpetrator of "The Internet for Dummies",
> Please consider the environment before reading this e-mail. https://jl.ly

Re: infinite indirect Could we build a better 6502?

<sdkqp6$iue$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19191&group=comp.arch#19191

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: infinite indirect Could we build a better 6502?
Date: Sun, 25 Jul 2021 16:06:15 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <sdkqp6$iue$1@dont-email.me>
References: <162722089396.5736.3112557284479151479@media.vsta.org>
<fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me>
<GpjLI.16246$6j.15528@fx04.iad> <sdkhi7$a3r$2@gal.iecc.com>
<da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Jul 2021 23:06:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bd05d2ba9b54b1196d811f6c4148a764";
logging-data="19406"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XPvlomGqfbjJH2AlenM52"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:IQEG0tBouI+6xR5BaPdWBWF2JOE=
In-Reply-To: <da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>
Content-Language: en-US
 by: Ivan Godard - Sun, 25 Jul 2021 23:06 UTC

On 7/25/2021 4:00 PM, MitchAlsup wrote:
> On Sunday, July 25, 2021 at 3:28:58 PM UTC-5, John Levine wrote:
>> According to EricP <ThatWould...@thevillage.com>:
>>> Do you remember ever using infinite indirect?
>>> It strikes me as a feature that sounded good
>>> over beers in the bar but in the cold light
>>> of day is more trouble than it helps.
>> It could be handy when passing arguments to subroutines, e.g.
>>
>> subroutine foo(x)
>>
>> ... z = bar(x)
>>
>> The code in foo() passes an indirect pointer to its incoming argument,
>> which might in turn be indirect. In PDP-10 Algol they used chains of
>> XCT instructions to handle call-by-name.
>>
>> I agree it was hard to find useful examples of indirection more than 2 or 3 deep,
>> but once you get past 1 level, it's easier not to have a limit.
> <
> Could you find (access) the end of a linked list by infinite indirection ?
>> --
>> Regards,
>> John Levine, jo...@taugh.com, Primary Perpetrator of "The Internet for Dummies",
>> Please consider the environment before reading this e-mail. https://jl.ly

You could just access address zero directly without bothering to go
through the chain.

Re: Could we build a better 6502?

<tsALI.23489$uj5.7828@fx03.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19205&group=comp.arch#19205

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
From: ThatWoul...@thevillage.com (EricP)
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me> <2021Jul25.174327@mips.complang.tuwien.ac.at>
In-Reply-To: <2021Jul25.174327@mips.complang.tuwien.ac.at>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <tsALI.23489$uj5.7828@fx03.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Mon, 26 Jul 2021 15:24:09 UTC
Date: Mon, 26 Jul 2021 11:23:59 -0400
X-Received-Bytes: 1971
 by: EricP - Mon, 26 Jul 2021 15:23 UTC

Anton Ertl wrote:
>
> The 8008 fits an 8x14bits stack in its 3500 (PMOS) transistors, and
> has a more complex architecture. And it probably was static rather
> than dynamic RAM, because AFAIK there is no way to refresh it by
> storing it to memory at regular intervals.

8008 (circa 1972) and 8080 (circa 1974) were both dynamic internally.

8008 required an externally generated 2 phase non overlapping
pulsed clock with some rather strict timing requirements.
Cycle time of each phase had minimum of 2 us, max of 3 us
taking 2 clock cycles for 1 machine state cycle.
First cycle, phase 1 is the precharge to internal memory and buses,
phase 2 is read, second cycle phase 1 is precharge, phase 2 is write.

8080 is similar but different phase and pulse width timings.

Motorola 6800 was also dynamic internally but it generated any
multiphase clocking it needed internally from the external clock,
withing a min and max frequency of 0.1 to 1.0 MHz.

RCA 1802 was static cmos so you could run it at any frequency,
or turn the clock off and it took just 0.1 (typical) uAmps
to retain its state.

Re: infinite indirect Could we build a better 6502?

<g3BLI.45645$UR4.14463@fx37.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19207&group=comp.arch#19207

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!fdc2.netnews.com!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
From: ThatWoul...@thevillage.com (EricP)
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
Newsgroups: comp.arch
Subject: Re: infinite indirect Could we build a better 6502?
References: <162722089396.5736.3112557284479151479@media.vsta.org> <fUhLI.9131$yU3.8597@fx05.iad> <sdkatl$fc8$1@dont-email.me> <GpjLI.16246$6j.15528@fx04.iad> <sdkhi7$a3r$2@gal.iecc.com> <da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>
In-Reply-To: <da5be27a-bca9-491f-a518-a730ab0c9622n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
Message-ID: <g3BLI.45645$UR4.14463@fx37.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Mon, 26 Jul 2021 16:05:32 UTC
Date: Mon, 26 Jul 2021 12:05:02 -0400
X-Received-Bytes: 2637
 by: EricP - Mon, 26 Jul 2021 16:05 UTC

MitchAlsup wrote:
> On Sunday, July 25, 2021 at 3:28:58 PM UTC-5, John Levine wrote:
>> According to EricP <ThatWould...@thevillage.com>:
>>> Do you remember ever using infinite indirect?
>>> It strikes me as a feature that sounded good
>>> over beers in the bar but in the cold light
>>> of day is more trouble than it helps.
>> It could be handy when passing arguments to subroutines, e.g.
>>
>> subroutine foo(x)
>>
>> ... z = bar(x)
>>
>> The code in foo() passes an indirect pointer to its incoming argument,
>> which might in turn be indirect. In PDP-10 Algol they used chains of
>> XCT instructions to handle call-by-name.
>>
>> I agree it was hard to find useful examples of indirection more than 2 or 3 deep,
>> but once you get past 1 level, it's easier not to have a limit.
> <
> Could you find (access) the end of a linked list by infinite indirection ?

Sure but such a chain has to be constructed with all but the last
pointer having its indirect bit set and the last pointer clear.
For a dynamic chain, managing the indirect bits is more expensive
than the list management. A circular single linked list with a
tail pointer is cheapest.

To use this auto-indirect feature, the chain of links between
data structures would have to be planned in advance.
That limits its to pretty much what John Levine said, 2 or 3 levels max.

Note also the to get this indirect bit on every pointer they give
up byte addresses. Using little-endian bit numbering here
(Nova uses big-endian) bits [14:0] are a 16-bit word address
- there is no bit to hold a byte selector. Sure you could play
games right rotating char addresses but that all costs.

Re: Could we build a better 6502?

<sdmu7c$fui$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19215&group=comp.arch#19215

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a540-aea-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Mon, 26 Jul 2021 18:17:16 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sdmu7c$fui$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me>
<2021Jul25.174327@mips.complang.tuwien.ac.at>
<tsALI.23489$uj5.7828@fx03.iad>
Injection-Date: Mon, 26 Jul 2021 18:17:16 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a540-aea-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2a0a:a540:aea:0:7285:c2ff:fe6c:992d";
logging-data="16338"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 26 Jul 2021 18:17 UTC

EricP <ThatWouldBeTelling@thevillage.com> schrieb:

> RCA 1802 was static cmos so you could run it at any frequency,
> or turn the clock off and it took just 0.1 (typical) uAmps
> to retain its state.

Sounds like an attractive property for spacecraft (together with
the radiation-hardening properties from Silicon-on-Sapphire
that they apprently used).

Re: Could we build a better 6502?

<zq2dnT5tE81imGL9nZ2dnUU7-YvNnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19216&group=comp.arch#19216

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 26 Jul 2021 13:59:11 -0500
Subject: Re: Could we build a better 6502?
Newsgroups: comp.arch
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me>
<2021Jul25.174327@mips.complang.tuwien.ac.at> <tsALI.23489$uj5.7828@fx03.iad>
<sdmu7c$fui$1@newsreader4.netcologne.de>
From: david.sc...@earthlink.net (David Schultz)
Date: Mon, 26 Jul 2021 13:59:11 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <sdmu7c$fui$1@newsreader4.netcologne.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <zq2dnT5tE81imGL9nZ2dnUU7-YvNnZ2d@earthlink.com>
Lines: 33
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.108.98
X-Trace: sv3-xpuszqSz3ZRS+IlQmSKdC3cQuX/pwSAtuy7M1mwtQlwqiyD3uSas1+VdSEOS3PMuP3Uv7g5lbik3eN3!UmMluRj8KwBoHQwRm/HVxq7SLcXi4hJi9NRgWNdWf8sdkwJBasRHaG5wewj3ssPlfaD4jsNVH6BB!2vX4ETpBfIOH8qbY9J8Dpt9PHe0SgtYO
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2503
 by: David Schultz - Mon, 26 Jul 2021 18:59 UTC

On 7/26/21 1:17 PM, Thomas Koenig wrote:
> EricP <ThatWouldBeTelling@thevillage.com> schrieb:
>
>> RCA 1802 was static cmos so you could run it at any frequency,
>> or turn the clock off and it took just 0.1 (typical) uAmps
>> to retain its state.
>
> Sounds like an attractive property for spacecraft (together with
> the radiation-hardening properties from Silicon-on-Sapphire
> that they apprently used).
>

The C2L design (MOSFETs were always closed loops with the drain in the
center) provided some intrinsic radiation hardening.

Some extra was applied via special process steps. See:
https://www.osti.gov/biblio/6054040.

SOS was just icing on the cake.

And of course the 1802 was used in spacecraft with the most famous use
probably being the Galileo probe.

Some code from Galileo turned up a while back. They had a problem with
the memory and needed to patch the code. But the ability to run the
Forth Inc. MicroFORTH system had vanished. So a system was whipped up in
LISP to allow the task to be done.

https://github.com/rongarret/gll-mag-patch/

--
http://davesrocketworks.com
David Schultz

Re: Could we build a better 6502?

<162734329035.12535.18180098917840687339@media.vsta.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19223&group=comp.arch#19223

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: van...@vsta.org (Andy Valencia)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Mon, 26 Jul 2021 16:48:10 -0700
Lines: 15
Message-ID: <162734329035.12535.18180098917840687339@media.vsta.org>
References: <sdmu7c$fui$1@newsreader4.netcologne.de> <sde7eg$hgb$1@newsreader4.netcologne.de> <2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me> <2021Jul25.174327@mips.complang.tuwien.ac.at> <tsALI.23489$uj5.7828@fx03.iad>
X-Trace: individual.net EJIAo8k+7VTk7QuRptPJJAFYh8yKMKYBaBE4JJ86sKK/hLovC0
X-Orig-Path: media
Cancel-Lock: sha1:vqxzKnWfEPszVxeHHc/DSZgglig=
User-Agent: rn.py v0.0.1
 by: Andy Valencia - Mon, 26 Jul 2021 23:48 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:
> > RCA 1802 was static cmos so you could run it at any frequency,
> > or turn the clock off and it took just 0.1 (typical) uAmps
> > to retain its state.
> Sounds like an attractive property for spacecraft (together with
> the radiation-hardening properties from Silicon-on-Sapphire
> that they apprently used).

If you debounced a switch, you could actually advance it cycle by cycle
manually. My Super Elf's display would follow along as the CPU (slowly)
progressed. A poor man's single step debugger.

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html

Re: Could we build a better 6502?

<a5c91c21-84e5-44ba-b3b9-d1f2280831afn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19225&group=comp.arch#19225

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:30d:: with SMTP id q13mr17286197qtw.147.1627346412799;
Mon, 26 Jul 2021 17:40:12 -0700 (PDT)
X-Received: by 2002:aca:c7cb:: with SMTP id x194mr13406056oif.119.1627346412573;
Mon, 26 Jul 2021 17:40:12 -0700 (PDT)
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.arch
Date: Mon, 26 Jul 2021 17:40:12 -0700 (PDT)
In-Reply-To: <162734329035.12535.18180098917840687339@media.vsta.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:a168:359b:a6c6:288b;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:a168:359b:a6c6:288b
References: <sdmu7c$fui$1@newsreader4.netcologne.de> <sde7eg$hgb$1@newsreader4.netcologne.de>
<2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me>
<2021Jul25.174327@mips.complang.tuwien.ac.at> <tsALI.23489$uj5.7828@fx03.iad> <162734329035.12535.18180098917840687339@media.vsta.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a5c91c21-84e5-44ba-b3b9-d1f2280831afn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 27 Jul 2021 00:40:12 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Tue, 27 Jul 2021 00:40 UTC

On Monday, July 26, 2021 at 6:49:10 PM UTC-5, Andy Valencia wrote:
> Thomas Koenig <tko...@netcologne.de> writes:
> > > RCA 1802 was static cmos so you could run it at any frequency,
> > > or turn the clock off and it took just 0.1 (typical) uAmps
> > > to retain its state.
> > Sounds like an attractive property for spacecraft (together with
> > the radiation-hardening properties from Silicon-on-Sapphire
> > that they apprently used).
<
> If you debounced a switch, you could actually advance it cycle by cycle
> manually. My Super Elf's display would follow along as the CPU (slowly)
> progressed. A poor man's single step debugger.
<
Debouncing a switch is the original job of the S-R flip-flop.
<
> Andy Valencia
> Home page: https://www.vsta.org/andy/
> To contact me: https://www.vsta.org/contact/andy.html

Re: Could we build a better 6502?

<14fbe924-2535-495b-9410-d96ba714b92fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19226&group=comp.arch#19226

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:9ec1:: with SMTP id h184mr20206843qke.0.1627350648302;
Mon, 26 Jul 2021 18:50:48 -0700 (PDT)
X-Received: by 2002:a9d:6c8e:: with SMTP id c14mr14413671otr.5.1627350648047;
Mon, 26 Jul 2021 18:50:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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.arch
Date: Mon, 26 Jul 2021 18:50:47 -0700 (PDT)
In-Reply-To: <a5c91c21-84e5-44ba-b3b9-d1f2280831afn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=136.50.182.0; posting-account=AoizIQoAAADa7kQDpB0DAj2jwddxXUgl
NNTP-Posting-Host: 136.50.182.0
References: <sdmu7c$fui$1@newsreader4.netcologne.de> <sde7eg$hgb$1@newsreader4.netcologne.de>
<2021Jul24.122208@mips.complang.tuwien.ac.at> <sdi8ds$ngf$1@dont-email.me>
<2021Jul25.174327@mips.complang.tuwien.ac.at> <tsALI.23489$uj5.7828@fx03.iad>
<162734329035.12535.18180098917840687339@media.vsta.org> <a5c91c21-84e5-44ba-b3b9-d1f2280831afn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <14fbe924-2535-495b-9410-d96ba714b92fn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: jim.brak...@ieee.org (JimBrakefield)
Injection-Date: Tue, 27 Jul 2021 01:50:48 +0000
Content-Type: text/plain; charset="UTF-8"
 by: JimBrakefield - Tue, 27 Jul 2021 01:50 UTC

On Monday, July 26, 2021 at 7:40:14 PM UTC-5, MitchAlsup wrote:
> On Monday, July 26, 2021 at 6:49:10 PM UTC-5, Andy Valencia wrote:
> > Thomas Koenig <tko...@netcologne.de> writes:
> > > > RCA 1802 was static cmos so you could run it at any frequency,
> > > > or turn the clock off and it took just 0.1 (typical) uAmps
> > > > to retain its state.
> > > Sounds like an attractive property for spacecraft (together with
> > > the radiation-hardening properties from Silicon-on-Sapphire
> > > that they apprently used).
> <
> > If you debounced a switch, you could actually advance it cycle by cycle
> > manually. My Super Elf's display would follow along as the CPU (slowly)
> > progressed. A poor man's single step debugger.
> <
> Debouncing a switch is the original job of the S-R flip-flop.
> <
> > Andy Valencia
> > Home page: https://www.vsta.org/andy/
> > To contact me: https://www.vsta.org/contact/andy.html

Putting on my low cost embedded systems hat:
every wire and every switch contact has a cost:
a SPST switch and one wire is lower cost than SPDT and two wires,
so the job falls to the interrupt handler or a polling routine.

> Debouncing a switch is the original job of the S-R flip-flop.
And 2X two-input nand or nor gates is about as low cost as it gets.

Given Musk's and others emphasis on no parts being
more desirable or reliable, one wonders how the cost/reliability
of software affects the trade-off?

Re: Could we build a better 6502?

<g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19231&group=comp.arch#19231

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 27 Jul 2021 03:49:30 -0500
Sender: Andrew Haley <aph@zarquon.pink>
From: aph...@littlepinkcloud.invalid
Subject: Re: Could we build a better 6502?
Newsgroups: comp.arch
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <sdhkr7$15vg$1@gal.iecc.com> <7ba1c011-0d7a-40f3-b690-a729134ac9ecn@googlegroups.com>
User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/4.18.0-240.8.1.el8_3.x86_64 (x86_64))
Message-ID: <g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com>
Date: Tue, 27 Jul 2021 03:49:30 -0500
Lines: 24
X-Trace: sv3-bsVDqbpTkZ8jDL+e6D9rc3B+SrgUu83zAhI2+yjxKmT1B0g1ue93ISEhD586EUJkzXz8qzcht9n3u1V!H+u3RPi+Z8hndNFNi1PnyZvox6vTaaf6R8irxeMZ1C445GpvS41wbSFAMa8oei3TA09MFIFAcOdP!1H7b2p+3
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2107
 by: aph...@littlepinkcloud.invalid - Tue, 27 Jul 2021 08:49 UTC

MitchAlsup <MitchAlsup@aol.com> wrote:
> On Saturday, July 24, 2021 at 1:06:33 PM UTC-5, John Levine wrote:
>>
>> The original PDP-8 had only 1409 transisors, each one in a separate can,
>> so it's not surprising.

And about 10,000 diodes.

>> The first computer I programmed was a PDP-8 and it was a
>> fantastically well-done tradeoff between extreme simplicity and
>> usability.

I hated it, but by then we were well into the 1970s and it looked like
something out of the stone age.

> Not quite a fair comparison: In the logic family of the PDP-8, 1 transistor
> could make a 5-input NAND gate whereas in the 6502 logic family this
> would take 6 transistors (5 pull downs (N-ch) and 1 pull up (depletion).)

Indeed, and when the PDP-8 was actually implemented as a single
(IM6100) IC it took 4000 tranisistors, which given the awfulness of
the instruction set no longer looked like such a good deal.

Andrew.

Re: Could we build a better 6502?

<2021Jul27.194213@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19248&group=comp.arch#19248

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Tue, 27 Jul 2021 17:42:13 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 23
Message-ID: <2021Jul27.194213@mips.complang.tuwien.ac.at>
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <sdhkr7$15vg$1@gal.iecc.com> <7ba1c011-0d7a-40f3-b690-a729134ac9ecn@googlegroups.com> <g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com>
Injection-Info: reader02.eternal-september.org; posting-host="2cd6b8c74d1fa117b49cfe03bb2abf7a";
logging-data="14352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w3NPrPeRoImvb/aWXaN1f"
Cancel-Lock: sha1:BFoB+TNWQAzvGvkjSjRkOba8sbI=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Tue, 27 Jul 2021 17:42 UTC

aph@littlepinkcloud.invalid writes:
>MitchAlsup <MitchAlsup@aol.com> wrote:
>> Not quite a fair comparison: In the logic family of the PDP-8, 1 transistor
>> could make a 5-input NAND gate whereas in the 6502 logic family this
>> would take 6 transistors (5 pull downs (N-ch) and 1 pull up (depletion).)
>
>Indeed, and when the PDP-8 was actually implemented as a single
>(IM6100) IC it took 4000 tranisistors, which given the awfulness of
>the instruction set no longer looked like such a good deal.

However, the IM6100 was in CMOS (compared to NMOS for 6502), which
costs extra transistors (I think 10 transistors for the 5-input NAND
gate). Also, the IM6100 included the "Extended Arithmetic Element"
(multiply and divide instructions, and the MQ register). So I expect
that an NMOS implementation of the basic PDP-8 instruction set would
take fewer transistors than a 6502. I would not consider it a better
6502, though, and it certainly does not fit the "8-bit data bus"
requirement.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: Could we build a better 6502?

<cee262df-cecf-4111-a213-6341934e564dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19260&group=comp.arch#19260

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:a004:: with SMTP id j4mr24374640qke.499.1627426601671;
Tue, 27 Jul 2021 15:56:41 -0700 (PDT)
X-Received: by 2002:a05:6830:929:: with SMTP id v41mr16324364ott.16.1627426601464;
Tue, 27 Jul 2021 15:56:41 -0700 (PDT)
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.arch
Date: Tue, 27 Jul 2021 15:56:41 -0700 (PDT)
In-Reply-To: <2021Jul27.194213@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:ddb7:499a:3e72:ecd6;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:ddb7:499a:3e72:ecd6
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<sdhkr7$15vg$1@gal.iecc.com> <7ba1c011-0d7a-40f3-b690-a729134ac9ecn@googlegroups.com>
<g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com> <2021Jul27.194213@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cee262df-cecf-4111-a213-6341934e564dn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 27 Jul 2021 22:56:41 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Tue, 27 Jul 2021 22:56 UTC

On Tuesday, July 27, 2021 at 12:53:02 PM UTC-5, Anton Ertl wrote:
> a...@littlepinkcloud.invalid writes:
> >MitchAlsup <Mitch...@aol.com> wrote:
> >> Not quite a fair comparison: In the logic family of the PDP-8, 1 transistor
> >> could make a 5-input NAND gate whereas in the 6502 logic family this
> >> would take 6 transistors (5 pull downs (N-ch) and 1 pull up (depletion).)
> >
> >Indeed, and when the PDP-8 was actually implemented as a single
> >(IM6100) IC it took 4000 tranisistors, which given the awfulness of
> >the instruction set no longer looked like such a good deal.
> However, the IM6100 was in CMOS (compared to NMOS for 6502), which
> costs extra transistors (I think 10 transistors for the 5-input NAND
> gate). Also, the IM6100 included the "Extended Arithmetic Element"
> (multiply and divide instructions, and the MQ register). So I expect
> that an NMOS implementation of the basic PDP-8 instruction set would
> take fewer transistors than a 6502. I would not consider it a better
> 6502, though, and it certainly does not fit the "8-bit data bus"
> requirement.
<
Is the requirement to have only a 16-bit address bus and a 8-bit data bus?
<
If so, why not just use something that is already in a library as a CPU and
not bother ?
<
The utility of reinventing this wheel in today's world and market is so close
to zero it nears exponent underflow.
<
> - anton
> --
> 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
> Mitch Alsup, <c17fcd89-f024-40e7...@googlegroups.com>

Re: Could we build a better 6502?

<sdqpof$38p$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19274&group=comp.arch#19274

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a540-aea-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Wed, 28 Jul 2021 05:25:35 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sdqpof$38p$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<sdhkr7$15vg$1@gal.iecc.com>
<7ba1c011-0d7a-40f3-b690-a729134ac9ecn@googlegroups.com>
<g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com>
<2021Jul27.194213@mips.complang.tuwien.ac.at>
<cee262df-cecf-4111-a213-6341934e564dn@googlegroups.com>
Injection-Date: Wed, 28 Jul 2021 05:25:35 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a540-aea-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2a0a:a540:aea:0:7285:c2ff:fe6c:992d";
logging-data="3353"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 28 Jul 2021 05:25 UTC

MitchAlsup <MitchAlsup@aol.com> schrieb:

> Is the requirement to have only a 16-bit address bus and a 8-bit data bus?

The question was of the "what if" type, what could have been in the
mid 1970s to build a better chip with what we know about chips now,
instead of building a 6502, with similar boundary conditions.

> If so, why not just use something that is already in a library as a CPU and
> not bother ?
><
> The utility of reinventing this wheel in today's world and market is so close
> to zero it nears exponent underflow.

Nobody suggested developing such beast for today's market; it
would be a hobby project at most.

Re: Could we build a better 6502?

<2021Jul28.093456@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19276&group=comp.arch#19276

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Wed, 28 Jul 2021 07:34:56 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 44
Message-ID: <2021Jul28.093456@mips.complang.tuwien.ac.at>
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <sdhkr7$15vg$1@gal.iecc.com> <7ba1c011-0d7a-40f3-b690-a729134ac9ecn@googlegroups.com> <g6Odnbe33KUHVWL9nZ2dnUU78U_NnZ2d@supernews.com> <2021Jul27.194213@mips.complang.tuwien.ac.at> <cee262df-cecf-4111-a213-6341934e564dn@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="8b18bbfdfdd9080e119a794836100169";
logging-data="16813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bkGCxEsCZCO5gAF8aSPZL"
Cancel-Lock: sha1:FsGwjkgJoZGvXfl7uMZ9Qt4hxzU=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Wed, 28 Jul 2021 07:34 UTC

MitchAlsup <MitchAlsup@aol.com> writes:
>On Tuesday, July 27, 2021 at 12:53:02 PM UTC-5, Anton Ertl wrote:
>> a...@littlepinkcloud.invalid writes:
>> >MitchAlsup <Mitch...@aol.com> wrote:
>> >> Not quite a fair comparison: In the logic family of the PDP-8, 1 transistor
>> >> could make a 5-input NAND gate whereas in the 6502 logic family this
>> >> would take 6 transistors (5 pull downs (N-ch) and 1 pull up (depletion).)
>> >
>> >Indeed, and when the PDP-8 was actually implemented as a single
>> >(IM6100) IC it took 4000 tranisistors, which given the awfulness of
>> >the instruction set no longer looked like such a good deal.
>> However, the IM6100 was in CMOS (compared to NMOS for 6502), which
>> costs extra transistors (I think 10 transistors for the 5-input NAND
>> gate). Also, the IM6100 included the "Extended Arithmetic Element"
>> (multiply and divide instructions, and the MQ register). So I expect
>> that an NMOS implementation of the basic PDP-8 instruction set would
>> take fewer transistors than a 6502. I would not consider it a better
>> 6502, though, and it certainly does not fit the "8-bit data bus"
>> requirement.
><
>Is the requirement to have only a 16-bit address bus and a 8-bit data bus?

The IM6100 also does not satisfy the 16-bit address bus requirement.

The other requirement given by the OP
<sde7eg$hgb$1@newsreader4.netcologne.de> was:

|Squeezing the functionality of a CPU into ~3500 transistors (plus
|~1000 transistors used as resistors) was quite an achievement.

>If so, why not just use something that is already in a library as a CPU and
>not bother ?
><
>The utility of reinventing this wheel in today's world and market is so close
>to zero it nears exponent underflow.

The problem is not about utility, but about insight:

|Could we do better knowing what we know now?

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>


devel / comp.arch / Re: Could we build a better 6502?

Pages:12345678910111213
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor