cheesestraws Posted April 23, 2020 Report Share Posted April 23, 2020 I know that, in theory, one can supply an external synchronous clock to the SCC by supplying it on the clock in pin on the 8-pin DIN of the appropriate serial port. Does anyone know if this is sufficient to get that clock used, or whether I have to do anything in software? (I sort of expect to have to?) I am looking at running LocalTalk at a different data speed (lower), for various rather silly reasons. Quote Link to post Share on other sites
Bunsen Posted April 23, 2020 Report Share Posted April 23, 2020 This may be of interest to people hoping to run Localtalk at faster than 230kbps as well. A few third party hardware makers back in the old days achieved around 1Mbps or better - Farallon and Asante are the names that come to mind. Though if I recall, they both required you to use their hardware at both ends. Quote Link to post Share on other sites
Dog Cow Posted April 23, 2020 Report Share Posted April 23, 2020 5 hours ago, cheesestraws said: Does anyone know if this is sufficient to get that clock used, or whether I have to do anything in software? You should configure the SCC in software. I have attached the Zilog manual that you will need. It is difficult to understand this manual at first, as it is not so well organized, but after you look at some sample source codes too, you will understand it better. The file SCC.SDLC.Asm is what I wrote earlier this week for the SCC. Turns out I don't need this code for my particular application, but I'll leave it here as an example for others. Also, look into Async AppleTalk (or Asynchronous AppleTalk). This was a project back in the late 1980s or so to run AppleTalk over RS232. Someone bought a source license to the AppleTalk .MPP driver from Apple and rewrote the ALAP. I don't have any files for this, but I'm still looking. Z8530UM.pdf SCC.SDLC.Asm.txt Quote Link to post Share on other sites
cheesestraws Posted April 23, 2020 Author Report Share Posted April 23, 2020 (edited) 56 minutes ago, Dog Cow said: It is difficult to understand this manual at first, as it is not so well organized, but after you look at some sample source codes too, you will understand it better. I have the SCC manual and I think more or less understand it—I've also got a technote which I've distributed before about implementing LocalTalk on a Zilog microcontroller with a built-in SCC (which you are welcome to a copy of if you would like). What I'm trying to work out is how Apple wired it up, rather than how the chip itself behaves. Perhaps to clarify, I was always given to understand that the provision of an external clock line to make synchronous serial, and especially SDLC, go faster was a deliberate design decision, and so it's perhaps not unreasonable to think that there is a "neat" way to enable that external clock line without having to go near hardware. Especially given that I would rather not pierce that abstraction unless I absolutely have to. I'm curious especially about that Farallon stuff that used an external clock. If anyone has any of that, what software did it use? Is there a copy available anywhere? The (potential) use case (well, useless case?) I have here is very definitely synchronous, and has an external clock, and is SDLC framed. So the only thing I need to do is to slave the existing implementation to an external clock. Edited April 23, 2020 by cheesestraws Quote Link to post Share on other sites
Dog Cow Posted April 24, 2020 Report Share Posted April 24, 2020 2 hours ago, cheesestraws said: Perhaps to clarify, I was always given to understand that the provision of an external clock line to make synchronous serial, and especially SDLC, go faster was a deliberate design decision, and so it's perhaps not unreasonable to think that there is a "neat" way to enable that external clock line without having to go near hardware. OK, now I understand your objective better. The clock can be supplied through one of the pins on the Mac's serial ports. It's one of the handshaking pins. The first-generation Macintosh hard disks like the Tecmar MacDrive provided a clock to operate at around 700 or so kilobaud. Quote Link to post Share on other sites
cheesestraws Posted April 24, 2020 Author Report Share Posted April 24, 2020 8 hours ago, Dog Cow said: The clock can be supplied through one of the pins on the Mac's serial ports. It's one of the handshaking pins. Pin 2 on a mini-DIN, if memory serves. My question is what I need to do to enable this from an OS perspective, if anything. And especially how the Farallon devices did it. Quote Link to post Share on other sites
Dog Cow Posted April 24, 2020 Report Share Posted April 24, 2020 (edited) 9 hours ago, cheesestraws said: My question is what I need to do to enable this from an OS perspective, if anything. You need to configure the SCC in your software. Or use SerialDMA. Edited April 24, 2020 by Dog Cow Quote Link to post Share on other sites
Realitystorm Posted December 23, 2020 Report Share Posted December 23, 2020 Did you figure out how to create an external clock? Since I figured out how to get AppleTalk over a null modem connection, I've been wondering how to increase the speed. My USB to serial adapter is 921.6kbit/s (115.2KB/s), way faster than the 57.6 kbit/s (7.2KB/s) my LC 475 does. I'm wondering if I could use an external clock to push the LC's end of the connection to a faster speed (limited by the CPU's ability to keep up of course) The 900 kbit/s (112.5KB/s) for the IIfx and Centris/Quadra AV thanks to their Input/output processor (IOP) ports is pretty close to the speed I'd like to hit. Quote Link to post Share on other sites
cheesestraws Posted December 24, 2020 Author Report Share Posted December 24, 2020 11 hours ago, Realitystorm said: Did you figure out how to create an external clock? Since I figured out how to get AppleTalk over a null modem connection, I've been wondering how to increase the speed. I didn't, I'm afraid, aside from in the very vaguest terms . Quote Link to post Share on other sites
paws Posted December 27, 2020 Report Share Posted December 27, 2020 Not sure if this helps at all, but all the simple passive MIDI interfaces work like this. MIDI is a serial port at 31.25KHz, which the Mac can't do natively, so to do MIDI you need a breakout box that supplies a 1MHz clock. I have schematics for something like this somewhere but my Macs aren't hooked up due to moving. It's extremely simple, though, literally just the clock on the right pint (and some components normally required for MIDI, which is a current loop, not a TTL connection). Unfortunately I don't think there's driver sources available for this. Quote Link to post Share on other sites
cheesestraws Posted December 28, 2020 Author Report Share Posted December 28, 2020 13 hours ago, paws said: Unfortunately I don't think there's driver sources available for this. Yeah, the hardware is reasonably straightforward. It's the software side that I don't know how one would go about doing . I wish I had one of those Farallon jobbies that had their own clocks... Quote Link to post Share on other sites
Realitystorm Posted December 28, 2020 Report Share Posted December 28, 2020 Is this one? https://www.carousell.sg/p/localtalk-appletalk-2-port-farallon-vintage-phonenet-adapter-for-apple-macintosh-computer-255517060/ Quote Link to post Share on other sites
Realitystorm Posted December 28, 2020 Report Share Posted December 28, 2020 I plan to look in old mac mags on the archive to see what I can find about LocalTalk/Serial devices with external clocks. Quote Link to post Share on other sites
Realitystorm Posted December 31, 2020 Report Share Posted December 31, 2020 https://archive.org/details/macworld00unse_41/page/168/mode/2up TOPS FastTalk and FastBox Hercules Network Graphics Card TandyLink DynaTalk Will need to keep an eye out for some of these, hopefully someone with more electronics experience than me can figure out if the external clock could be used to speed up the null-modem connection. Quote Link to post Share on other sites
Dandu Posted December 31, 2020 Report Share Posted December 31, 2020 I have try that with two Farallon EtherWave adapter (LocalTalk to Ethernet) : https://www.journaldulapin.com/2020/08/17/localtalk-rapide/ There is a special driver (with a specific interface) and the speed is higher. With a classic LocalTalk adapter, i can transfer at ~160 kb/s (real). With the specific driver, i can transfer at ~500 kb/s. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.