+mksmith #1 Posted August 21, 2020 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 👍 6 1 Quote Share this post Link to post Share on other sites
+DrVenkman #2 Posted August 21, 2020 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. 4 Quote Share this post Link to post Share on other sites
+mksmith #3 Posted August 21, 2020 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. 1 Quote Share this post Link to post Share on other sites
+mytek #4 Posted August 21, 2020 (edited) 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. Never mind - it was my browser's javascript blocker causing the problem. Edited August 21, 2020 by mytek commented about problem being on my end 2 Quote Share this post Link to post Share on other sites
+mksmith #5 Posted August 21, 2020 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. 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. 2 Quote Share this post Link to post Share on other sites
Kyle22 #6 Posted August 21, 2020 (edited) 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 August 21, 2020 by Kyle22 Bold the I. 1 Quote Share this post Link to post Share on other sites
+mksmith #7 Posted August 21, 2020 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! 1 Quote Share this post Link to post Share on other sites
+mksmith #8 Posted August 21, 2020 The schematic is here: https://github.com/TheByteAttic/Sally-to-W65C02S-adapter/blob/master/Schematics W65C02S to Atari Sally Adapter 20 August 2020.pdf 1 1 Quote Share this post Link to post Share on other sites
+mytek #9 Posted August 21, 2020 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. 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... 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. 9 Quote Share this post Link to post Share on other sites
re-atari #10 Posted August 21, 2020 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 3 Quote Share this post Link to post Share on other sites
Rybags #11 Posted August 21, 2020 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? 7 Quote Share this post Link to post Share on other sites
Mathy #12 Posted August 23, 2020 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 1 Quote Share this post Link to post Share on other sites
+mytek #13 Posted August 23, 2020 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. 2 Quote Share this post Link to post Share on other sites
Gunstar #14 Posted August 23, 2020 (edited) 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 August 23, 2020 by Gunstar Quote Share this post Link to post Share on other sites
+mytek #15 Posted August 23, 2020 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 . Quote Share this post Link to post Share on other sites
ivop #16 Posted August 24, 2020 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 1 Quote Share this post Link to post Share on other sites
ijor #17 Posted August 25, 2020 (edited) 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 August 25, 2020 by ijor Quote Share this post Link to post Share on other sites
+slx #18 Posted August 25, 2020 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). Quote Share this post Link to post Share on other sites