Jump to content
mksmith

Custom Sally Replacement

Recommended Posts

Hi everyone,

 

Whilst I don't unfortunately have an XL machine myself I often watch various Youtube channels and videos covering these machines.  I came across this channel recently called the Byte Attic where the chap (I can't find his name unfortunately) has been designing a Sally replacement which plugs directly into the socket (replacing it with a PCB containing a W65C02S and some logic and transceiver chips).  He has just completed the series and has made the board available on Github here.

 

The design starts in Part 3 of his 5 part series:

 

Hopefully some of you might be able to resurrect a machine or two using it 👍

  • Like 6
  • Thanks 1

Share this post


Link to post
Share on other sites

Clever but it's a solution in search of a problem. A new WDC65C02S runs about seven bucks at Mouser. A new old-stock SALLY is eight bucks from Best Electronics. :)

  • Like 4

Share this post


Link to post
Share on other sites
14 minutes ago, DrVenkman said:

Clever but it's a solution in search of a problem. A new WDC65C02S runs about seven bucks at Mouser. A new old-stock SALLY is eight bucks from Best Electronics. :)

Oh - I didn't realise these were still reasonably readily available.  I guess for those without easy access to Bests it could be an option but an original chip is certainly the preferred of course.

  • Like 1

Share this post


Link to post
Share on other sites

Even with the original Sally still available from Best, you have to factor in a pretty steep shipping and handling fee + minimum order requirements. I could also see an advantage in the Sally replacement having a much lower power requirement due to being CMOS (Sally gets very hot - meaning it's drawing quite a bit of power), and a few more efficient OP-Codes. Cons would be no support for illegal OP-Codes, although that's rarely a problem.

 

I just went to the GitHub link, but nothing appears to have been uploaded.

 

Screenshot.thumb.png.6610fd6007a1309fb9b99aa1c4f35e01.png

 

Never mind - it was my browser's javascript blocker causing the problem.

 

Edited by mytek
commented about problem being on my end
  • Like 2

Share this post


Link to post
Share on other sites
21 minutes ago, mytek said:

Even with the original Sally still available from Best, you have to factor in a pretty steep shipping and handling fee + minimum order requirements. I could also see an advantage in the Sally replacement having a much lower power requirement due to being CMOS (Sally gets very hot - meaning it's drawing quite a bit of power), and a few more efficient OP-Codes. Cons would be no support for illegal OP-Codes, although that's rarely a problem.

 

I just went to the GitHub link, but nothing appears to have been uploaded.

 

Screenshot.thumb.png.6610fd6007a1309fb9b99aa1c4f35e01.png

 

Never mind - it was my browser's javascript blocker causing the problem.

 

For sure - I live in Australia and ordered some joystick parts from Brad a few years ago and it cost me a fair amount on top of the $ conversion.  No doubt it works better for some than others.

 

This guy does some really interesting videos around replacing these old and getting harder to find components - he did a similar 6502 replacement for a Vic-20 in a previous episode. 

  • Like 2

Share this post


Link to post
Share on other sites

I'd like to see the schematic of this. I'd also like to know if a PAL/GAL was used, and I'd like to know if the code in the PAL/GAL is the SAME as I wrote for the FTe Sweet-16.

 

:)

 

Edited by Kyle22
Bold the I.
  • Like 1

Share this post


Link to post
Share on other sites
7 minutes ago, Kyle22 said:

I'd like to see the schematic of this. I'd also like to know if a PAL/GAL was used, and I'd like to know if the code in the PAL/GAL is the SAME as I wrote for the FTe Sweet-16.

 

:)

 

The 3 videos explain his entire dev process and the issues he encountered. These are just off the shelf parts from my understanding so no code involved. Well worth a watch!

  • Like 1

Share this post


Link to post
Share on other sites

I like the electronic design not requiring programming of a PLD. But due to the through-hole parts being used it's a rather large board that may interfere with other upgrades depending on the model of Atari this gets used in.

 

1244979007_W65C02StoAtari.thumb.png.7a14da64c901c43261256656c3e7988a.png

 

I think down the road what I would like to do is layout a new version of the PCB using SMD components, which should allow it to be shrunk down to a footprint barely larger than just the CPU itself. If I do this (I'm not saying that I will), I would of course release the gerbers into the public domain same as the original creator and credit him on the silkscreen for the original design.

 

Here's an example of what I am thinking the size could be reduced down to...

 

tk-ii-pbj_top_assy_complete.jpg

 

Unlike this example board that utilized a straight thru piggyback, it would still require an offset header similar to what was done in the original layout for signals that don't pass all the way thru, and it would need to have SMD components top & bottom in order to stay inside the CPU footprint. Overall I think it would end up with a footprint the same as my example photo.

 

  • Like 9

Share this post


Link to post
Share on other sites

A pal of mine, Guus Assmann, designed a similar upgrade already back in '86-'87. He also included a hardware realtime clock, could be either a OKI 5832 or a Motorola 146818, and a 6520/6821 PIA based printer port. Schematics and PCB layout were published in Atari Magazine (NL). The PCB was really big.

 

I wonder if The Byte Attic was inspired by his design. If so, it would be nice of him to mention it and give credit where credit is due.

 

re-atari

  • Like 3

Share this post


Link to post
Share on other sites

I agree a slimline form factor would be better - space for a given upgrade usually steals from adjacent areas.

 

Off topic somewhat but in the modern day why don't we yet have a plugin emulated replacement?

The thought is a PIC, AVR, something, that runs a 6502 core and can behave exactly like the OEM part.  Then add things like 65C02 mode, maybe 65816, and obviously why not have a 6809 mode as well?

  • Like 7

Share this post


Link to post
Share on other sites

Hello guys

 

On 8/21/2020 at 10:15 AM, re-atari said:

A pal of mine, Guus Assmann, designed a similar upgrade already back in '86-'87.

 

Here's some information (with schematic and pictures) of Guus' upgrade.

 

Sincerely

 

Mathy

  • Like 1

Share this post


Link to post
Share on other sites
On 8/21/2020 at 1:15 AM, re-atari said:

A pal of mine, Guus Assmann, designed a similar upgrade already back in '86-'87. He also included a hardware realtime clock, could be either a OKI 5832 or a Motorola 146818, and a 6520/6821 PIA based printer port. Schematics and PCB layout were published in Atari Magazine (NL). The PCB was really big.

 

I wonder if The Byte Attic was inspired by his design. If so, it would be nice of him to mention it and give credit where credit is due.

It's not the same circuit. Guss's circuit was very similar to the original 800 (in fact it might be identical - my memory isn't sure), where both the data bus and the address bus required tri-state buffers to float the CPU. Whereas this new design leaves the address lines connected and uses the W65C02S to float the address bus internally, thus its more compact with one less tri-state buffer required.

 

  • Like 2

Share this post


Link to post
Share on other sites
On 8/21/2020 at 3:28 AM, Rybags said:

 

Off topic somewhat but in the modern day why don't we yet have a plugin emulated replacement?

The thought is a PIC, AVR, something, that runs a 6502 core and can behave exactly like the OEM part.  Then add things like 65C02 mode, maybe 65816, and obviously why not have a 6809 mode as well?

I wanted to like this idea more than once!

Edited by Gunstar

Share this post


Link to post
Share on other sites
On 8/21/2020 at 1:28 AM, Rybags said:

Off topic somewhat but in the modern day why don't we yet have a plugin emulated replacement?

The thought is a PIC, AVR, something, that runs a 6502 core and can behave exactly like the OEM part.  Then add things like 65C02 mode, maybe 65816, and obviously why not have a 6809 mode as well?

Yes it would be the best of all worlds.

 

Unlike using an FPGA, where there are proven cores to work from, coding a microcontroller of any kind to do this would be quite the challenge. Although at least we live in a time when they are certainly getting fast enough to do so.

 

We won't see this happening anytime soon, although I'll be happy to be proven wrong :) .

 

Share this post


Link to post
Share on other sites
16 hours ago, mytek said:

We won't see this happening anytime soon, although I'll be happy to be proven wrong :) .

I acquired a development board with the same CPU as the UnoCart specifically for this reason. But that was years ago ;)

 

  • Like 1

Share this post


Link to post
Share on other sites
On 8/21/2020 at 5:28 AM, Rybags said:

Off topic somewhat but in the modern day why don't we yet have a plugin emulated replacement?

The thought is a PIC, AVR, something, that runs a 6502 core and can behave exactly like the OEM part.  Then add things like 65C02 mode, maybe 65816, and obviously why not have a 6809 mode as well?

 

It might be feasible to emulate Sally at real time using a fast modern MCU. May be with something like an Arm Cortex perhaps. But I think it is obvious that this task is much more suitable for an FPGA and I think there are already such 6502 chips replacements. A FPGA could easily do much more, not only "clone" Sally at 1.79 MHz, but could also do, i.e., a 65816 at much higher frequencies.

Edited by ijor

Share this post


Link to post
Share on other sites

I totally lack the skills to design my idea:

 

A plug-in board with a 65C816 (real or emulated) that accesses system RAM through the socket for data bank register 0 and "on-board" RAM for everything above and includes circuitry to make it Sally-compatible. As 65C816s are available in SMD it might be possible to design this so small that it can be swapped for a real Sally. (Mostly for 800s, XL/XEs can have the functionality with Antonia.)

 

There's a guy in Bulgaria who builds 65C816s on a board that makes them pin compatible with normal 6502s (effectively a 65c802 replacement).

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...