6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 11:56 am

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 2:47 pm 
Offline

Joined: Sat Jul 09, 2016 6:01 pm
Posts: 180
http://www.vectronicsappleworld.com/archives/appleii/0002.php mentions 6502b for Apple III+ which "had custom external circuitry that provided a number of enhancements to the normal 6502 instruction set. These enhancements included an expanded addressing range, alternate stack and zero pages, and improved indirect addressing that was supported by a separate pointer".
I have never met documentation for this CPU. Could anybody help to find it? IMHO this 6502b may relate to unreleased Synertek 6516/6509.

_________________
my blog about processors


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 3:29 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Here's the BYTE article it's quoting from:
which says
Quote:
Processor: 6502B (2 MHz) with bank switching and enchanced indirect addressing, double stack and zero pages


I'm surprised it's a special processor - I thought all the instruction detection and address swizzling was done in Apple's custom support chips. See previous thread

Back to the BYTE article:
Quote:
The Apple III central processing unit is based on a 6502B microprocessor with custom external circuitry that provides a number of enhancements to the normal 6502 instruction set. These enhancements include expanded addressing range, alternate stack and zero pages, and improved indirect addressing that is supported by a separate pointer page.

Although the technical information provided by Apple is somewhat vague, apparently the 6502B is run at 2 MHz during the video blanking intervals and at 1 MHz while the beam is writing information onto your monitor screen. This provides an average speed of about 1.4 MHz, but the screen can be turned off temporarily during program execution to allow the processor to run at its full 2-MHz speed, if desired.

While a normal 6502B can address a maximum of 64K bytes of memory, the Apple III uses bank switching to expand this range to a theoretical maximum of 512K bytes.

In fact I think we can read this information as saying that the 6502B is merely a 2MHz 6502, but if we add Apple's custom support chip(s) and call that the Apple III's Central Processing Unit then all the above is consistent. No special sauce in the 6502B.


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 3:31 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
(I think the word "external" in the phrase "custom external circuitry" is the big hint.)


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 3:35 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
A 6502B is just a 6502 rated for 3Mhz.

It looks like they used external logic chips to logically split the 64K address space into three banked areas with some logic to detect zero page and stack access and redirect them to a different pages.

http://apple3.org/Documents/Magazines/AppleIIIExtendedAddressing.html

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 3:44 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
I wonder if they needed a 3MHz part to give them the margins to run at 2MHz but with the 'switch box' in the access path to memory.


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 7:14 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
BitWise wrote:
A 6502B is just a 6502 rated for 3Mhz.

It looks like they used external logic chips to logically split the 64K address space into three banked areas with some logic to detect zero page and stack access and redirect them to a different pages.

http://apple3.org/Documents/Magazines/AppleIIIExtendedAddressing.html

From the link:
Quote:
Whenever the 6502 uses a (ZP),Y addressing mode, and the zero page register ($FFD0) contains a number from $18 to $1F, the "switch box" uses the above-mentioned extra byte (called the "Xbyte") to perform "extended addressing."

How do you think the circuitry could detect the addressing mode? Is there a way for external circuitry to distinguish an instruction fetch from a data fetch?


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 7:30 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
That's what the SYNC pin is for, surely? Or did I miss something?


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Wed Feb 20, 2019 7:39 pm 
Offline

Joined: Sat Jul 09, 2016 6:01 pm
Posts: 180
Thanks. Thus it is a kind of MMU. Similar external circuitry of the C128 is directly called MMU. The MMU of the C128 can be used for example for fast memory block moves. It is interesting that the C264 series use CPU in a way of the Apple III: CPU has different frequencies depending on the screen beam position. So Commodore took a lot from the Apple III design. However the ill fate of the 6502 prevented the success of the Apple III, it was just quietly shut down by the management. The similar story occurred with the Apple IIx project.

IMHO the 6502A was too hot at 2 MHz and 6502B was just colder.

_________________
my blog about processors


Last edited by litwr on Thu Feb 21, 2019 7:02 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Thu Feb 21, 2019 5:38 am 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
The Apple III didn't fail because it has a 6502 in it. It failed because it was badly engineered and hellishly unreliable.


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Thu Feb 21, 2019 7:19 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
On the other hand, it had no fan. So that's a win!


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Thu Feb 21, 2019 7:51 pm 
Offline

Joined: Sat Jul 09, 2016 6:01 pm
Posts: 180
Chromatix wrote:
The Apple III didn't fail because it has a 6502 in it. It failed because it was badly engineered and hellishly unreliable.

The Apple III Plus had all drawbacks fixed and was sold quite well but according to Linzmayer, Owen. Apple Confidential 2.0. San Francisco: No Starch Press, 2004. Page 43.
Quote:
Although the III Plus boosted the installed user base to an estimated 120,000 units, Apple abruptly dropped the line in April 1984 and quietly removed it from the product list in September 1985[

I can understand Apple management because there was no prospects of the development of the 6502 architecture. :(

_________________
my blog about processors


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Thu Feb 21, 2019 8:00 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Nice quote! That article can be found here:
http://www.vectronicsappleworld.com/arc ... i/0002.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Synertek 6502b?
PostPosted: Thu Feb 21, 2019 8:41 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
Chromatix wrote:
The Apple III didn't fail because it has a 6502 in it. It failed because it was badly engineered and hellishly unreliable.



But I want one so bad. I just can't justify the expense. I've even thought about trading my A1200 for one but I think the Apple \\\ is actually worth more.

:-)

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 79 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: