Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Two is not equal to three, even for large values of two.


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?

<4a3a60a4-3a5b-4b3a-a3fc-a07435f002d2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a0c:d649:: with SMTP id e9mr2794088qvj.27.1629048906486;
Sun, 15 Aug 2021 10:35:06 -0700 (PDT)
X-Received: by 2002:a05:6808:2020:: with SMTP id q32mr2201710oiw.30.1629048906235;
Sun, 15 Aug 2021 10:35:06 -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: Sun, 15 Aug 2021 10:35:06 -0700 (PDT)
In-Reply-To: <sfb5qi$m3u$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4a3a60a4-3a5b-4b3a-a3fc-a07435f002d2n@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Sun, 15 Aug 2021 17:35:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Sun, 15 Aug 2021 17:35 UTC

On Sunday, August 15, 2021 at 8:45:56 AM UTC-5, Thomas Koenig wrote:
> Stefan Monnier <mon...@iro.umontreal.ca> schrieb:
> > Which part of the 6502's instruction set do you find "complicated" and
> > what kind of change do you think would have reduced the number of
> > transistors needed to implement it?
> The memory operands. A load/store architecture would have saved
> a lot of decoding and sequencing and associated transistor (or,
> better measure area), which could have been used for more and bigger
> registers.
<
Registers cost a lot of transistors, roughly 10 transistors per bit.
Flip-flops cost only 4 transistors per bit. Registers need to be
addressed, flip-flops are implicit. A sequencer can orchestrate
16 flip flops into a series of bus cycles that perform the memory
and memory indirect accesses desired.
>
> The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> and taking multiple CPU cycles for each "machine cycle" and multiple
> machine cycles for each instruction.
>
> Note that I am not confident that we can actually do better for
> overall performance per transistor for the 6502. For the Z80,
> I would be.

Re: Could we build a better 6502?

<57ebe9ff-ffd9-41ae-b697-23e0f2e604aan@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:9e8c:: with SMTP id h134mr11859354qke.366.1629048962045; Sun, 15 Aug 2021 10:36:02 -0700 (PDT)
X-Received: by 2002:a05:6808:a09:: with SMTP id n9mr8879064oij.7.1629048961791; Sun, 15 Aug 2021 10:36:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.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, 15 Aug 2021 10:36:01 -0700 (PDT)
In-Reply-To: <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <57ebe9ff-ffd9-41ae-b697-23e0f2e604aan@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Sun, 15 Aug 2021 17:36:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 29
 by: MitchAlsup - Sun, 15 Aug 2021 17:36 UTC

On Sunday, August 15, 2021 at 9:34:15 AM UTC-5, Stefan Monnier wrote:
> Thomas Koenig [2021-08-15 13:45:54] wrote:
> > Stefan Monnier <mon...@iro.umontreal.ca> schrieb:
> >> Which part of the 6502's instruction set do you find "complicated" and
> >> what kind of change do you think would have reduced the number of
> >> transistors needed to implement it?
> > The memory operands. A load/store architecture would have saved
> > a lot of decoding and sequencing and associated transistor (or,
> > better measure area), which could have been used for more and bigger
> > registers.
> I think the discussion so far hasn't reached a clear conclusion on
> whether it would have lead to something better (smaller or faster or
> both).
<
I think consensus has been achieved--we cannot do better than the 6502 guys did.
<
> You might be right, but I think it's hard to tell without trying
> it out [ and compared to the original designers we benefit from what
> we've learned from history, so I really can't blame them. ].
> I suspect that it could end up smaller but slower (because of the extra
> memory accesses needed because of a less compact code).
> > The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> > and taking multiple CPU cycles for each "machine cycle" and multiple
> > machine cycles for each instruction.
> For the Z80 I think the question is closed, indeed: we can clearly do
> better with those resources. But note that part of its appeal/goal was
> backward compatibility.
>
>
> Stefan

Re: Could we build a better 6502?

<sfc5ib$1sd$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ggt...@yahoo.com (Brett)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Sun, 15 Aug 2021 22:47:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <sfc5ib$1sd$1@dont-email.me>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<sfaip0$8o8$1@newsreader4.netcologne.de>
<2021Aug15.175812@mips.complang.tuwien.ac.at>
<rq-dneuWULqG2oT8nZ2dnUU7-KHNnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 15 Aug 2021 22:47:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1e8c72aa611144dc10be2848680a05a5";
logging-data="1933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IJ5Y50/0tbHpafWP+aQDk"
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:+xj+AMwpMLYfNQjViz1IsHP2VYQ=
sha1:6TqXNyMWLEFO5ho+rwqPshixxSM=
 by: Brett - Sun, 15 Aug 2021 22:47 UTC

David Schultz <david.schultz@earthlink.net> wrote:
> On 8/15/21 10:58 AM, Anton Ertl wrote:
>> Thomas Koenig <tkoenig@netcologne.de> writes:
>>> One important point is the extreme cost of memory at the time.
>>> People designed their ISAs for a very high code density because
>>> of that.
>>
>> Not so sure about the 6502 in that respect, with having to often put a
>> CLC before an ADC, having to use one or two address bytes in addition
>> to the opcode for many instructions, and having to use at least twice
>> as many instructions for 16-bit operations.
>>
>
> It could be worse. I still remember writing code for a PIC16F628 and my
> shock at the lack of an add with carry instruction. You could fake it
> but it took more than one extra instruction to do it. A real PITA
>
>
> I suspect that it was more important that the design tools were nearly
> non-existent. At best you could start with a design that was built using
> TTL. Then you had to transfer that to a collection of transistors. Laid
> out by hand using tape and a sharp knife.
>
> That took a lot of time and because of the costs and slow turn around
> from fabrication there would be a premium on getting it right the first
> time. So go with what you know.
>
> I will have to dig out the BYTE magazine article on the design of the
> 6809. That happened a few years later with slightly better design tools.
>
> It looks like I will not have to dig into the paper archives:
> https://tlindner.macmess.org/?page_id=119

Point 4 says no bit manipulation, but I see AND, OR, XOR, RORL, RORR, and
bit compare.
What are they talking about missing?

Re: Could we build a better 6502?

<hLudnaFAuebSAYT8nZ2dnUU7-a3NnZ2d@earthlink.com>

  copy mid

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

  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: Sun, 15 Aug 2021 17:59:27 -0500
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>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<sfaip0$8o8$1@newsreader4.netcologne.de>
<2021Aug15.175812@mips.complang.tuwien.ac.at>
<rq-dneuWULqG2oT8nZ2dnUU7-KHNnZ2d@earthlink.com> <sfc5ib$1sd$1@dont-email.me>
From: david.sc...@earthlink.net (David Schultz)
Date: Sun, 15 Aug 2021 17:59:27 -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: <sfc5ib$1sd$1@dont-email.me>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <hLudnaFAuebSAYT8nZ2dnUU7-a3NnZ2d@earthlink.com>
Lines: 17
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.9
X-Trace: sv3-oWAN/PGyR2HhjFA3CMg1sendf9zsCIzgMFSpC1KcektTq159dF87b85OWWvCeIfRAWkiBwQWbHnhJ7M!qnDihvzWAz0Xhxfz/1rAYIC21fKkuVicyMEE3/vf6iv4gbZgaclImVgaS2Qq6O7muySmBJAhaaG0!gjndEKX2RpUF6sZfhQ5Jly6MjD5LJ2k=
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: 1916
 by: David Schultz - Sun, 15 Aug 2021 22:59 UTC

On 8/15/21 5:47 PM, Brett wrote:
> David Schultz <david.schultz@earthlink.net> wrote:
>> It looks like I will not have to dig into the paper archives:
>> https://tlindner.macmess.org/?page_id=119
>
> Point 4 says no bit manipulation, but I see AND, OR, XOR, RORL, RORR, and
> bit compare.
> What are they talking about missing?
>

Probably specific things like the bclr, bset, and btst instructions on
the 68000.

--
http://davesrocketworks.com
David Schultz

Re: Could we build a better 6502?

<616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:1792:: with SMTP id s18mr13702147qtk.140.1629119423910;
Mon, 16 Aug 2021 06:10:23 -0700 (PDT)
X-Received: by 2002:a9d:4e96:: with SMTP id v22mr928735otk.110.1629119423681;
Mon, 16 Aug 2021 06:10:23 -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, 16 Aug 2021 06:10:23 -0700 (PDT)
In-Reply-To: <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
Injection-Info: google-groups.googlegroups.com; posting-host=5.173.50.5; posting-account=zjh_fgoAAABo0Nzgf6peaFtS6c-3xdgr
NNTP-Posting-Host: 5.173.50.5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: pec...@gmail.com (pec...@gmail.com)
Injection-Date: Mon, 16 Aug 2021 13:10:23 +0000
Content-Type: text/plain; charset="UTF-8"
 by: pec...@gmail.com - Mon, 16 Aug 2021 13:10 UTC

Stefan Monnier wrote:
> Thomas Koenig [2021-08-15 13:45:54] wrote:
> > The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> > and taking multiple CPU cycles for each "machine cycle" and multiple
> > machine cycles for each instruction.
> For the Z80 I think the question is closed, indeed: we can clearly do
> better with those resources. But note that part of its appeal/goal was
> backward compatibility.
The 4-bit ALU was used to circumvent the patent on 8080.

Re: Could we build a better 6502?

<4a740b2e-b368-449b-acff-bdb7e7534f9an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:5c68:: with SMTP id i8mr3367308qvh.54.1629121877060;
Mon, 16 Aug 2021 06:51:17 -0700 (PDT)
X-Received: by 2002:a9d:7517:: with SMTP id r23mr12316229otk.182.1629121876863;
Mon, 16 Aug 2021 06:51:16 -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, 16 Aug 2021 06:51:16 -0700 (PDT)
In-Reply-To: <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
<616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4a740b2e-b368-449b-acff-bdb7e7534f9an@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Mon, 16 Aug 2021 13:51:17 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Mon, 16 Aug 2021 13:51 UTC

On Monday, August 16, 2021 at 8:10:25 AM UTC-5, pec...@gmail.com wrote:
> Stefan Monnier wrote:
> > Thomas Koenig [2021-08-15 13:45:54] wrote:
> > > The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> > > and taking multiple CPU cycles for each "machine cycle" and multiple
> > > machine cycles for each instruction.
> > For the Z80 I think the question is closed, indeed: we can clearly do
> > better with those resources. But note that part of its appeal/goal was
> > backward compatibility.
> The 4-bit ALU was used to circumvent the patent on 8080.
<
8008 ?

Re: Could we build a better 6502?

<NgvSI.17392$FI.11634@fx44.iad>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx44.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> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org> <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
In-Reply-To: <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <NgvSI.17392$FI.11634@fx44.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Mon, 16 Aug 2021 15:13:49 UTC
Date: Mon, 16 Aug 2021 11:13:41 -0400
X-Received-Bytes: 1651
 by: EricP - Mon, 16 Aug 2021 15:13 UTC

pec...@gmail.com wrote:
> Stefan Monnier wrote:
>> Thomas Koenig [2021-08-15 13:45:54] wrote:
>>> The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
>>> and taking multiple CPU cycles for each "machine cycle" and multiple
>>> machine cycles for each instruction.
>> For the Z80 I think the question is closed, indeed: we can clearly do
>> better with those resources. But note that part of its appeal/goal was
>> backward compatibility.
> The 4-bit ALU was used to circumvent the patent on 8080.

How could Intel get a patent on an 8-bit ALU?
There must be more to the story than that.

Re: Could we build a better 6502?

<sfe61o$mv4$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-dc2a-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, 16 Aug 2021 17:08:08 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sfe61o$mv4$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de>
<jwvim066b00.fsf-monnier+comp.arch@gnu.org>
<616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com>
Injection-Date: Mon, 16 Aug 2021 17:08:08 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-dc2a-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:dc2a:0:7285:c2ff:fe6c:992d";
logging-data="23524"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 16 Aug 2021 17:08 UTC

pec...@gmail.com <peceed@gmail.com> schrieb:
> Stefan Monnier wrote:
>> Thomas Koenig [2021-08-15 13:45:54] wrote:
>> > The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
>> > and taking multiple CPU cycles for each "machine cycle" and multiple
>> > machine cycles for each instruction.
>> For the Z80 I think the question is closed, indeed: we can clearly do
>> better with those resources. But note that part of its appeal/goal was
>> backward compatibility.
> The 4-bit ALU was used to circumvent the patent on 8080.

Ah, that makes sense.

Was it, by any chance, a patent that the later developers of the
Z80 wrote while still at Intel?

Getting around your own patents can certainly be an interesting
situation, since you are working against yourself, in a way.
because after trying to make the patent airtight in the first
place you are then trying to exploit gaps which you left.

I've never been in that particular situation, fortunately or not :-)

Re: Could we build a better 6502?

<84126256-8745-4707-9445-130860761e76n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:7f01:: with SMTP id f1mr14825471qtk.362.1629133852325; Mon, 16 Aug 2021 10:10:52 -0700 (PDT)
X-Received: by 2002:aca:b656:: with SMTP id g83mr137083oif.84.1629133851986; Mon, 16 Aug 2021 10:10:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.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: Mon, 16 Aug 2021 10:10:51 -0700 (PDT)
In-Reply-To: <sfb5qi$m3u$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=5.173.50.5; posting-account=zjh_fgoAAABo0Nzgf6peaFtS6c-3xdgr
NNTP-Posting-Host: 5.173.50.5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: pec...@gmail.com (pec...@gmail.com)
Injection-Date: Mon, 16 Aug 2021 17:10:52 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: pec...@gmail.com - Mon, 16 Aug 2021 17:10 UTC

Thomas Koenig wrote:
> Stefan Monnier <mon...@iro.umontreal.ca> schrieb:
> > Which part of the 6502's instruction set do you find "complicated" and
> > what kind of change do you think would have reduced the number of
> > transistors needed to implement it?
> The memory operands. A load/store architecture would have saved
> a lot of decoding and sequencing and associated transistor (or,
> better measure area), which could have been used for more and bigger
> registers.
It is a false assumption. Address modes are quite orthogonal pices of logic simply triggered as kind of subroutines, they have a very dense encoding in the ISA and logic is much cheaper than RAM required for analogous memory access code.
LOAD/STORE with a lot of registers is a better target for compilers, but doesn't offer a better performance when you are constrained by 8-bit bus. Code size will be higher.
The power of RISC lies in the ability to consume high bandwidth of memory bus, easy pipelining and superscalar execution. RISC could be a viable competitor for 68k.

>
> The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> and taking multiple CPU cycles for each "machine cycle" and multiple
> machine cycles for each instruction.
>
> Note that I am not confident that we can actually do better for
> overall performance per transistor for the 6502. For the Z80,
> I would be.
Performance per transistor is not as important. When you really need performance, CPU is a very small fraction of total system cost.
BTW, Z80 is a bigger processor than 6809, 3.4x bigger than 6502!

Re: Could we build a better 6502?

<GbxSI.22659$A6.12649@fx37.iad>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.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: Could we build a better 6502?
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org> <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com> <NgvSI.17392$FI.11634@fx44.iad>
In-Reply-To: <NgvSI.17392$FI.11634@fx44.iad>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 40
Message-ID: <GbxSI.22659$A6.12649@fx37.iad>
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Mon, 16 Aug 2021 17:24:54 UTC
Date: Mon, 16 Aug 2021 13:23:54 -0400
X-Received-Bytes: 2738
 by: EricP - Mon, 16 Aug 2021 17:23 UTC

EricP wrote:
> pec...@gmail.com wrote:
>> Stefan Monnier wrote:
>>> Thomas Koenig [2021-08-15 13:45:54] wrote:
>>>> The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
>>>> and taking multiple CPU cycles for each "machine cycle" and multiple
>>>> machine cycles for each instruction.
>>> For the Z80 I think the question is closed, indeed: we can clearly do
>>> better with those resources. But note that part of its appeal/goal
>>> was backward compatibility.
>> The 4-bit ALU was used to circumvent the patent on 8080.
>
> How could Intel get a patent on an 8-bit ALU?
> There must be more to the story than that.

Ok, I think I see what went on.
Its not the 8-bits, its the carry propagate delay.

Intel had two 1976/77 patents on fast carry propagate circuits.
IIUC since NMOS transitions from 1 to 0 faster than 0 to 1,
they precharge all the carry logic to 1, then do a fast ripple
carry with NMOS pull-downs.
"The result is that a 16 bit adder may be fabricated which in the
worst case will add two such numbers in 30 nanoseconds or less."

Propagation line adder and method for binary addition, Intel 1976
https://patents.google.com/patent/US4031379A/

Single line propagation adder and method for binary addition, Intel 1977
https://patents.google.com/patent/US4152775A/

Designing the Z80, Federico Faggin would not have had access to
those patents and would have had to go with either a slow ripple
carry or more logic for a carry lookahead.

Instead, according to the Zilog Oral History Panel,
he went with a pipelined 4-bit ALU, saving lots of transistors,
and allowing a higher clock but getting the same performance as 8080.

Re: Could we build a better 6502?

<d921bd34-772b-4ee5-9099-4be09d85d16fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:a88a:: with SMTP id r132mr167615qke.212.1629136822500;
Mon, 16 Aug 2021 11:00:22 -0700 (PDT)
X-Received: by 2002:a9d:491c:: with SMTP id e28mr13413657otf.342.1629136822256;
Mon, 16 Aug 2021 11:00:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Mon, 16 Aug 2021 11:00:22 -0700 (PDT)
In-Reply-To: <57ebe9ff-ffd9-41ae-b697-23e0f2e604aan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.173.50.5; posting-account=zjh_fgoAAABo0Nzgf6peaFtS6c-3xdgr
NNTP-Posting-Host: 5.173.50.5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
<57ebe9ff-ffd9-41ae-b697-23e0f2e604aan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d921bd34-772b-4ee5-9099-4be09d85d16fn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: pec...@gmail.com (pec...@gmail.com)
Injection-Date: Mon, 16 Aug 2021 18:00:22 +0000
Content-Type: text/plain; charset="UTF-8"
 by: pec...@gmail.com - Mon, 16 Aug 2021 18:00 UTC

MitchAlsup wrote:
> I think consensus has been achieved--we cannot do better than the 6502 guys did.
Yes, we can but in the different dimension.
We should make 6502 more forward compatible.
Lets assume, that the second processor in the line is a little adjusted 6809.
"Better 6502" should have a strict subset of instructions of bigger "better 6809", both chips should be electrically compatible.
This way we have strong market synergy between products and free upgrade path.
Removal of decimal arithmetic (we can use procedures) can give us area for two 8-bit registers.
My choice is a 16 bit stack pointer and relocatable direct page.

Re: Could we build a better 6502?

<sfect6$roq$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-dc2a-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, 16 Aug 2021 19:05:10 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sfect6$roq$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de>
<84126256-8745-4707-9445-130860761e76n@googlegroups.com>
Injection-Date: Mon, 16 Aug 2021 19:05:10 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-dc2a-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:dc2a:0:7285:c2ff:fe6c:992d";
logging-data="28442"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 16 Aug 2021 19:05 UTC

pec...@gmail.com <peceed@gmail.com> schrieb:
> Thomas Koenig wrote:
>> Stefan Monnier <mon...@iro.umontreal.ca> schrieb:
>> > Which part of the 6502's instruction set do you find "complicated" and
>> > what kind of change do you think would have reduced the number of
>> > transistors needed to implement it?
>> The memory operands. A load/store architecture would have saved
>> a lot of decoding and sequencing and associated transistor (or,
>> better measure area), which could have been used for more and bigger
>> registers.
> It is a false assumption. Address modes are quite orthogonal
> pices of logic simply triggered as kind of subroutines, they have
> a very dense encoding in the ISA and logic is much cheaper than
> RAM required for analogous memory access code.

Cheaper in which way?

If you look at

https://en.wikipedia.org/wiki/MOS_Technology_6502#/media/File:MOS_6502_die.jpg

you can see that the PLA and control logic (left and center)
take up more space than all the rest, including registers, ALU,
PC with adder etc.

> LOAD/STORE with a lot of registers is a better target for
> compilers, but doesn't offer a better performance when you are
> constrained by 8-bit bus. Code size will be higher.

I'm still not convinced that the overall balance would be so
bad. Remember that SWEET16 was introduced to reduce code size
at the expense of execution speed...

> The power of RISC lies in the ability to consume high bandwidth
> of memory bus, easy pipelining and superscalar execution. RISC
> could be a viable competitor for 68k.

It also needs a small decoder and few memory accesses.

Re: Could we build a better 6502?

<sfeh1j$vng$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a544-865-0-e10a-a8e3-d67a-a3.ipv6dyn.netcologne.de!not-for-mail
From: bl1-remo...@gmx.com (Bernd Linsel)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Mon, 16 Aug 2021 22:15:47 +0200
Organization: news.netcologne.de
Distribution: world
Message-ID: <sfeh1j$vng$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 16 Aug 2021 20:15:47 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a544-865-0-e10a-a8e3-d67a-a3.ipv6dyn.netcologne.de:2a0a:a544:865:0:e10a:a8e3:d67a:a3";
logging-data="32496"; mail-complaints-to="abuse@netcologne.de"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <sde7eg$hgb$1@newsreader4.netcologne.de>
 by: Bernd Linsel - Mon, 16 Aug 2021 20:15 UTC

On 23.07.2021 12:59, Thomas Koenig wrote:
> Another direction for retro-architectures... I've been looking
> at the 6502 a bit, and it really is quite an interesting design.
> Squeezing the functionality of a CPU into ~3500 transistors (plus
> ~1000 transistors used as resistors) was quite an achievement.
>
> Could we do better knowing what we know now?
>
> "Better" could of course mean different things - more instructions
> per cycle, possibility of higher frequency, higher code density,
> easier programming (programming the 6502 was not easy, especially
> on the C-64 where Commodore had used up almost all of the zero
> page for its Basic - I hardly ever used the X register).
>
> The boundary conditions were of course severe. 16 bit address
> bus, combined program and data bus of 8 bit. At least memory
> was rather fast and could be accessed once per cycle without
> problems (and even with the possibility of another, interleaved
> access for graphics). Plus, any more transistors were bound to
> increase the size and decrease the yield, leading to much
> higher cost and erosion of the competetive advantage that the
> 6502 and its derivatives had at the time.
>

A really interesting discussion so far, but:

Wouldn't it be a better question, what could be achieved with today's
knowledge and technology at the retail price of the 6502 at the time?

In September 1975, a 6502 was priced at USD 25, which is roughly USD 120
in today's value.

Re: Could we build a better 6502?

<b39d5040-6d78-4be4-b111-de86c26b219cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a0c:ffae:: with SMTP id d14mr513588qvv.41.1629145438982; Mon, 16 Aug 2021 13:23:58 -0700 (PDT)
X-Received: by 2002:a9d:491c:: with SMTP id e28mr402635otf.342.1629145438690; Mon, 16 Aug 2021 13:23:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.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: Mon, 16 Aug 2021 13:23:58 -0700 (PDT)
In-Reply-To: <sfect6$roq$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=5.173.50.5; posting-account=zjh_fgoAAABo0Nzgf6peaFtS6c-3xdgr
NNTP-Posting-Host: 5.173.50.5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de> <84126256-8745-4707-9445-130860761e76n@googlegroups.com> <sfect6$roq$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b39d5040-6d78-4be4-b111-de86c26b219cn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: pec...@gmail.com (pec...@gmail.com)
Injection-Date: Mon, 16 Aug 2021 20:23:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 36
 by: pec...@gmail.com - Mon, 16 Aug 2021 20:23 UTC

Thomas Koenig wrote:
> pec...@gmail.com <pec...@gmail.com> schrieb:
> > It is a false assumption. Address modes are quite orthogonal
> > pices of logic simply triggered as kind of subroutines, they have
> > a very dense encoding in the ISA and logic is much cheaper than
> > RAM required for analogous memory access code.
> Cheaper in which way?
$. Memory was very expensive.

> If you look at
> https://en.wikipedia.org/wiki/MOS_Technology_6502#/media/File:MOS_6502_die.jpg
> you can see that the PLA and control logic (left and center)
> take up more space than all the rest, including registers, ALU,
> PC with adder etc.
You need 8 general purpose 16-bit registers. It is the size of Z80 register set!
I estimate that around 150% of 6502 die area is required in the best case. Very close, but embedded guys have no reason to pay 80% higher price per unit. 8/16-bit RISC is a competitor to Z80/6809/8088, not the 6502.

> > LOAD/STORE with a lot of registers is a better target for
> > compilers, but doesn't offer a better performance when you are
> > constrained by 8-bit bus. Code size will be higher.
> I'm still not convinced that the overall balance would be so
> bad. Remember that SWEET16 was introduced to reduce code size
> at the expense of execution speed...

> > The power of RISC lies in the ability to consume high bandwidth
> > of memory bus, easy pipelining and superscalar execution. RISC
> > could be a viable competitor for 68k.
> It also needs a small decoder and few memory accesses.
I don't belive in a much smaller decoder compared to 6502. Essential instructions are the same, just reduced to "registry address mode", we need to synthetize 16-bit operations using 8-bit ALU, every instruction has to have up to 3 registry acceses interleaved with logical operations, the amount of major opcodes is very similar.

Re: Could we build a better 6502?

<sfei2r$16l$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-dc2a-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, 16 Aug 2021 20:33:31 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sfei2r$16l$1@newsreader4.netcologne.de>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de>
<84126256-8745-4707-9445-130860761e76n@googlegroups.com>
<sfect6$roq$1@newsreader4.netcologne.de>
<b39d5040-6d78-4be4-b111-de86c26b219cn@googlegroups.com>
Injection-Date: Mon, 16 Aug 2021 20:33:31 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-dc2a-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:dc2a:0:7285:c2ff:fe6c:992d";
logging-data="1237"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 16 Aug 2021 20:33 UTC

pec...@gmail.com <peceed@gmail.com> schrieb:
> Thomas Koenig wrote:

>> If you look at
>> https://en.wikipedia.org/wiki/MOS_Technology_6502#/media/File:MOS_6502_die.jpg
>> you can see that the PLA and control logic (left and center)
>> take up more space than all the rest, including registers, ALU,
>> PC with adder etc.
> You need 8 general purpose 16-bit registers. It is the size of Z80 register set!
> I estimate that around 150% of 6502 die area is required in
> the best case.

Based on what? Did you design such a chip?

> Very close, but embedded guys have no reason to
> pay 80% higher price per unit. 8/16-bit RISC is a competitor to
> Z80/6809/8088, not the 6502.

[...]

Re: Could we build a better 6502?

<ee459708-d788-46bf-8614-732bb83f417fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:13c6:: with SMTP id p6mr735898qtk.253.1629162205157; Mon, 16 Aug 2021 18:03:25 -0700 (PDT)
X-Received: by 2002:a05:6808:2020:: with SMTP id q32mr481072oiw.30.1629162204909; Mon, 16 Aug 2021 18:03:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.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: Mon, 16 Aug 2021 18:03:24 -0700 (PDT)
In-Reply-To: <GbxSI.22659$A6.12649@fx37.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com> <4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org> <sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org> <616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com> <NgvSI.17392$FI.11634@fx44.iad> <GbxSI.22659$A6.12649@fx37.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee459708-d788-46bf-8614-732bb83f417fn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 17 Aug 2021 01:03:25 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 40
 by: MitchAlsup - Tue, 17 Aug 2021 01:03 UTC

On Monday, August 16, 2021 at 12:24:57 PM UTC-5, EricP wrote:
> EricP wrote:
> > pec...@gmail.com wrote:
> >> Stefan Monnier wrote:
> >>> Thomas Koenig [2021-08-15 13:45:54] wrote:
> >>>> The Z80 is even stranger, with its 4-bit ALU for an 8-bit design,
> >>>> and taking multiple CPU cycles for each "machine cycle" and multiple
> >>>> machine cycles for each instruction.
> >>> For the Z80 I think the question is closed, indeed: we can clearly do
> >>> better with those resources. But note that part of its appeal/goal
> >>> was backward compatibility.
> >> The 4-bit ALU was used to circumvent the patent on 8080.
> >
> > How could Intel get a patent on an 8-bit ALU?
> > There must be more to the story than that.
> Ok, I think I see what went on.
> Its not the 8-bits, its the carry propagate delay.
>
> Intel had two 1976/77 patents on fast carry propagate circuits.
> IIUC since NMOS transitions from 1 to 0 faster than 0 to 1,
> they precharge all the carry logic to 1, then do a fast ripple
> carry with NMOS pull-downs.
<
For much the same reasons all DEC buses were 0V = 1, VDD = 0.
<
> "The result is that a 16 bit adder may be fabricated which in the
> worst case will add two such numbers in 30 nanoseconds or less."
>
> Propagation line adder and method for binary addition, Intel 1976
> https://patents.google.com/patent/US4031379A/
>
> Single line propagation adder and method for binary addition, Intel 1977
> https://patents.google.com/patent/US4152775A/
>
> Designing the Z80, Federico Faggin would not have had access to
> those patents and would have had to go with either a slow ripple
> carry or more logic for a carry lookahead.
>
> Instead, according to the Zilog Oral History Panel,
> he went with a pipelined 4-bit ALU, saving lots of transistors,
> and allowing a higher clock but getting the same performance as 8080.

Re: Could we build a better 6502?

<671e6e71-43b7-486c-9733-b90fcc3b07b8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:9e8c:: with SMTP id h134mr1262933qke.366.1629162311477;
Mon, 16 Aug 2021 18:05:11 -0700 (PDT)
X-Received: by 2002:a54:4883:: with SMTP id r3mr442989oic.7.1629162311268;
Mon, 16 Aug 2021 18:05:11 -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, 16 Aug 2021 18:05:11 -0700 (PDT)
In-Reply-To: <sfect6$roq$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
<sfect6$roq$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <671e6e71-43b7-486c-9733-b90fcc3b07b8n@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 17 Aug 2021 01:05:11 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Tue, 17 Aug 2021 01:05 UTC

On Monday, August 16, 2021 at 2:05:12 PM UTC-5, Thomas Koenig wrote:
> pec...@gmail.com <pec...@gmail.com> schrieb:
> > Thomas Koenig wrote:
> >> Stefan Monnier <mon...@iro.umontreal.ca> schrieb:
> >> > Which part of the 6502's instruction set do you find "complicated" and
> >> > what kind of change do you think would have reduced the number of
> >> > transistors needed to implement it?
> >> The memory operands. A load/store architecture would have saved
> >> a lot of decoding and sequencing and associated transistor (or,
> >> better measure area), which could have been used for more and bigger
> >> registers.
> > It is a false assumption. Address modes are quite orthogonal
> > pices of logic simply triggered as kind of subroutines, they have
> > a very dense encoding in the ISA and logic is much cheaper than
> > RAM required for analogous memory access code.
> Cheaper in which way?
>
> If you look at
>
> https://en.wikipedia.org/wiki/MOS_Technology_6502#/media/File:MOS_6502_die.jpg
>
> you can see that the PLA and control logic (left and center)
> take up more space than all the rest, including registers, ALU,
> PC with adder etc.
<
Yes, but adding registers for a LD/ST machine would add crap-loads(r)
of transistors.
>
> > LOAD/STORE with a lot of registers is a better target for
> > compilers, but doesn't offer a better performance when you are
> > constrained by 8-bit bus. Code size will be higher.
> I'm still not convinced that the overall balance would be so
> bad. Remember that SWEET16 was introduced to reduce code size
> at the expense of execution speed...
> > The power of RISC lies in the ability to consume high bandwidth
> > of memory bus, easy pipelining and superscalar execution. RISC
> > could be a viable competitor for 68k.
> It also needs a small decoder and few memory accesses.

Re: Could we build a better 6502?

<d601238d-6fc1-4cd3-bc07-b5561685c13dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:aed:20a2:: with SMTP id 31mr780898qtb.69.1629162424627;
Mon, 16 Aug 2021 18:07:04 -0700 (PDT)
X-Received: by 2002:a9d:266a:: with SMTP id a97mr705579otb.114.1629162424367;
Mon, 16 Aug 2021 18:07:04 -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, 16 Aug 2021 18:07:04 -0700 (PDT)
In-Reply-To: <sfei2r$16l$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=104.59.204.55; posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 104.59.204.55
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
<sfect6$roq$1@newsreader4.netcologne.de> <b39d5040-6d78-4be4-b111-de86c26b219cn@googlegroups.com>
<sfei2r$16l$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d601238d-6fc1-4cd3-bc07-b5561685c13dn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Tue, 17 Aug 2021 01:07:04 +0000
Content-Type: text/plain; charset="UTF-8"
 by: MitchAlsup - Tue, 17 Aug 2021 01:07 UTC

On Monday, August 16, 2021 at 3:33:33 PM UTC-5, Thomas Koenig wrote:
> pec...@gmail.com <pec...@gmail.com> schrieb:
> > Thomas Koenig wrote:
> >> If you look at
> >> https://en.wikipedia.org/wiki/MOS_Technology_6502#/media/File:MOS_6502_die.jpg
> >> you can see that the PLA and control logic (left and center)
> >> take up more space than all the rest, including registers, ALU,
> >> PC with adder etc.
> > You need 8 general purpose 16-bit registers. It is the size of Z80 register set!
> > I estimate that around 150% of 6502 die area is required in
> > the best case.
> Based on what? Did you design such a chip?
<
A bit in the sequence ROM takes 1 transistor whether it reads a 0 or a 1.
<
A bit in a dedicated register takes 4 transistors.
A bit in an addressed register takes 7 transistors.
<
> > Very close, but embedded guys have no reason to
> > pay 80% higher price per unit. 8/16-bit RISC is a competitor to
> > Z80/6809/8088, not the 6502.
> [...]

Re: Could we build a better 6502?

<sff9u7$m1r$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ggt...@yahoo.com (Brett)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Tue, 17 Aug 2021 03:20:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <sff9u7$m1r$1@dont-email.me>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com>
<sfaip0$8o8$1@newsreader4.netcologne.de>
<2021Aug15.175812@mips.complang.tuwien.ac.at>
<rq-dneuWULqG2oT8nZ2dnUU7-KHNnZ2d@earthlink.com>
<sfc5ib$1sd$1@dont-email.me>
<hLudnaFAuebSAYT8nZ2dnUU7-a3NnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 17 Aug 2021 03:20:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8cdb556c0459a60ce5a7263f85c82a96";
logging-data="22587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uFlJUpxtL3I8yMbQxqPFW"
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:lCUmnZ1n7Y/zxaNQXU8qYwvJfmY=
sha1:hAvX9YbsI6Ec8plc2FgZ3RSzs7I=
 by: Brett - Tue, 17 Aug 2021 03:20 UTC

David Schultz <david.schultz@earthlink.net> wrote:
> On 8/15/21 5:47 PM, Brett wrote:
>> David Schultz <david.schultz@earthlink.net> wrote:
>>> It looks like I will not have to dig into the paper archives:
>>> https://tlindner.macmess.org/?page_id=119
>>
>> Point 4 says no bit manipulation, but I see AND, OR, XOR, RORL, RORR, and
>> bit compare.
>> What are they talking about missing?
>>
>
> Probably specific things like the bclr, bset, and btst instructions on
> the 68000.

I fail to see how those could be expensive in die space.

What I really wanted was a barrel roller for arbitrary one cycle shifts,
but the 68000 did not have that either. A barrel roller does take up die
space, especially on a one metal process.

For the Macintosh one cycle shifts could have doubled the performance of
the machine, well worth the extra die cost.

Apple was the prime customer for the 68000, though not so early as to help
design.

After reading how rinky dink the ARM design team was, that confirmed to me
that Apple should design its own chips. Decades before such happened.

Re: Could we build a better 6502?

<sffaor$pof$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ggt...@yahoo.com (Brett)
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Tue, 17 Aug 2021 03:34:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <sffaor$pof$1@dont-email.me>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
<sfeh1j$vng$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 17 Aug 2021 03:34:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8cdb556c0459a60ce5a7263f85c82a96";
logging-data="26383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yR+PaqiP1uiynal8LxZHv"
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:Wn6gLfX2tvr9e1yY/XNwzGZXngI=
sha1:0SCVB3rkdwXgc34Hfal0nIVWaqI=
 by: Brett - Tue, 17 Aug 2021 03:34 UTC

Bernd Linsel <bl1-removethis@gmx.com> wrote:
> On 23.07.2021 12:59, Thomas Koenig wrote:
>> Another direction for retro-architectures... I've been looking
>> at the 6502 a bit, and it really is quite an interesting design.
>> Squeezing the functionality of a CPU into ~3500 transistors (plus
>> ~1000 transistors used as resistors) was quite an achievement.
>>
>> Could we do better knowing what we know now?
>>
>> "Better" could of course mean different things - more instructions
>> per cycle, possibility of higher frequency, higher code density,
>> easier programming (programming the 6502 was not easy, especially
>> on the C-64 where Commodore had used up almost all of the zero
>> page for its Basic - I hardly ever used the X register).
>>
>> The boundary conditions were of course severe. 16 bit address
>> bus, combined program and data bus of 8 bit. At least memory
>> was rather fast and could be accessed once per cycle without
>> problems (and even with the possibility of another, interleaved
>> access for graphics). Plus, any more transistors were bound to
>> increase the size and decrease the yield, leading to much
>> higher cost and erosion of the competetive advantage that the
>> 6502 and its derivatives had at the time.
>>
>
> A really interesting discussion so far, but:
>
> Wouldn't it be a better question, what could be achieved with today's
> knowledge and technology at the retail price of the 6502 at the time?
>
> In September 1975, a 6502 was priced at USD 25, which is roughly USD 120
> in today's value.
>

The iPhone 12 A14 Bionic chipset is said to cost $40.
And it is pretty much the same as the M1 in the Macs which is estimated at
$40 to $50.

Re: Could we build a better 6502?

<87im04elus.fsf@hotmail.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!QdfpXnc02GpuWeXAT8g6lg.user.46.165.242.75.POSTED!not-for-mail
From: cla...@hotmail.com
Newsgroups: comp.arch
Subject: Re: Could we build a better 6502?
Date: Tue, 17 Aug 2021 07:28:11 +0300
Organization: Aioe.org NNTP Server
Message-ID: <87im04elus.fsf@hotmail.com>
References: <sde7eg$hgb$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="30570"; posting-host="QdfpXnc02GpuWeXAT8g6lg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cancel-Lock: sha1:gS8pQf0vdxtfch90YyNWL3l/oP0=
X-Notice: Filtered by postfilter v. 0.9.2
 by: cla...@hotmail.com - Tue, 17 Aug 2021 04:28 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:

> Another direction for retro-architectures... I've been looking
> at the 6502 a bit, and it really is quite an interesting design.
> Squeezing the functionality of a CPU into ~3500 transistors (plus
> ~1000 transistors used as resistors) was quite an achievement.
>
> Could we do better knowing what we know now?
>
> "Better" could of course mean different things - more instructions
> per cycle, possibility of higher frequency, higher code density,
> easier programming (programming the 6502 was not easy, especially
> on the C-64 where Commodore had used up almost all of the zero
> page for its Basic - I hardly ever used the X register).
>
> The boundary conditions were of course severe. 16 bit address
> bus, combined program and data bus of 8 bit. At least memory
> was rather fast and could be accessed once per cycle without
> problems (and even with the possibility of another, interleaved
> access for graphics). Plus, any more transistors were bound to
> increase the size and decrease the yield, leading to much
> higher cost and erosion of the competetive advantage that the
> 6502 and its derivatives had at the time.

Apparently you can do a lot with 6502, case in point:
https://www.youtube.com/watch?v=zprSxCMlECA

Re: Could we build a better 6502?

<42c10593-610e-4ab5-ac9c-1eb946e9a750n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:44c1:: with SMTP id y1mr2027394qkp.453.1629179525808;
Mon, 16 Aug 2021 22:52:05 -0700 (PDT)
X-Received: by 2002:aca:b656:: with SMTP id g83mr1128795oif.84.1629179525552;
Mon, 16 Aug 2021 22:52:05 -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, 16 Aug 2021 22:52:05 -0700 (PDT)
In-Reply-To: <NgvSI.17392$FI.11634@fx44.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f39d:2c00:4536:69a4:28ed:dae5;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:f39d:2c00:4536:69a4:28ed:dae5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
<616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com> <NgvSI.17392$FI.11634@fx44.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <42c10593-610e-4ab5-ac9c-1eb946e9a750n@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Tue, 17 Aug 2021 05:52:05 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Tue, 17 Aug 2021 05:52 UTC

On Monday, August 16, 2021 at 9:13:52 AM UTC-6, EricP wrote:

> How could Intel get a patent on an 8-bit ALU?
> There must be more to the story than that.

Good heavens, yes. The IBM System/360 Model 30 is prior art...
not to mention the Model 40 and the Model 50, which proved
that it is possible to build computers with 16-bit and 32-bit
ALUs.

....and, of course, there are many other possible examples. The
Honeywell 516, the Hewlett-Packard 2160, the PDP-11 are all
examples of computers with 16-bit ALUs.

And, of course, how on Earth did the Z-80 achieve acceptable
performance with a 4-bit ALU?

John Savard

Re: Could we build a better 6502?

<59b35348-4b34-4751-a168-bb8ba0660d37n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:b505:: with SMTP id e5mr2136648qkf.367.1629179753397;
Mon, 16 Aug 2021 22:55:53 -0700 (PDT)
X-Received: by 2002:a05:6830:3115:: with SMTP id b21mr1393480ots.240.1629179753156;
Mon, 16 Aug 2021 22:55:53 -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, 16 Aug 2021 22:55:52 -0700 (PDT)
In-Reply-To: <GbxSI.22659$A6.12649@fx37.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f39d:2c00:4536:69a4:28ed:dae5;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:f39d:2c00:4536:69a4:28ed:dae5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <jwvim066b00.fsf-monnier+comp.arch@gnu.org>
<616285e6-04cf-426d-b7e4-8dcb4a96e2edn@googlegroups.com> <NgvSI.17392$FI.11634@fx44.iad>
<GbxSI.22659$A6.12649@fx37.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <59b35348-4b34-4751-a168-bb8ba0660d37n@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Tue, 17 Aug 2021 05:55:53 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Tue, 17 Aug 2021 05:55 UTC

On Monday, August 16, 2021 at 11:24:57 AM UTC-6, EricP wrote:

> Ok, I think I see what went on.
> Its not the 8-bits, its the carry propagate delay.
>
> Intel had two 1976/77 patents on fast carry propagate circuits.
> IIUC since NMOS transitions from 1 to 0 faster than 0 to 1,
> they precharge all the carry logic to 1, then do a fast ripple
> carry with NMOS pull-downs.
> "The result is that a 16 bit adder may be fabricated which in the
> worst case will add two such numbers in 30 nanoseconds or less."
>
> Propagation line adder and method for binary addition, Intel 1976
> https://patents.google.com/patent/US4031379A/
>
> Single line propagation adder and method for binary addition, Intel 1977
> https://patents.google.com/patent/US4152775A/
>
> Designing the Z80, Federico Faggin would not have had access to
> those patents and would have had to go with either a slow ripple
> carry or more logic for a carry lookahead.
>
> Instead, according to the Zilog Oral History Panel,
> he went with a pipelined 4-bit ALU, saving lots of transistors,
> and allowing a higher clock but getting the same performance as 8080.

This... sort of... explains it. I would have thought a conventional carry look-ahead
would not only be the obvious solution, but the one most likely to work and give
good performance. That a _pipelined_ 4-bit ALU could do as well is certainly an
ingenious and original idea, though.

And since they patented that trick, no doubt, it explains why the first 16-bit
processors weren't designed that way.

John Savard

Re: Could we build a better 6502?

<0e315a04-9657-42a9-bfec-d9d5e7815d9fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ae9:f44c:: with SMTP id z12mr2196022qkl.433.1629180465146;
Mon, 16 Aug 2021 23:07:45 -0700 (PDT)
X-Received: by 2002:a05:6830:3109:: with SMTP id b9mr1395349ots.276.1629180464887;
Mon, 16 Aug 2021 23:07:44 -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, 16 Aug 2021 23:07:44 -0700 (PDT)
In-Reply-To: <sfei2r$16l$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f39d:2c00:4536:69a4:28ed:dae5;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:f39d:2c00:4536:69a4:28ed:dae5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
<sfect6$roq$1@newsreader4.netcologne.de> <b39d5040-6d78-4be4-b111-de86c26b219cn@googlegroups.com>
<sfei2r$16l$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0e315a04-9657-42a9-bfec-d9d5e7815d9fn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Tue, 17 Aug 2021 06:07:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Tue, 17 Aug 2021 06:07 UTC

On Monday, August 16, 2021 at 2:33:33 PM UTC-6, Thomas Koenig wrote:
> pec...@gmail.com <pec...@gmail.com> schrieb:

> > You need 8 general purpose 16-bit registers. It is the size of Z80 register set!
> > I estimate that around 150% of 6502 die area is required in
> > the best case.

> Based on what? Did you design such a chip?

I used to work with the TI 9900 in the 990/4 computer. Remember it?
It was one of the first 16-bit microprocessors, with an instruction set like
that of the PDP-11.
It achieved this... by putting the entire register set in external memory.
So that putting general registers on a chip takes a _lot_ of space, at least
by the standards of the 8-bit era, is very believable to me.

John Savard

Re: Could we build a better 6502?

<1fe5706a-fea2-4319-b87a-ea976a78204fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:5991:: with SMTP id e17mr1547099qte.265.1629180699551;
Mon, 16 Aug 2021 23:11:39 -0700 (PDT)
X-Received: by 2002:a9d:6959:: with SMTP id p25mr1372584oto.81.1629180699350;
Mon, 16 Aug 2021 23:11:39 -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, 16 Aug 2021 23:11:39 -0700 (PDT)
In-Reply-To: <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f39d:2c00:4536:69a4:28ed:dae5;
posting-account=1nOeKQkAAABD2jxp4Pzmx9Hx5g9miO8y
NNTP-Posting-Host: 2001:56a:f39d:2c00:4536:69a4:28ed:dae5
References: <sde7eg$hgb$1@newsreader4.netcologne.de> <be7f8928-ee11-422e-b11e-f89d3ad39782n@googlegroups.com>
<4faf234c-eabc-4ed4-b849-5e33df12fdb9n@googlegroups.com> <jwvtujq6d9n.fsf-monnier+comp.arch@gnu.org>
<sfb5qi$m3u$1@newsreader4.netcologne.de> <84126256-8745-4707-9445-130860761e76n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1fe5706a-fea2-4319-b87a-ea976a78204fn@googlegroups.com>
Subject: Re: Could we build a better 6502?
From: jsav...@ecn.ab.ca (Quadibloc)
Injection-Date: Tue, 17 Aug 2021 06:11:39 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Quadibloc - Tue, 17 Aug 2021 06:11 UTC

On Monday, August 16, 2021 at 11:10:53 AM UTC-6, pec...@gmail.com wrote:

> The power of RISC lies in the ability to consume high bandwidth of
> memory bus, easy pipelining and superscalar execution. RISC could
> be a viable competitor for 68k.

Given that Motorola basically dropped the 68k architecture in favor
of the PowerPC, a RISC architecture, and billed their ColdFire truncated
68k embedded chips as "RISC-like", I'd say that we don't have to speculate,
we have historical proof of that.

And, earlier, in workstations, RISC chips with the MIPS architecture
competed head-to-head with workstations based on the 68000 architecture
from Apollo.

John Savard

Pages:12345678910111213
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor