<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.3">Jekyll</generator><link href="http://www.mactothefuture.org/feed.xml" rel="self" type="application/atom+xml" /><link href="http://www.mactothefuture.org/" rel="alternate" type="text/html" /><updated>2019-12-11T20:39:49+00:00</updated><id>http://www.mactothefuture.org/</id><title type="html">Mac To The Future</title><subtitle>MacToTheFuture is the base of operations for a set of ill advised and questionable projects to eek some extra life out of antique Motorola 680x0-based Apple Macintosh computers.</subtitle><entry><title type="html">Ten Four, Big Daddy</title><link href="http://www.mactothefuture.org/update/2018/07/06/ten-four-big-daddy.html" rel="alternate" type="text/html" title="Ten Four, Big Daddy" /><published>2018-07-06T15:29:51+00:00</published><updated>2018-07-06T15:29:51+00:00</updated><id>http://www.mactothefuture.org/update/2018/07/06/ten-four-big-daddy</id><content type="html" xml:base="http://www.mactothefuture.org/update/2018/07/06/ten-four-big-daddy.html">&lt;p&gt;Got the LAN9218 receiving packets from my LAN.&lt;/p&gt;

&lt;p&gt;Lots of Zeroconf stuff, which I’ll need to teach the SE/30 to understand
in due course!&lt;/p&gt;

&lt;div class=&quot;photo_frame_center&quot;&gt;
 &lt;video width=&quot;480&quot; height=&quot;360&quot; controls=&quot;&quot; preload=&quot;auto&quot;&gt;
  &lt;source src=&quot;/assets/mov/IMG_3927.mp4&quot; type=&quot;video/mp4&quot; /&gt;
 &lt;/video&gt;
&lt;/div&gt;</content><author><name></name></author><summary type="html">Got the LAN9218 receiving packets from my LAN.</summary></entry><entry><title type="html">Signs of life</title><link href="http://www.mactothefuture.org/update/2018/07/05/signs-of-life.html" rel="alternate" type="text/html" title="Signs of life" /><published>2018-07-05T19:06:51+00:00</published><updated>2018-07-05T19:06:51+00:00</updated><id>http://www.mactothefuture.org/update/2018/07/05/signs-of-life</id><content type="html" xml:base="http://www.mactothefuture.org/update/2018/07/05/signs-of-life.html">&lt;p&gt;Mark sent me the first prototype card from Canada, and I duly plugged it into my trusty SE/30.&lt;/p&gt;

&lt;p&gt;Nothing exploded, which is always a good start.&lt;/p&gt;

&lt;p&gt;I then set about trying to probe at the card’s address space using MacsBug. Unfortunately, joy was not forthcoming.&lt;/p&gt;

&lt;p&gt;By default, PDS slot cards which follow the “Pseudo-Slot” design rules are meant to respond to the read/write 
operations in the address space reserved for NuBus or PDS expansion cards. For the SE/30, the primary slot address
is 0xF9000000.&lt;/p&gt;

&lt;p&gt;We map the first 256 bytes of the slot’s address space to the registers on the LAN9218.&lt;/p&gt;

&lt;p&gt;The first useful register on the LAN9218 chip is the “ID_REV” register, which reports the chip ID and revision
information. This is at offset 0x50.&lt;/p&gt;

&lt;p&gt;Reading address 0xF9000050 should return the contents of the ID_REV.&lt;/p&gt;

&lt;p&gt;I dropped into MacsBug (Cmd-Power) and tried “DL F9000050”. This yielded a Bus Error, which means our card was
not responding to reads for that address. (&lt;em&gt;Sad Trombone&lt;/em&gt;)&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3907.jpg&quot; alt=&quot;Top board&quot; /&gt;&lt;/p&gt;

&lt;p&gt;In talking to Mark, it turns out he had programmed the CPLD on the card to check the Function Code bits on the
bus, and only respond to User Space Data read codes (0b001). This is not the function code we were getting, so
the card was ignoring the requests.&lt;/p&gt;

&lt;p&gt;Mark removed that check, and sent me some new CPLD firmware which I duly loaded.&lt;/p&gt;

&lt;p&gt;Plugged it back in, and we’re in business! I can now read the registers on the LAN9218.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3923.jpg&quot; alt=&quot;Top board&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I can now access the card from my simple probe application:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3924.jpg&quot; alt=&quot;Top board&quot; /&gt;
&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3925.jpg&quot; alt=&quot;Top board&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I’ve verified that I can now program the card to enable it, program the LEDs to disable link/speed activity,
configure link auto-negotiation.&lt;/p&gt;

&lt;p&gt;I’m now busying myself fleshing out a userspace program which can read/write the registers on the LAN9218
to confirm it is operating correctly, can control &amp;amp; query the parameters of the link, and ultimately hopefully
send &amp;amp; receive packets.&lt;/p&gt;

&lt;p&gt;Once that is working, I can move that code into an Ethernet driver that will handle sending &amp;amp; receiving
Ethernet packets on behalf of other parts of MacOS (AppleTalk, MacTCP, OpenTransport), ultimately getting this
Mac back on the Ethernet &amp;amp; Internet.&lt;/p&gt;</content><author><name></name></author><summary type="html">Mark sent me the first prototype card from Canada, and I duly plugged it into my trusty SE/30.</summary></entry><entry><title type="html">First Prototype</title><link href="http://www.mactothefuture.org/update/2018/06/17/first-prototype.html" rel="alternate" type="text/html" title="First Prototype" /><published>2018-06-17T19:06:51+00:00</published><updated>2018-06-17T19:06:51+00:00</updated><id>http://www.mactothefuture.org/update/2018/06/17/first-prototype</id><content type="html" xml:base="http://www.mactothefuture.org/update/2018/06/17/first-prototype.html">&lt;p&gt;The first prototype boards Mark has designed have arrived and he’s assembled one.&lt;/p&gt;

&lt;p&gt;They look great!&lt;/p&gt;

&lt;p&gt;Look forward to trying it out and get it going on the SE/30.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3926.jpeg&quot; alt=&quot;Top board&quot; /&gt;
&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3927.jpeg&quot; alt=&quot;Top board&quot; /&gt;
&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3928.jpeg&quot; alt=&quot;Top board&quot; /&gt;
&lt;img src=&quot;http://www.mactothefuture.org/assets/img/IMG_3929.jpeg&quot; alt=&quot;Top board&quot; /&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">The first prototype boards Mark has designed have arrived and he’s assembled one.</summary></entry><entry><title type="html">Welcome to MacToTheFuture!</title><link href="http://www.mactothefuture.org/update/2018/06/17/hello.html" rel="alternate" type="text/html" title="Welcome to MacToTheFuture!" /><published>2018-06-17T19:06:51+00:00</published><updated>2018-06-17T19:06:51+00:00</updated><id>http://www.mactothefuture.org/update/2018/06/17/hello</id><content type="html" xml:base="http://www.mactothefuture.org/update/2018/06/17/hello.html">&lt;p&gt;Welcome to MacToTheFuture!&lt;/p&gt;

&lt;p&gt;If you would allow me to take the opportunity to introduce myself, my name is James Milne.&lt;/p&gt;

&lt;p&gt;I’ve started MacToTheFuture as a place to publish information and documentation on some projects, 
 to build modern peripherals and upgrades for classic Macintosh computers, with the help of some plucky crewmates.&lt;/p&gt;

&lt;p&gt;Specifically our focus is on Macintosh computers from the Motorola 68k era.&lt;/p&gt;

&lt;p&gt;Our first project is a 10/100 Ethernet card for the Macintosh SE/30.&lt;/p&gt;

&lt;p&gt;More details forthcoming!&lt;/p&gt;</content><author><name></name></author><summary type="html">Welcome to MacToTheFuture!</summary></entry></feed>