Editing InfoPath 2013 Form Code
Turns out Microsoft, in their infinite wisdom, decided that InfoPath Designer 2013 will only work with one specific version of Visual Studio. If you don't have the correct bits installed, you'll get this:
Browse over to here for downloads. Note that there's around 16 versions of Visual Studio 2012 to choose from. Do not choose Visual Studio 2012 Express! Also do not choose the standard 2012 version as it seems to be a link to some other random installer. Instead, select Visual Studio Professional 2012 and install it... You should then get the following error:
From here, just hit download (direct link here to Visual Studio Tools for Applications 2012) and then install/repair. I had tried to install it first and so had the extra message that it needed repairing.
That Time Microsoft Saved Apple
Hah, I don't often post things like this, but Gizmodo just had a great article reminding us of that time that Microsoft saved Apple. Back in the day, there was a patent fued from Apple, against Microsoft, who had decided that MS had used too much of their 'design' in Windows. As Apple had been in a financial mess, Apple actually had to bend over and apple MS to invest $150 million to keep it afloat. From this, MS got an amazing deal!
Jobs really does deliver the whole thing tongue-in-cheek and the crowd plays along well. The video, from start to end, is a perfect summation of the entire scenario back when Jobs had just re-taken the throne.
Sony Picturebook – CD-ROM, RAM, Linux and WiFi
This poor little machine has been in its box for quite a while. I bought this Sony PCG-C1VS/BW PictureBook a while ago from Retro ShopBox on eBay (highly recommended!), but just hadn't gotten around to really using it! It's in great condition, with the only real issue being a missing battery latch, but the battery is still nice and snug. I've recently picked up a CD drive for it and can now install random OS'sss! I also found a RAM upgrade to max the poor thing out.
64mb Memory Upgrade
This unit is limited to 192mb of RAM, coming with 128mb RAM as standard. This means that, somewhere in the universe, there's 64mb upgrade cards floating around. I had to scour Yahoo Auctions Japan to find the component and used Buyee to get it over here.
Installation couldn't be any more simple. Flip the unit over, undo the single screw, open the case and insert the card.
Yey! 176mb usable RAM after the Video took 16mb? (Below Linux only seems to think it's 8192kb... what's a CMS?)
PCMCIA CD-ROM Add-on
I found the CD drive on Yahoo Auctions at the same time as the memory upgrade above. It was to be more economical to ship them all at the same time.
Note that the PCMCIA card and cable are fixed; there's no ability to remove them. Sony thought ahead though! You can actually run the cable in the space provided under the drive, with the card finally popping into it's housing to be tucked away!
And check that out, the drive even comes with an eject pin! It's neatly housed underneath and locked away when the PCMCIA card is slotted in. Very handy to get your CD back our when you've disconnected the drive! No more paper clips.
I love that it shows the raw name of the ATA hardware. It's a Ninja!?
RedHat Linux 5.2
I purchased this beautiful boxed set from a flea market a while back and got it running on an old 386. I simply assumed it would just work on this unit also. The Transmeta Crusoe emulated an x86, right?
There was a floppy disk, but I can't run both a CD and Floppy drive at the same time... fortunately CD1 is bootable!
...unfortunately, that's where it stopped... no amount of boot arguments got the boot process any further than the above line.
RedHat Linux 7.2
It was obviously going to be an uphill battle from here, so I prepared myself with a little google'ing. Of course, people have already gone and installed linux before, so it was totally possible. The main point was to choose a distribution that was of the same era (or maybe even 6-months older than the unit) to make sure that there had been time for the community to make everything compatible. I ended up chosing RedHat 7.2. Note that this isn't RedHat Enterprise Linux! Well, I lie.. it is, but RedHat 7.2 is actually RHEL 2.1.
Default boot parameters caused resolutions that were well out-of-range for this unit's display (1024x480). I fought a little.. lowres nearly worked, but didn't let me actually see the required buttons! I decided to just go with text mode.
Make sure you configure the x-server at the end and set a resolution that will display! I chose 640x480.
From here the unit booted nicely! We were at the login screen, but I wanted to set the resolution correctly, once-and-for-all. XF86Config-4 had created by the Anaconda installer and was the file I needed to edit to get the proper modeline in. At the graphical login prompt, you can switch to any text console by pressing the CTRL-ALT-F[1-4] key combination. Hit CTRl-ALT-F1 and log in as the account you set up during install; or log straight in as root. Switch to root (if required) (su -) and then edit the XF86Config-4 configuration file located in /etc/X11. You'll need to use vi if you've installed no other editors! Browse down to the Monitor section and add the following ModeLine (press the insert key to start editing):
"1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
Once saved (: w q) you can press CTRL-ALT-F7 to get back to the graphical login screen. From here, choose Menu and then Restart X-Server... yosh!
Sound also actually just-worked(tm) out of the box, albeit a little choppy.
Wireless Networking: Belkin F5D7011 v1000
I have other PCMCIA Wireless cards, but this one happened to be in the same box as the laptop. To get it going, we'll need to use ndiswrapper which is a neat windows-drivers-on-linux translation layer utility, and luckily my card shows up as supported in the hardware compatibility list. Following the changelog, we'll need to download Version 1.48 2007-09-19 or earlier, as they dropped support for our Kernel (2.4) in version 1.49. The main list of downloads it here, and v1.48 is here.
As I've got no network yet, I'll need to either burn a CD, or use a thumbdrive... Don't forget to download the actual windows drivers (I need the F5D7011 v1000) and extract them on the windows side first. But! That link didn't work, so I actually found them here.
From here, things got murky... turns out 1.48 of ndiswrapper needs a newer kernel. I tried lower versions and found that 0.1 tried to compile. It actually built! But then told me that I needed a kernel with loadable module support. Oh good... should we recompile the kernel? Can't! No sources! Downloaded the RPMs for that here.. then performed rpm -i. Ok, sources... let's try make them... make config.. I just hit the enter key through most of it... made sure you that I answered the question to loadable modules. Then I followed this to build the required components: make, make dep, make bzImage, make modules, make modules_install. Copied bzImage to boot, edited grub.conf... reboot... fail...
I might just upgrade to a newer version of Linux.
Wifi: Buffalo WLI-PCM-L11G
Just worked when I plugged it in... no eth0 or wi0 though? WPA Supplicant would be needed, but it didn't want to run with my base 7.2 kernel. the earliest release.
Can't work with the driver? I have no idea if it even works with my card :(
Other distributions?
Moray Allan has a post regarding Linux on the C1VE. It details debian and installation procedures. But that would/could still cause me to have a kernel that doesn't support WPA. Either way, I scoured ISOs are available here.
Choose to Expert install and set a proper video mode, otherwise you'll get the screen above. I failed the installation as it's netinst and I needed my PCMCIA slot for the CD!
What about Puppy? Make sure you choose a version that is both non-uefi and non-pae! Currently to be found in here. It tried to boot the ISO and then failed to find it. So I copied the ISO to a USB and had that inserted on boot. It found it and tried to go further but then got stuck at the sound module, letting out an awful noise that seemed to be destroying the hardware!
Modernising a Vintage Fluoro Magnifying Lamp
I found this thing a while back at the flea markets in Canberra and instantly decided that I needed it. I mean, who doesn't need a lighted magnifying glass on their workbench!?! It sorta reminds me of the Pixar Lamp.
Out with the old...
This unit had a 12" fluoro tube, which worked very well. I often just used it to light the apartment... but from this, could also often hear an audible buzzing from the ballast. Although the ballast provided a nice weight at the base of the adjustable arm, I wanted it out... or at least off!
To gut everything, I first removed the tube and associated housing. It then became apparent that the wiring went through a DPST switch and nice heavy-duty cabling was therefore already provided for me.
The next step was to remove the ballast. It turns out here that they've actually glued it into the base. Not a bad thing, I'm happy to just disconnect it as the weight it handy. Doing so, I simply gutted all the wiring to the terminal block and then wired in my own power brick.
From here, I quickly tested the power supply and polarity.
In with the new...
It was off to Jaycar again to find some LED strip lighting. This turned out to be really easy! It comes in short segments and already has circuitry embedded requiring a 12v power supply. Each segment needs only 50mA and the brightness is insane for the power usage. I purchased 8 segments (at a guess) to hopefully run a full lap inside the lamp recess.
Tinning up the wires, they were then soldered on the correct way around.
And a quick test...
Finally, the backing was peeled off and the strip was secured around the inside of the shade.
The result
I was a little concerned when I tested it during the day... that all changed when I turned it on at night!
Yes, that's a 386DX40 rendering 3D cubes... and doing pretty damn well!
Of Pin Straightening and CMOS Batteries
Whilst rebuilding a motherboards thought long dead, I have been required to perform a myriad of tasks. These have been related to anything from re-building PCB traces to fabricating batteries to straightening IC pins. Honestly, there's nothing quite like a good challenge and, recently, there's been nothing short of serious challenges appearing on my workbench!
CMOS Batteries
Some older motherboards have the batteries soldered on... or worse... incorporated into the freaking CMOS RAM chips! Luckily, this latest motherboard had no provisions for an on-board battery. Instead, it just had the usual 4-pin header for an external battery. Of the four pins, the two next to eachother are ground and the single pin to the side is positive. Don't be fooled by the CON1 label thinking that anything with a 1 should be positive!
I ended up at the usual Jaycar franchise and purchased a coin-cell holder and plug socket. It's a little chunkier than a standard header, but it is so much easier to work with!
Solder everything up and determine which way is positive. Note that, for coin-cells, the positive side is the 'bottom'. I had always assumed it'd be the 'inner-ring' (as per AA and AAA and all other batteries)... but it ain't. So be careful!
Once rigged together... install!
Yosh! Worked like a charm. If only all motherboards came with external batteries... the next mobo on the shelf has so much corrosion that I just feel like throwing it out.
Pin Straightening
Whilst doing the previous Recycle-Shopping-Tour-Of-Kumamoto, I stumbling across this 100-yen dream. It's a 386/486 era CPU with an alloy heatsink to obscure its actual identity!
I spent no extra effort breaking it out of the bag... and probably bent more pins... I wonder if works? Or what spec it is?
First step... pop that heatsink off. This required a fair amount of jimmy'ing...
Ooooo! It's a 486 DX2/66. This is seriously my favourite 486 CPU. So much natsukashiiii.
Will have to find a motherboard to slap it into... but before I even have a chance to do that, it's time to break out the tweezers. Actually, I discovered a better method this time around. Use a credit-card/transport-card/library-card to align an entire row of pins at the same time!
Nothing like being an adult and using adult tools!
Apple IIc – Floppy via Serial
I've recently acquired an Apple IIc and it's time to play games! As previously mentioned, the best way to do this is to hook up the Apple to a PC and transfer data via serial cable. This is all done via the aid of a software program known as ADTPro.
Building the serial cable
You'll find the required information on the connection page of ADTPro. Back to Jaycar we go to get the required components. Needed was a DB-9 female serial connector and a DIN-5 male plug. Some 6-core wire helped also.
Soldering it all together is very straight forward. Firstly, bridge pins 1 and 5 on the DIN side, then solder up pins 2-4.
Next, on the DB-9 port, join pins 1,4,6 together. Then join pins 7 and 8 together. That's two separate groups, not all 5 in one join! Finally, wire through (DIN-DB9) the three wires, 4-3, 2-2, 3-5.
Bootstrapping the software
Everything you need to know is on the ADTPro bootstrapping page. Java is required, so grab a JRE and install it on your platform of choice. Make sure your hardware has a functioning serial port! A USB->Serial adapter will work fine here. Download ADTPro from sourceforge and the RXTX Java Libraries. If you don't install the libraries, the application will remind you anyway...
To install RXTX, unzip the downloaded archive and move RXTXcomm.jar to \jre\lib\ext (under java) and rxtxSerial.dll to \jre\bin. Open the program once you've got it all installed. It'll be asking what serial port and what speed to use. Leave the speed as default and then choose the correct port.
At this point, you'll want to copy your disk image files into the disks subdirectory inside the ADTPro folder. Once you're ready to go, turn on your Apple IIc, holding down CTRL-RESET to get to the prompt. Expect ugly characters on the screen... it's no issue.
Once up (disregard that I already typed the first step above!), go back to ADTPRO and choose Bootstrapping -> ProDOS -> Speediboot.
Follow the instructions and type out the commands on the Apple. Note: Replace the # with the pound sign on UK keyboards! From here, you'll hopefully load into the main menu.
Hit R for Receive File and then make sure you are in the correct 'working directory'... i.e. where you copied your disk images to! I found Frogger, renamed it as frgr.dsk and copied it into the ADTPro disks folder. I was about run the floppy disk image from RAM... but why? I have spare floppies... lets use this thing as a floppy image writer!
It took a good amount of time... sounding REALLY unhealthy. Those Xs didn't look too good either. Turns out this was because I was trying to use PC formatted high-density disks... and that would never work! Regardless, due to the sounds, I wanted to open up the drive to check if it need maintenance.
For its age, it was in perfect condition. Dusty, yes... and the top padded head was deteriorating... but nothing a little cleanup with alcohol wipes wouldn't fix! I then remembered I had a 'disposable' 360k disk in my repertoire. Using this, I finally had a bit of success... it read the disk header!
Frogger then burnt, but wouldn't boot :( As that I had no idea if this version of Frogger was for my machine, or if it was even a bootable disk, I thought I'd try the actual images that come with ADTPro. I therefore chose the first image and wrote it to the disk. TADA! It booted!! Very different menu from the remote version when loaded over the wire.
What next? Oh yeah, Police Quest 1. Turns out this is in NIB disk image format, but it seems ADTPro can handle this. There was a warning of file size mismatch, but I went ahead and burnt it anyway... I didn't bother burning the second side. Once cooked, I turned the machine off.. counted to 10... held breath... crossed fingers... powered on...
Hahahaha! It worked! But I can't flip the disk without repeating the whole process and writing the other side. I don't think I'll bother as the game loaded so bloody slowly. I'd probably never end up actually playing or using this machine... so it's now on eBay. What a perfect unit if you loved these old games!?
Melbourne – B74’s Birthday Bash
Another weekend in Melbourne brings about another Heritage Train Trip. This time it was Seymour Railway Heritage Centre running an excursion to celebrate the 65th Birthday of locomotive B74!
The trip was initially meant to run via Newport and Werribee, so I located myself on the curves into Albion Station to snap it as it came through. The following shot is of a track-machine transfer back in 2016 and shows the angle you can get from the road overpass.
It was touch-and-go to get there in time... but then I noticed that the train had disappeared at Jacana junction. Broad-gauge trains only do this when they're running through Essendon into town, so I was a little perplexed. Further googling resulted in the revelation that the train would 'run around' at North Melbourne. I assumed it'd then run via the triangle and head into Newport... so I re-located to Brooklyn.
After a little time passed, I checked the radar and noted that the train hadn't actually shifted. Quickly off to the Facebook page for SRHC I went; only to find that the train was to run via the RRL! This was great news... but I was in the wrong location. I've previously caught consists approaching Tarneit before and wanted to do it again with this one. Back in the car... back on the highway... and based on timetables, with very little time to spare.
Regardless, by the time I got to Tarneit, the train had not moved from North Melbourne. Hah. Such is the Australian Railway life. I waited at the station and watched two train-loads of AFL fans head into Melbourne.
Whilst this was happening, the suspense was building outside... Seems like others had a better idea as to where to find the perfect angle.
I had a better position inside on the walkway to the platform. There's a good viewpoint, framed nicely by the station and the signals (if you wish), that let me get the previous shot of the steamer in the link above. I was the only one there, with a nice and clear line-of-sight. In due course, the train thundered through...
And then I was off to Sunbury for computer markets and tip-shop scrummaging.
Introducing the Apple IIc
I suppose I should be using italics there, but the heading doesn't allow it. The Apple IIc is an all-in-one (apart from the monitor) unit from Apple, built in 1984. Amazingly, this model was released at the same time that the original Macintoshes were hitting the market, directly competing with their own graphical systems?
I happened to stumble across one recently at the Camberwell Markets and haggled it down to a price I was comfortable with.
Design
This thing is like a cute little suitcase. It has a fold-out handle at the back which actually makes it really portable. What doesn't make it portable is the power supply! It's huge and heavy and really does ruin the whole 'portable' aspect.
The keyboard is relatively clicky, but a little sluggish. From what I read, they fixed this in later versions which came out with 'alps' switches. Note that you can determine your model by typing PRINT PEEK(64447) at the BASIC prompt...
Mine is a 255... the earliest revision.
ROM Upgrades
Fortunately, the ROM is a socketed EPROM and therefore easy to upgrade. Big Mess O' Wires has a great blog post on upgrading the ROM. Turns out that my version of the motherboard has a 16k ROM in it, but the board has provisions to support a 32k (27256) ROM. A 64k ROM is also usable, if you burn the image to the 'second half' of the chip. See my old post here on burning EPROMs if you need a hand to do so.
Firstly, download the ROMs. I'd recommend ROM 5x as it is a modified ROM with extra features. Unfortunately, they don't provide a direct link, so you'll have to follow the instructions there to create it. There's another link here.
I spent a bit of time trying to see if I could use Windows 10 to burn... short answer is that I couldn't. I booted up the old IBM NetVista which had a fresh install of XP, but that was also troublesome. So I threw in a spare HDD and re-installed 98se. Note, make sure you set your parallel port to just ECP. I'll try XP again as this setting made the burning work under 98se. Also make sure your EPROMs are blank!
Next, pop the thing open. Firstly, undo the top two and bottom 4 screws. The 4 middle screws are for the floppy drive and aren't required to remove the case lid. Once you've popped the lid off... and be very careful, there's clips all around that just need manipulating, you can disconnect the data cable to both the floppy and the keyboard.
You'll then have the mainboard totally exposed. One thing to note is the Integrated Wozniak Machine, used to drive the floppy.
The ROM is the bottom-middle IC. Hahaha... look at that copyright requirement... it says MICROSOFT '77!
From here, pop out the old chip and slap in yours. You'll need to break W1 and bridge W2 (as per the instructions in the link above) if you're not replacing with a 27128.
First boot and I got the following...
Oh bullocks... but hey, if you actually plug the keyboard in, then it'll actually work!
Niccceeee....
Colour Video
I was a little disappointed that this only had monochrome composite output. Fortunately, Kaput(?) has created a schematic for a Apple II Colour Demodulator. The inline images seem to be dead, but just click the first link for the circuit. My main issue is that I found that shitty little TV above, as it nicely matched the IIc. It's monochrome also... so... I'm not overly fussed if the unit stays mono.
Software
Turns out there's a whole lot of popular games on this unit! Here's the list, thanks to Wikipedia.. And what!?!?... Police Quest 1? I wonder how hard it is to write a 5 1/2" floppy for this thing. Here's Frogger. A little googling tells me that writing floppies needs to be done via ADTPro and a serial cable. That'll be another post!
Main South – June 2018
I had to drive to Sydney for work.. so I via'd Canberra and the railway line. Didn't get to see much as I was mainly on-the-clock and had places to be... but fluked a few sightings. First up was perfect timing with the Harefield shuttle. Whilst waiting for it, there was (as there always is) amazing cloud formations to drool over. Not so easy to capture on an SLT though.
The light is never in the right area in the afternoon and so I've got a favourite place at the top of the climb from Harefield to Junee on an S-Bend. It gives you a minute possibiliy of having the loco on a good angle.
It also lets you take a photo of the train seemingly driving on the road...
And then some great angles of the consist traversing the curves...
There's always a good lash-up on this train. Qube run the shuttle and, since it's such a short trip between Harefield and Junee, use a miriad of vintage locomotives.
There wasn't much else happening on the rails, so I bolted through to Harden and caught a northbound PN intermodal trying not to roll too fast down the hill.
The leg from Canberra to Sydney was a little quieter, but I did manage to intercept a northbound SCT service just near Bargo. SCT have recently acquired a bunch of LDPs from QR who no longer do southern intermodal trains, so this was an interesting lash-up.
Next is the Griffith Explorer passing through Galong. This is train has an every-second-day timetable and isn't an easy one to catch. The weather was also disturbingly cold and wet.
A few KMs down the track I intercepted the northbound Melbourne-Sydney XPT. It absolutely flew past me!
Further down in Yerong Creek, I intercepted a north-bound Steel Train.
In Culcairn I thought I found one of the ex-ARHS Canberra passenger cars, but alas, supposedly it's been here for years. I'm usually too distracted by the local bakery and don't actually check out this corner.
The weather stayed absolutely awful...
But I hung around in the cold for the southbound XPT.
And then continued home through a heavy downpour... car needed a wash anyway.
Melbourne Randomness – 2018
How do you post photos that (are really cool but) really don't relate to eachother and have been taken over a large period of time? You start a randomness-post! ...And so I present the following...
Here's Steamrail's Y112 passing through Hawksburn Station. Fortunately, I guessed the correct tracks and was in a good location.
A regular in my area, the steel train is always trundling past. Here it is traversing the mudholes below Cromwell Road.
And then again.. with an XR up front, this time.
Now we're off to Flinders Street Station. Here we get to see Steamrail up to mischeif again with a double-ended heritage passenger train. They were running shuttles in all sorts of directions.
One of the shuttles was off to Essendon, so I made my way to Kensington to see it fly though. Fortunately enough, SSR had their grain rake stabled there.
A further shuttle then saw the consist pass through Hawksburn twice.
Hanging around North Melbourne Station saw a newly refurbished Comeng set shunt around. These have had face-lifts, amongst other changes. The gangways between carriages are also now covered.
Finally, another Steamrail shuttle was captured up north.
And then... another steelie, from the other side of the tracks... with my old apartment in the background. Boo hoo.
...the end.