Category Archives: AmusmentPark

General musings on the amusement park of Delectra-jouets & cie. The blogs and pages of Julie S. Porter

Ultimate recycling.

Twenty first century SCSI


It has been a year since I last worked much with the Kodak PCD film scanner. Having reverse engineered the bulk of the photoshop plugin and diagnostic code, It was time to start working with hardware.

The PCD 2000 scanner uses a smaller SCSI 50 contact connector. These do not turn up in e-Waste bins often. More common are the wide 68 pin connector used in server installations.

Modern systems do not have SCSI, although parts of the standard live on in USB sticks and smart memory cards. It is hard to find physical drives so project like RPSCSI forked as PISCSI make for a nice way of connecting to old devices. These tend to focus on drives, with little or no provisions for scanners. Printers seem to remain on the wishlist.

Probably the simplest thing would be to simply make an adapter cable for the scanner. Since the scanner weighs 60 or 70 pounds, it is not all that practical to move it onto the table. It also takes up a lot of space.

The Kodak software trends from several different collections. The easiest to find is the update to the photoshop plugin. This is missing a number of support install files and librarys. A backup of a complete OSX 8.1 system had been made, but was zipped which removed all the missing resource fork metadata. Investigation showed the code was written in CodeWarror. This allows the plugin to be re constituted, although the Kodak Color matching profiles remain missing.

The code was built with debug symbold (mangled C++ names) so the disassembly is fairly easy to read. The bulk of the code using Powerplant librarys, for which source code exists. Some of the other libraries were used with the SUN based workstation. This was used in situ in the macintosh port.

Thanks to readers of this blog the zipped archive, and Installer disks for the SUN based workstation were found. The Solaris PIW could probably be reverse engineered, however the same code base was used for the Macintosh plugin.

The plugin however was only written to support the 4050 scanner. Not the 2000 It does run to the point where a SCSI system inquiry is sent.


More interesting on the backup Zipped drive folder were diagnostic programs. These were built from the same code base as the Photoshop plugin. Unlike that system the metadata is completely missing. This includes the methods for creating and drawing the user interface windows.


The compilers are available on many of the vintage computer websites. So It is possible to use the UI design tool and some of the method names to create a stub application and re-create the UI windows. This metadata though is created progametrically, so some menu actions are not sent to the handlers. Or it is difficult to match handler methods to missing window entities which use inherited class properties. Still it is enough to reconstruct the code to manually jump through the main dispatch loop to the code what handles the sub windows.

Like the photoshop plugin, the diagnostic program sends a SCSI inquiry, the exits.

Since I only have a Filmscanner2000, it seems for tracing it would be better to spoof the inquiry to look like the 4050. This has a number of benefits. Namely that the code can be run without modification. There are hints that the 2000 and even the 1000 scanner can be detected. At least to warn the user that the wrong scanner is selected.

A lot of the diagnostic and photoshop plugin code seems to be there to emulate a UNIX style device tree. The preferences data missing from the Photoshop pluging consists of dozens of often single line text files which outline the device tree database. This data was not stored in the resource fork, so it remained on the 8.1 zipped image.

Another reader sent scans of the PCD service documents and calibration film strips. This has been a great wealth of information. I have been using makerspace laser cutters to cut out templates and fixtures.

I also got deep into APS film format and located the main technical specs, which include dimentions, how to read the magnetic codes and the bar codes on the film an canisters. A side project which has taken a lot of time is to work out how to cut down fresh 35mm film. Too bad one can not use the laser to cut the film as that would be easy. Hopefully it will not be so long before the next blog.

Meanwhile I found more useful hardware and returned to the scanner driver.


The vintage macs with SCSI ports I have access to are G3 based, a wallstreet, and more recently a lombard. found in eWaste for 15 bucks USD. The lombard had a bad HD cable. Using a DVD drive bay adapter a hard drive could be added. Although at the cost of the seldom used DVD slot. This makes a great backup system for experimentation.

By chance I still have an Apple ColorOne Scanner, and the adapter cable. Before finding this plan was to use a laser cutter to make a direct adapter. I did locate a minature 50 pin SCSI cable when I got the PCD scanner. I promptly cut this in half to make an adapter. For some reason ringing out the 50 connectors which are not in phone cable color order lead to a lot of procrastination. The ida was to jam these wires into the back of the MAC SCSI port. These cable halfs sat in the box of scanner parts for the last thee years.

While I could simply get a PISCSI, I realized I do have most of the parts needed. Jameco sells the buffer chips in DIP packages. So I orderd a short tube of them. Ringing out the cable shows that the wires use the resistor (or ribbon) color code with 12 colors. I think the remaining colors are known as Salmon (pink), Aqua and Teal. The traces are white black and red.

Tracing the cable showed how simple SCSI really is. There are really only 18 signals used. The rest are grounds and pair returns. Which is how Apple was able to use 25 or 30 pin connectors.

Pipe organs also often use 50 pin connectors. I had a few of these left over from scrapping out a S’n’DelCo relay. I also had some copper foil tape left over from a stained glass class I took some 50 years or so back. This occasional was used for pipe organ return bus. Some of this got upgraded, but still had some sticktivity to it. I also have Kapton tape and the friction tape used to wrap the cable.

Using a guide to SCSI cables, I decided then to make a shielded cable, with the signals isolated into layers. I retained the same pattern as the laptop connector rather than the DB25. The pitch however is not the same.

This in turn is the ultimate recycling as some of the items I have had for up to 50 years.

I also learned how to connect the Pi Zero to the 10.4 tiger as a headless dongle and bridge it to the network using the Ethernet Gadget. No more messy USB hubs, monitors and keyboards. This makes the Zero feel much more like an arduino or STM32F4 Nucleo.

Getting the Ethernet Gadget to work under osz 10.4 ‘Tiger’ was a bit of a challenge as the networking bridge was not included, and had to be compiled. These old war horses do not connect gracefully to the net. Fortunately someone a decade ago did create a fork of the commonly used driver. The git pulls and configuration scripts needing to be run on a separate connected machine first.

There is still a lot to do. Most of the focus on the PISCSI is as a turnkey product. So the internal documentation is sparse. The development focus seems to be more directed to the web interface.

Make your own 3D HoloMonitor

A recent search on github for code relating to stereo 3D photogramertitry and synthetic computer generated holograms. lead me to the paper Holovideo on a stick, Integrated Optics for Holographic Video Displays by Daniel E. Smalley[1]

Most intriguing was the statement “If you want a Hologram video monitor, you have to make it yourself. Now I love do it your self projects. Ones that are most complicated. Not that I need another project, I have enough as is to keep me occupied for at least 500 years. In a way this is one of them. I always wanted to make my own hologram. My interests in Holography date back to the 1960s and the exhibits in the Exploratorium and the Laserium. In may ways such a device, would actually help in the other projects, giving a tool to use in visualizing how such things as the Antikeythera device, or Babbage’s computer are designed to work.

MIT has made much of their research available on github[3] with the admonition “We hope that hobbyists and researchers around the world can be inspired by and use this code to help achieve the goal of creating high-quality consumer holo video displays.”

Is this a practical statement? Can one make a Holographic Video monitor? After reading through the paper I would say a qualified ‘yes.’ There are a number of broken or incomplete links on the website. A note pointing out these broken links, to Dr Smalley public email address, was not quickly answered. It does not seem that there has been much publicly shared since 2014. There are some impressive You tube videos, which only seem to have 14 or so views. None of the links to the Mark-V version of the project work other than showing a plexiglass case.

The Mark-IV project is well documented. This seems to relate directly to Dr Smalley’s thesis[1]. I found this thesis to be lucid and well, written and thought out. It really does imply that one can make a Holographic video monitor. Much of this reminds me of computing in the early 1970s. And the 3D printer craze in the late 2000s.

Dr Smalley and his team have broken down the design into a series of sub modules. One of which is an Arduino. Of these modules the easiest item to source is the floating coin (or floating frog illusion.) This was a popular attraction at the Exploratorium. This curved reflector also gives the display it’s distinctive look.

The electronic modules also look fairly easy to replicate. I have done a lot of printed circuit boards. The first SMT PCB I did in the early 2000s was for a surplus LCD camcorder video display, which required obsolete parts distributed amongst the overstock dealers. These were from a 1990s era Cybermaxx Virtual reality headset. One of these headsets can be seen in the opening scenes of the movie _Titanic_. Where the sub operator is exploring the wreck.

Andrew Henrie’s[2] documentation of the Mark-IV display refers to PCBs as CCAs, Which I take to mean Circuit Card Assembly. I will retain this terminology for the completed assembly. These CCAs are both well documented and obscurely sketchy. There are photographs of the PCBs as well as links to the data sheets of the chips involved. Nowhere is a schematic with Bill of materials, or any sort of layout pdf, or Gerber. One of the CCAs is an Arduino with shield. From the photographs the shield is simply a solder-less prototyping breadboard. The function is to support a DAC.

Not well documented is the post amp that the DAC uses to drive the Galvanometer. The closest thing to a schematic is an online simulation of the synchronization CCA with an absurdly long link. This Java applet surprisingly works well, and can be saved offline, incase the website goes down. This sim applet may be useful in the future should one want to simulate simple circuits, without a full blown spice model. It is not clear the photographs show hex switches which I actually have some of in my junk box. There is also a spectra stripe ribbon cable who’s function is not apparent, as well as a bank of electrolytic caps.

It is evident that much of this prototype is made from surplus parts. I love surplus stuff. Of the surplus items, used in the Mark-IV sub-assemblies, I am most familiar with the Polygon Mirror unit. I worked for most of the 1990s at Apple Imaging, where I wrote tests in postscript for the laserwriters. Some of us were also into robotics and we were given permission to go through the trash recycle for project parts. When the prototype printers were scrapped, a screwdriver was driven into this assembly to smash the laser optics. Still one had access to the sensors and servos to play with, as well as the data sheets giving the specifications. These were either made by Cannon or Fuji Xerox. From the marking in [2] it looks like a Fuji Xerox unit from a Sharp printer is used.

Laser-printers have a consumables lifespan of about 7 years. This means that the polygon units are somewhat available in the surplus markets. Pretty much for cheap if not free. There is also a tendency to put these into storage when their usefulness expires. These then get donated to co-ops and other shared resorce projects.

The local maker-space broke up a dozen or so printers for the gearing, stepper and servo motors. I have used the rollers in my crank organ and piano roll scanning projects. The screws and springs are also quite useful. I found one of these polygon units in a junk box at the local maker space. These were pulled from copy scanners (Probably HP) most of the polygons have 4 sides. I found one with 6 faces. An online search located the motor driver chip datasheet. There are a number of videos of polygon assemblies being run off arduino boards to create the PWM frequency needed. Also in the junk box were a number of planar mirrors.

Markings in the photographs[2] show the exact model of the Galvanometer used. A search of this part number currently shows this to still be a popular eBay item. Although a bit on the pricy side. These units seem to be used in point of sale grocery scanners. The tricky part would be to source the lightweight mirror, which is a section of aluminized silicon wafer. It may be possible to use one of the junk box mirrors ground down. The next group of assemblies to look at start with the Amplifier CCA. Again there is no schematic or board layout other than the photographs. The parts are given as data sheets. There is also a Carrier CCA, which it is indicated was not used in the documented project. The Amplifier board being directly driven by a fairly common NVIDIA GPU board. Such GPU boards also currently seem to be on eBay.

In reference [2] There is a whole appendix on debugging the amplifier board. Photographs show a hand soldered surface mount PCB. Having done home made SMT PCBs for over 20 years I can see the over abundance of excess solder on the component leads. A reflow oven and a proper solder paste mask would probably be on order here. Like the synchronization CCA the parts used on the amplifier CCA are easy to source through the main line distributers.

Now we come to the tricky part, which could be a real show stopper. This is the Acousto-Optic Modulator. Maddeningly the paper gives a specific part number. Which comes up ‘not found.’ or ‘Not available.’ A call to the manufacture asking for a data sheet an possible purchase was pleasantly responded to, however at the time of this review, a return call from an engineer has not happened.

Acousto-Optic Modulator’s are for sale on eBay ranging from 50USD, to over a thousand USD. There is not any documentation on these units. It looks like one would have to put a pin in it and order one blind to see what it does. It may be that quite a few channels are needed. There are references to 18 channels. The online search algorithms are not fine enough to separate out anything relating to channels. Searches for Acouso-optical modulator and Bragg cells return the same results.

It is evident that the Acousto-Optic Modulator is Dr Smalley’s first love. In his thesis he details the design and manufacture of such devices optimized for Holographic display use. It really does make one feel like one could follow the instructions. That it would be as easy to build as an adirondack lawn chair.

Now people like Jerri Elseworth and Sam Zeloof have built chips in their garage. I suspect there are others. Even I have acquired some surplus chip making equipment, which I used to make the Adelmous Fey mechanical doll[4]. As well as extending some of my watchmaking tools.

So in theory could one build the wave guide Dr Smalley details in his thesis?

First a search of the materials shows they are readily available. Lithium niobate blanks are listed from the suppliers with prices of around 20USD. Benzoic acid is a food supplement. Aluminum is something we put in the recycle bin everyday.

Physically enhanced chemical vapor deposition does not look to be too difficult. One of my friends in the Science Fiction/costuming community builds such machines for the Spintronics research department at IBM. He has given lectures on how such chambers work. I have myself built vacuum forming machines for prop making. An efficient Vacuum pump is going to be the critical component. There are also very efficient 18th century vacuum pumps. Player pianos and Pneumatic band organs such as my Wurlitzer Caliola also have high volume/flow pumps. Most of these pneumatic devices are fairly leaky. The real trick would be to avoid crushing the container and the furnace.

I have experience in high temperature enamel painting for making mechanical bird case and the restoration of watch dials. I have not gone as far as to build a (PECVD) but as far as I know Silicon dioxide is the main ingredient in glass. It is also called sand, occurs naturally in obsidian, and is one of the most common elements on this planet. My back yard is full of it.

This means in effect that a layer of glass is deposited onto the wafer as a mask for etching into. Then dissolved off. This is something I have done at the macro level with crystalline paints and lithographic processes. I have not attempted it at the nano level. I have ground up old LCD displays and silicon wafer fragments and put them in the kiln to see if they can be used in the art projects. (usually with the pure materials there is no eutectic flow.)

There are a number of projects on-line for flowerpot forges which can be used to cast aluminum from recycled materials. My guess is that for aluminum depositing the material cost is negligible. The tricky part would be doing this at the nano level in a clean environment. How small can a furnace be made. Could a glove box be used? At this point the project seems perfectly feasible.

Now we come to the showstoppers. There is a tradition, probably going back to Philo and Hero of Alexander, of leaving something out in the patent documents. This small detail can be figured out by those who are already in in the know. In Figure 4-2[1] the dimensions of the waveguide are given in detail, as are the theory of how he arrived at them. Unfortunately the key of measurements duplicates the Goldberg letters b through I. The letters for the transducer dimensions j,k,and l are not in the key.

Titanium indiffusion is also a grey area. Searches on this term mostly return academic papers behind paywalls. TI could be a reference used to the glass mask which gets etched away. I forget what this mask type is called.

The main showstopper is that to etch the wave-guide, one would need an electron microscope. Sam Zeloof may have one of these in his garage, but building that alone could be a multi year project. The idea here is to make a Holographic display. I would only want to etch wave guides once (or perhaps 3 times for RGB separation.) This showstopper is also the qualify on ‘Yes’ above.

‘Yes’ one can make such a display, If there is a team that is wanting to do it with the necessary skill sets and the motivation to see it through without distraction. If one could source the AOM from a telecom device, the rest of the items are pretty much off the shelf.

I am still inclined to give it a go. I already have the polygon and some mirrors. The next step will be to order what parts I can while they are available on the second hand and overstock markets.

Most likely I would start with the PCBs for the Syncro, and Galvo CCAs. Then proceed to the amplifier CCA. Probably with a single channel. There is a consistent theme in the literature, that widely available displays are the goal of this research. To move the technology out of the lab and into the hands of the early adopters. The Hobbyist, and the entrepreneur.

A Hobby project is something I would like to do. It feels as though the time is right. Especially as many are locked down due to SARS Covid19. Who would not want a 3D telepresence display. Most existing 3D display technologies require a viewing aid, glasses or a cumbersome headset.

It is unclear as to why the data reviewed here that was released in 2015 has not been more widely distributed. Where are the promised Hobby projects? Online searches do not show much advancement after 2016. The YouTube Channel Abandoned. Nor do there seem to be efforts to commercialize this. To me I see a perfect opportunity for a Kickstarter type approach. Especially in the creation of AOM units optimized for holographic display.

  1. Holovideo on a stick, Integrated Optics for Holographic Video Displays by Daniel E. Smalley https://dspace.mit.edu/bitstream/handle/1721.1/91855/894260144-MIT.pdf?sequence=2&isAllowed=y
  2. H​OLOGRAPHIC​ V​IDEO​ M​ONITOR M​ARK​ IV https://docs.google.com/document/d/1JvHrZEMUS5qvImYyeAH0q8PM69rNP406YdpW3j1FRGI/edit#
  3. https://github.com/itsermo/holovideo-mit.git
  4. Adelmous Fey http://www.delectra.com/adelmous/index.html

From a TARDIS near by

I had to make one of these for myself

It is so easy to put off updating the ol blog. I have been rather busy with several mechanical music jobs, one was a bell unit for an Artizan, The other is a Cremona stack rebuild. It does not help that I am fixing up my shop while working on these things. Not to mention I have a liking for Doctor Who.

The Cremona stack is a challenge, Each pallet has to be drilled and fitted in place. more on this in a future blog.

And then there is the Dickens fair, Which means nothing gets done between October and the first of the year. Managed to get a friend to grab a photo of me. So the photo is credit to Ross Bernheim:

As it is after the first of the year, The blog is getting updated.

The Amy doll was a test for some puppets I am making for a future dickens fair. With luck, sometime in the next few months there will be some activity and previews here and elsewhere.

The comics on spiralsheep are getting some progress too. Spent most of the day updating comic press on that site. More comics have been scanned, a new drive for the G3 and my old copy of photoshop and the wacom tablet re-installed. Hard drive failures are no fun, even when there is a backup. Installing from CDs and original disks takes days if not weeks of time to locate every little driver detail.

This is just an interim update , as The blog seems to have been stuck on Mars for ever too long.

The Royal order of the Mechanical Masonic Sheep

The last few weeks have been a rather busy blur. This started with the Nova Albion Steampunk exposition. I just returned from mars. More specifically the Contact conference presented by Cultures of the Imagination.

Contact, is an interdisciplinary gathering of Anthropologists, Writers artist, Filmmakers and Engineers. The last few years this has been held on or near the NASA Ames Research Park in Mountain View, Silicon Valley. It may be easy to describe this as the oldest and best known SETI conference. This just may be an excuse for a lot of bright talented people to get together and party. No one has yet to see a little green man (or woman) so, there seems to be some job security for those who like to listen for them.

This year the conference was more focused on the anthropology side. Possibly due to the economy there seemed to be an absence of Science Fiction writers. So get out there and start buying more books. As a robotisist, I tend to hang out with the NASA engineers who get to drive sporty little rovers on the other planet. This is a fun group, and I get to compare how much dust collected on the toy rover I got when Spirit and Opportunity landed, to how much is on the real thing,

MER exploring my messy desk


From Pixar, we had the showstopper of a presentation, The latest in photo-realism. With a series of stills, it was difficult to tell what was real and what was fake. The highlight was a 10 second clip from an introduction to what is possible. This could have been anyone recruited from a temp agency to give a short product pitch. That the product is the pitch makes it only all the more a little closer to the cliff called the uncanny valley. Masahiro Mori[1] proposed this theory as an explanation for the likes of Doctor Coppelia.

Sometimes it takes a strong pair of Doctor Coppelias’s rose tinted glasses to see into this. Even I have found some of my puppets and dolls a bit disturbing. I am not exactly sure what they are up to here. This does bring in some interesting connections to the need for 3D eyeglasses, to complete the illusion. I suggest that one should not get to attached to my friend Olympia. On the other hand frequent older readers to the main, Delectra.com site, have been able to use such rose and cyan tinted glasses to see into the precursor of Olympia, the doll sometimes known as Marianne Droz.

The french really do love Ben Franklin


The most surprising Contact, I made at the conference, was with a Marine Biologist who has done some amazing studies of human dolphin communications. Pop culture films from the 1970s aside, this may be our first contact with a non human equally intelligent species. Something well known to the likes of Homer and the great engineer and puppet maker from Alexander, my own hero, Hero. Here is a snapshot of his take on clockwork dolphins, who take a liking to Ajax.

It is all Greek to me


So leaving this fuzzy world of mars I next attended the AMICA meeting.

Now I love mechanical music, Those rocking rags and blaring marches from the 1910s and 1920s. This is much like fine scotch whiskey. It is an acquired taste. I also like Doctor Who, Puppet show and Mechanical dolls. My favorite episodes of this 40 something year old TV show involve these somewhat uncanny things. The more recent ones written by Stephan Moffatt. Recently he wrote about why actors from over the last 47 or so years should not return:

“… sometimes that can make your new and most cherished viewers feel excluded from the party. And Doctor Who has to absolutely be a brand new show…

…The moment it becomes something your dad wants with old codgers wandering about, it will die. It is not important to bring anything from the past. You could bring nothing back from the past ever again in Doctor Who and it would be fine.”

I kept thinking of this quote all weekend. “Something your dad wants.” Is this why some say Mechanical Music is doomed? Because it becomes about the music. Ironically, the last gasp of the first generation piano roll production ended with the Beatles in the late 1960s. These guys all passed on. The middle age kids of the time are now the old codgers of today. Ironically most of this generation do not like the blaring of John Phillips Sousa. But it is what they associate with going to the beach amusement park and hearing the rusty old squeezebox blare it out.

Now AMICA sometimes seems like one of these collections. Covered in dust an echo of a forgotten generation. The problem is that the older generation wants to preserve “Their way.” The conservative idea that the world does not change. That children are always the same and must be taught simple things before they become bored. Of course in this day and age, the Disney brothers would be locked up for frightening children and giving them nightmares.

Much of the broken fairgrounds junk was thrown in the trash. What remains is rare and sells for large sums. There are about a dozen mega rich collectors who hoard this stuff in their Mc Mansions, along with auto collections and the like. I say more power to them, the have preserved the world of their youth. Of course outside of places like San Francisco’s Museum Mequanic, children are not allowed to view these toys.

There are cultures where these older mechanical toys are taught to the children. According to one person I spoke with over the weekend, that many Americans are now working for these children. That there race is now somewhat smarter than our race. I do not agree with this assessment. It takes a lot of brainpower and intelligence to be ignorant and dumb and work the social welfare systems inside these tribal family groups.

Today those of us who are makers, some who identify in the steampunk moment, are creating new concepts from these trash heaps. I really wish there was a way, where Makers, Steampunks, Re-enactors and mechanical music enthusiast can come to a common understanding.

Now I have been spending the last month or three reading the history of the Panama canal before bed. This mess was the biggest engineering disaster the world has ever seen. The last of pharo’s gangs of labors toiling for the masters. Actually the canal is quite small, Smaller than San Francisco bay. Modern freeway projects move more dirt. and all that. So what does this have to do with mechanical music?

Well once the mosquitoes were abated by socialism, The white overloads who worked for Caesar Imperious , were able to create secret society clubs. These were all the thing back in the 1880s and such.

So I have decide to create the Secret Society of the Royal order of the Mechanical Masonic Sheep. Membership in this of course is secret. So only those who know that they belong can join. However this is an Open Source masonic order. So therefore any work done by the Mechanical Masonic Sheep, must be open for others to access. This by definition means that everyone is a member of my club. No one is or can ever be excluded.

The first rule is that there is not extortion to be had from other members. To counter this members must be helpful and donate information, to those who do not have it. No member can fine or tax any other member without just compensation. On the other hand members are free to contribute ideas time and material wealth to others. As everyone is automatically a member, this rule is completely voluntary. I am sure most will ignore it.

The tone of this order is modeled as a mash up of Mozart’s Magic Flute with Gilbert and Sullivan’s Iolanthe. So this is also a fairy masonic order. To keep things in line with the crazy weekend, Benjamin Franklin will be the patron of the order. Homer’s Odyssey the framework of the mythos. The god of the order are Isis and Osiris. And my own Palas Athena Governor. The bay Laurel is the official tree, and the rose the flower. Descartes is the philosopher of choice.

Of course this is all nonsense, most of the world is. I set out write something political in this blog and feed into the frenzy of the changing times we are witnessing. Instead I get more abstractinos from practical real world experence.

For me 100 years ago will always be the 1850s and 1860s. Because that was what I learned as a child half a century ago what one hundred years meant. 200 years was the 1770s which were exiting times in the world of mechanical automata, painting and just pure design aesthetic. There is a reason 2001 is my favorite film. I want my clockwork Heaven. The crystal spheres, silver gradients and the brass gears.

Now we find that 100 years is the age of the Panama Canal, The Titanic and ragtime music. A world many want to return to with a divided class labor force. You are as you are born. This is your cast. The height of the Raj of India. One god indivisible with justice for all. Not that I can improve on any of this. I decided a long time ago that I did not like the rotted well water of politics. This does not, invalidate my theory that with politics, is much like a well. That there must be a fair amount of brackish water on the bottom for the sweet water to flow on the top.

Drain the well of taxes and socialism too far and one is left with the bitter taste of bad water. Now I am rather selfish when it comes to politics and opinion, these are mine and You can not have them. Still I tend to be a liberal hawk. Probably from my upbringing inside the Silicon Valley industrial complex. Johnson’s Great society. How Taxes are supposed to work. What does it really matter after 100, a thousand or so of years, If people are lazy or not. Everyone contributes. Some philosopher said “to each according to his need.”

This is how the panama canal was built. How we went to the moon a half century ago. This is also how renaissance fairs, woodstock clones, burning man, science fiction conventions, Rock concerts, and a whole lot of successful things have and will be done. This is what happens when society collapses as the Media is us is soon. After reading Ken Follit’s Pillars of the earth, this may also have been how Cathedrals were built.

What is interesting, is that while there will still continue to be backlash at change, Some inspired some done by stupid methods. There are already forces at work, like the Royal order of the Mechanical Masonic Sheep. That counteract these. Much today would be like people in the 1920s refusing to use electric light, because god intended humans to see the light through candles and rush lights. Perhaps this is why some cultures would like to return to oil lamps. Rub them and the genie appears.

But the genie is already here. Some call this science. The problem I have as an abstract thinker, is that I have seen no evidence of the parental god. The one who punishes when bad and rewards the good. This is not to say that I do not have faith. Here again I am selfish, as my faith is not yours and you can not have it. Can god be simplified in the equation 2+2=4? Descartes though so, when he defined the sign for addition as the holy cross. The equals, shows the view of Solomon, with man below and god above.

So no matter what happens, god will always be with us in science. But should this be kept in ignorance? I am a Pan-deistic,Poly-theist. Or all the gods all the time. No one is right and no one is wrong. The real point from a conference like Contact is just that. What we have is each other, and after an almost infinite amount of time, rocks can sing to the sky, just as birds and fish can live together inside the imagination of the human or abstractly similar mind.

A short history of the Midi filer project from floppy disk to 8GB SD

This is why I never blog. I get so involved with projects, there is never anytime for anything anywhere. Recently I set about to salvage a project from 2003. If I had been smart I would have blogged the whole thing. Who was to know the future.

Many years ago, or is it really decades ago, I started a project to read MIDI files from floppy disks. As luck would have it, someone actually wanted to pay me to do this. So off to Kentucky I went. The project was a disaster. Many people claimed ownership and the funding failed. After three to five years of development, the shipping date was always 6 months away. In the end they shot the horse.

In the middle of these near fist fights I was able to get the prototype unit working, which read Floppy disks in the popular MIDI formats, Sandard type 0 as well as the Yamaha and Pianodisc variations. This technology I was given as the partner I direclty dealt with wanted to have nothing more to do with it.

One of the other partners suggested I continue with the design. Several clients indicated an interest in another source of midi filers. I was given the specs for the Yamaha MDF-3 as a guideline. I had envisioned a system that would read the compact flash cards. This was actually suggested by my dad.

When I first took the project back to California, I set about to extend it to read Compact flash cards. The main controller was a DS80C320 chip. This was attached to a PSD and 128KB of external memory. Much of the issue the prior developers had, was getting enough data pins out of the system. To fix this a separate Atmel processor was used to scan a button matrix.

My first effort was to improve the button matrix. This I moved to a slightly larger processor (Still Atmel.) This was actually made. I was not given any budget for new main boards. These were large with a lot of dead space on them. I managed to make these things work. The main code was in C, with the button scan in ASM. While the 80C320 has two serial ports, these have to use the same baud rate, which was determined to be the MIDI baud rate.

The little mega 4433 ran circles around the 20mhz 80C320. It looked like a full midi parser would fit. I could greatly reduce the cost by 2/3 if I went only with the atmel chip doing everything. Atmel even made one with the same pin layout as the 80C320. The choice was further defined, when the first partner demanded all his hardware back. The second partner was still supportive, So I returned the hardware to the first and re-designed the whole thing using only Atmel. Only the 128KB memory remained. The second partner continued the funding.

I set a goal to have a dozen units ready for the next MBSI meeting. It was a mad dash. The boards were ready in time, but the program still had issues. I put some photographs from this into the Gallery here. I was surprised to see the corner of the old Overture monster behind my then state of art unit. I was over confident and did not include a debug port. I also made a mistake on the LCD controls, which caused a glitch every time the display was written. I also learned a lot about PC board layout. Fortunatly there are some good online resources such as the EDA tech forum and the conferences and daily updates I get from the UP media group. Check out the Update Newsletter I need to give them a plug every now and then.

Three months after the MBSI meeting a few units were shipped. These worked well. Over time I extended the system to read SMF1 files as well as SMF0 files. By the time I had this working floppy disks were dead. I was also deep into rebuilding the Caliola. The project was such a disaster I wound up out of cash and back living in my parents basement. No more trips to Swizerland.

I still wanted a compact flash reader. I figured to use the file parsing code written for floppy disks. Reading the CF flash card was easy. I quickly reduced the design to fit on a small proto board. The dozen or so unsold floppy units still a bit of a bother. I am a backroom engineer. The LCD display was too big for the case, so it sat on top. At this point, I did not want to spend any more on the floppy box. It worked, but did not look pretty. I have no idea what ever happened to the 5 units I sold. The users never complained, and indicated that the boxes were functional and worked.

I was working with Spencer Chase on improvments to the e-valves. Spencer assisted with the development and the 3 units, of the CF card versions sold quickly. One is in regular use, and has been for a number of years. I took back the Spencer’s to upgrade and it has taken some years to get back to it. I have no idea what happened to the second unit.

In the image gallery, one of these “Toaster” units is shown. I found some old photographs, one which shows the large floppy board next to the “mini” unit for reading Compact flash cards. I could not afford a FAT32 card and the small FAT12 cards worked funny. The solution was easy, to add one more address line and read the disk sector as a memory map. Easy to debug. set the registers and the AVR studio debugger would show the sector. Bit dicey though as the bytes have to be read in order

Other projects intervened, and I pretty much decided I had done with MIDI filers. As with all dead end projects, I figured to revive them somehow and sell off what assets I could in time. The little CF readers are cute, and can do a lot. I was more than happy to revive and make a new batch for Larry Doe and the Keystone. The catch was that MIDI in was needed.

So the code was completely re-written. After some extensive testing, a unit was shipped. This had a problem with the system resetting during the perforation. While updating the companion MIDI “primary” controller board, I discovered and issue where input collisions happen in the interrupt even though the flag is technically clear.

Now for the pea soup course. In early 2009 I learned about the reprap project, which is a 3D printer. As I was installing a Theater organ and building a 20 note busker, I did not have the time to look into 3D printing. A desirable device, when one wants pretty cases for electronics. Then an old friend wanted a “primary” board. Sell the rest on eBay, he suggested. Even that was two years ago.

Back to the Reprap. The hardware on this is almost identical to my Midi filer, and the MIDI “Primary” boards. Same processor. There is also someone in Germany selling a system using SD/MMC cards. The boards are full of SD “How to” postings.

Is SD really that simple? Compact flash was trivial, but it needs a lot of I/O pins and a large layout on the board. SD on the other hand promises to only use the same pins as the system program interface. On the Floppy midi filer, I used some of these pins for the key matrix. Could one be modified to use SD instead of a floppy?

I built a reprap motherboard with SD. Even started to convert my 8K fat reader from MIDI to G-code. Yes, Sophie, I am actually getting to things that happened this month! So I went back to the old unsold floppy filer boards. That lack of a debug port really hurts. If I had 17 seconds to do over, I would have put that footprint down. The CF boards have a debug port, But the Ice200 broke, and the mega162 put the JTAG on the same pins I use for the CF DMA. Another dead project revived. Using stuff about the house I made a USB adapter. Ice200 comes back to life.

Many time I have attempted to fix the issue with the LCD on the filer board not being memory mapped. Backing up a bit, I went over the logic again. On the CF version I used a 74LS138 as I should have in the first place. With only two selects on the filer and one a select high, I went all cutesy and did it with logic gates. The problem was I was always one inverter short.

I fixed the filer, by adding in gate to OR and invert the readwrite line. This was all and well, apart from that the memory mapped all over the lower 32K with duplicate windows everywhere. I never liked this fix. it did not work with the mega162, which is needed if one wants to write MIDI as well as read MIDI.

A few days ago, I figured it out. By combining the read write invert with the address invert, I am able to fit the needed logic into the two existing chips on the filer. I also decided to move the selection back down to the lower memory. In debug mode the m162 only has a tiny window for memory mapping. Even with the current fix, the DMA takes 256 bytes per address. I really do not like switching on the latched memory buss pins. The 128K memory is sensitive as it is.

Now it is possible to write fat code that fits into 8K and in C too. At least for FAT 16 cards. On the other hand I have the 128K boards and I really need to sell them off to make the world better and people happy. So I set out to rework the filer boards. The first was to make the CF filer board the same as the floppy filer. This to test the LCD logic.

A new issue arose, The button matrix, which dates back to the old 4433 processor, used the system program pins. The LED indicators were always an option. So these could be done away with. This left two lines to be used by the matrix. Two lines also needed to detect Card insertion and write protect. As the chip is full, no writing is possible, so that can be ignored. Detecting the card is done at power on, so this can be a poll on the card ready bit. — Then an epiphany. Play is often combined with pause, so that frees a location in the key matrix. This is perfect for placing the write switch such an input can be shared with the record logic. It is also possible to add the card detect to the key matrix. A problem, that has bothered for some time suddenly disappears like an illusionist trick. The problem never existed in the first place.

So the lashup was complete. The logic worked on the mega 162 board. Fixing the Ice200 and connecting the SD card to the system program pins. The magician stands ready. Nothing up the sleeves he says. And the directory loads into the external Sram. Changes are made, The 8GB card comes ready. The directory loads. One single cluster, 32K fills one bank of the 128K external memory.

What a sight. The entire contents of the first developments Hard drive was only two gigabytes. Here it is loadable into what was originally a system for reading tiny little floppy disks. Every midi file I have takes a small fraction of this card. It is a lot of button pushes to get to any one of them, at least I implemented hierarchical directories.

Of course it is only a magicians trick, The code sees the 32K sector wrap to zero and the system crashes. Sill the 8GB are readable. As all ways there is more to do. Sectoring logic to be written so that one can step through hundreds, if not thousands of files. The SD code is also a bit more complex than CF, I had to switch off FAT12 and Piano disk support to add the init code in. The floppy and CF access was DMA, so a few bytes to set a register and then read the DMA window. SD requires almost 64 bytes of tables to be saved which detail the commands Used for card type detection. While a lot of these are zeros, it takes two bytes to load them into a register, where as if stored as a table, the read loop takes only a handful of bytes.

There is still much more to do, But the main issues are resolved, The old boards awakened from sleep. Not Zombies or Gouhls, these boards were never finished, the unmade, or unborne fairies of the aiether. Soon to come forth, with new dresses, and fly on the desires and dreams of all who want a dependable and reliable way of saving more MIDI music than can be had at any cost.

Rebuilding the UM1


Some years ago I was given a UM1 that had the logic supply connected to enough voltage to crack the power regulator. Most likely every chip was blown apart.

I had used a similar processor for a video conversion project, which has long sat documented in the video section of my website, an early form of blogging from the late 1990s. I still had a tube of these processors, although the ones I had were 52 pins, where the processor on the um1 had 44 pins.

Since I frequent the surplus shops of the silicon valley, I located most of the chips used in this board. Given supply issues, I have for other clients developed a similar board using a more modern embedded micro. More on this in a later blog. The short version is that I had a UM0 and wanted to keep the same setup codes and configuration on my Caliola.

By connecting a MIDI sniffer to the wire, I was able to detail how the setup system exclusive messages worked. Technically these are supposed to be documented in the manual. The manufacture is not registered so the device setup for these exclusives is the research mark. Which means that this data is open and unprotected, so I could use it.

I noticed that the Octet setup program had a mechanism for uploading new firmware updates. These updates were available on the web. When opened they were found to be in the common format used by the MC68HC11. There was even included a small program called a talker.

Locating the needed chips, the question remained, would it be possible to reprogram the actual UM1 unit from the web updates?

The first step of the process was to remove all the old chips. This was done with a heat gun. The board is slowly heated to 210degrees C. My thermocouple slipped and some of the sockets got a little cooked, the result was a clean board. The front panel was the worse for wear as the switches melted completely.

After the chips were removed, the traces were cleaned up and documented with the Eagle layout program. Oh for the days of Sam’s Photofacts. I wonder if the library still has the shelves of 1950s and 1960s era television schematics. Actually I was able to get schematics for my late 1990s Panasonic, telly. So major manufactures do still provide repair personnel this needed information.

The designer of the UM1 had been dead for some decades now. The successor does provide manuals and firmware files as noted. I took a peek inside these files and located where the device tables go. In order to bring a new system up from scratch, a few additional items such as the serial number are needed. This was easy to get, as it was pasted onto the blown up chip. The firmware for some reason does not contain the device string, which for some reason is always UM1 even on a UM0.

I was a bit concerned that I would have to solder in the new processor. These are surprisingly still available. This package called a PLCC is no longer made. When the EU adopted RoHS this format was discontinued. In the surplus store I was able to find a socket that would solder onto the board, so anyone in the future who needs to fix this can swap the chip out.

Once the new chips were in place it was time to reprogram the unit. I could have connected in through the MIDI interface. The 68HC11 contains a serial boot mode. There is a photograph of this in the attached image gallery. These signals are easy to access on the 74HC02 chip labeled U9. For future reference the pins are Rx on pin 8 and Tx on pin 6. Laurent must have used jbug as the wiring of these pins is straight out of the college textbooks.

The 68HC11D0 contains no internal flash memory. It is easy from looking at the schematic, to see where the memory starts. 0x2000. This is where the jbug11 talker is loaded. The firmware loads in at 0xE000. This is where the SYSEX tables are stored.

The first step is to upload the firmware from the website or setup disks(If available) This can be uploaded by simply renaming the file extension from .frm to .s19. Since the firmware does not overwirte the device information, this will need to be copied from a working UM1 The format is exactly the same as what the UM0/UM1 setup software sends, so this can simply be done by dumping the read firmware sysex

Once this data is written to the first sector of the 0xE000 address, there should be enough code to get the whole unit working. In my case I replaced the MIDI opo-isolator and the U9 74HC02 chip. I was able to connect using the Octet setup program. Just to be safe I re-ran the firmware upgrade.

It should be obvious that a working UMx is needed to get things stared, this blog is about repairing units. There are much better and cheaper ways to make similar devices, which is why my own boards are only functionally equivalent, with no common hardware.

Naturally the diagnostics did not pass as I had not seated in the driver chips. These are often out of stock and I had to get some from other units for testing. Once installed, The diagnostics pass muster and the unit is once more operational apart from a missing chip for the PWM and the melted front panel. The UM1 works fine without the front panel, but there are some unsightly holes where it goes.

Repairing the front panel did not have quite the same success. I socketed these chips, which means the display plate no longer fits. The surplus hex switches are also much larger and do not have the same pinout, so give the wrong midi channel. There is also quite a bit of flicker on the LeDs. Most of these units are set once anyway, so the front panel is a nice extra, but not needed.

It is interesting to compare my “clean room” copy to the original. There is no hardware in common. I do parse some of the same setup code which is what makes my unit a clone.

The repair on this is also quite expensive, The obsolete processor sells for 10s of dollars, when in stock. [Currently at this I have some similar E2 processors for sale on eBay]. Atmel processors sell for a few dollars each, These contain many times the storage space and do not need the external logic. The replacement parts on the UM1 were around 35 dollars not counting the driver chips. It probably would be cheaper to buy a new unit, if such were available.

Over the next few months, I expect to sell some of my compatible prototypes online. I much prefer consulting and building devices to order. I also am willing to take on repair of the octet systems as well as any Broadmore power rolls that may still exist.

Bird in a box.

Somewhere I seem to have lost almost a year. Should you find it, please return it. Hopefully I can maintain a better blogging schedule. There are some exiting new things happening.

Last spring I came close to making a small 20 note organ in 1 week. Everything was completed except the pipework. Shortly after I started making and voicing the pipes, a family of birds moved in and made a nest in a box of pallets, which are for my w146 band organ.

It was difficult getting photographs of the birds. With some effort I managed to snap this picture. The birds were bold and seemed to enjoy watching me voice the pipes. Later when I took the nest apart after the young one left, I discovered that they were using the shavings from the pipes, as I made the pipes! Clever birds.

Bird who moved in

Bird in a box

Finally a I got around to downloading the photographs of the completed pipes. Here is the image.

It has taken me some months to get these items uploaded. I was called back in to complete the Theater organ I was installing. This project took until October of 2009!.

The 20 note organ was a success. I was able to take it to Several events and rallies. Below is a photograph from 2009 sutter creek.

I was also able to take the little 20 note organ to Participate in the 2009 Dickens Christmas Fair. Since the photographs were taken I added a nice top. I also made a new costume. Part of the reason I have been behind on my blogging. Of course, when one is so busy with a production like Dickens (there were 1000 performers this year) I have no photographs of me entertaining the folk entering the cow palace.

If someone did get a photograph, I would like to see it. Of course I have plenty of photographs from when I was in the Dark Garden window. That seems to be the nature of the show.

Everything at once.

Not sure if there is a point in counting the days anymore. Even without pipes the organ made it’s public debut on the weekend. Saturday It was shown at the MBSI Ardenwood meeting. Where there was a nice table on the side porch to display the work in progress.

I forgot the camera, however several others did manage to take some photographs. These may be sent to the MMD for publication.

Several friends stopped by Ardenwood, Including Russ Doering, who gave me some pipe wood. I think the scrap from these pipes were used to make the pump and regulators.

Sunday was an eventful day. I wanted to be in three places at the same time. Two of the events were close together, So the organ first went to the AMICA meeting, Hosted by Bob Gonzales in Marin. I then stopped by for the last hour at the Shoenstein open House in Benicia.

My experiment to locate a time machine sometime in the future, seems to have failed, So I was not able to attend the second day at Ardenwood. Even so I was fortunate to attend two event happening at the same time.

It was not my intention to take the organ into the Shoenstien factory, as they were showing off a rather nice large organ, and a much smaller one. Mentioning I had the organ in the car with me, I was invited by the owner Jack Bethards to bring the organ inside and show it. Jack is good friends with Russ. Probably the wood pipes I made the wind pumps and reservoir passed through Shoenstien at some time.

This makes the little one week wonder as I have been calling it a success in that many of the people who indirectly helped collaborate on it, got to see the results first hand.

While showing the instrument to a visitor at Ardenwood, I noted that the wood used was made from found scraps of wood. I was real pleased when they remarked that the organ was “green.” as this was the point of the project.

After the Shoenstien Open house, a few friends of Harold, who made the crankshaft and roll mechanism, also in the same week, had a nice dinner to wind down from a Hectic weekend.

It was also nice to see some of the same people, both days at different events. This means I was not the only one multiplexing everything at once.

Aldo Laus at Mell Wright’s excellent busker site estimated that it should take 54 working hours to make the 650 or so parts at 5 minutes per part. This is way over optimistic. I spent about 16 hours a day for 8 days which works out to 128 hours. A lot more than the typical normal 40 hours allotted for work. Aldo estimates, that there are about 290 or so parts not counting the pipes. Many of these parts took more than an hour to layout measure, check and measure again, before cutting.

I think I was wise to start with the bellows, as having built and recovered a number of singing bird bellows, I find the valves on these items to be tricky. The valves do need time to settle in.

I did not make the roll mechanism as this was done by Harold the project instigator. I suspect Harold spent more than 5 minutes on the parts he made.

This week will be spent making and voicing the pipes. I am not aware of any public events in the near future, Probably just as well as I will not have such an artificial deadline to deal with. I will admit that I had fun with this project. One of my former co-workers at Shoenstein, asked me if it was a Joke. I think they were correct in a way. That there was humor intended in setting out to do the nearly impossible task of making a quality product in a week.

Not that the final product was a joke, but the desire to do it in a week, was a bit tongue in cheek at first. Then developed into something serious.

Day 7, everything but the pipes.

Technically, the parts for this organ were made in a week give or take a few days.

Making the pipes was saved for the last task. Debugging the pumps, took more effort than expected. The valve design chosen was the alternative one. The valve leather I had left over from another project has been stored rolled up. This needs to lie flat for awhile. When the pump sticks were connected, the valves did not fully seat and the back pressure blew out the side of one of the feeders.

At least the check valve flaps are easily accessible. Holes were drilled where the corner tacks pass through the material. This allows the leather to lie relaxed on the valve seat.

another issue was that the releaf valve was not centered on the hole. Once these issues were corrected the system pumps a steady 4 inches of wind.

dcp_2967

By the time the pumps were working, It was too late to cut the wood for the pipe sides. The wood has been re-sawed into thin sheets. These need to be cut into rectangles, starting with the largest pipes in the group.

dcp_2969

As for the player unit, My friend Harold, who got me started on this project, Is making some of the needed items, such as the spool holder, and idler clutch assembly. These will be ready in the morning. So I plan to attend the MBSI event and at least show what can be done in a week.

If there is time, some pipes may be made for the events on Sunday. The nice thing about this project is that even if it could not be done in a week, It will get done, and be a nice addition to the collection.