Subscribe via RSS
18May/160

Commodore 64C: An Introduction

I've had a hankering for an Amiga for a while now... I don't know why.. I think it has something to do with the accelerator that was made for the Amiga 600 that made it go faster than ever thought possible... sure they emulate the entire core in a much faster CPU and high-jack the motherboard... but it's still an awesome feat!

I also have a feeling that I missed out on a whole realm of computing in my childhood by following the Nintendo/IBM route. I'm pretty sure there was a-whole-nother world out there... Sega, Amiga, Atari, TI, etc... that I never got to sample. Actually, I lie... my neighbour had a TI-99/4A, followed by a Sega Master System... but I only ever got to play them briefly. Hunt the Wumpus was random, but fun at the time!

My first Commodore

Officially, this is my second. The first was purchased in the mid-90s at a fair at high school, but didn't work. It was the original breadbox style and was stone dead. Should've left it in the garage!

Anyway, this past weekend I spied a box of junk at the local Trash and Treasure and actually thought I saw an Amiga 500/1200. Instead it turned out to be the 'newer' C64. I was hooked.

DSC03591 DSC03592 DSC03593

The guy wanted $100 for the box. It contained:

  • C64C (missing 3 keys) + Power Supply
  • Composite Video Cable with Stereo Audio
  • Two quickshot joysticks
  • One control pad (looks like a NES clone)
  • 3 odd cartridges
  • Another odd console named 'Tempest'
  • 1571 External Floppy Drive

Now that I list it, it could well be worth the AUD$100. I offered $50. He haggled back to $60... knew I had him. Asked if it worked... he had no idea... so I pulled change from my pocket and made a deal at AUD$52.

Bargain.

Does it work?

Worked first time... plugged it in and switched to A/V input... blue screen of dea... BASIC!

DSC03594 DSC03595 DSC03596

Random 4s and 8s on the screen... and the cursor was stuck hard-left. This directly mapped to the keys that were missing. 4, 8 and HOME. Turns out that there is no spring when the keys are off, so these were all 'pressed'.

DSC03629 DSC03624 DSC03625

Got some tape, placed along the shaft of the missing keys to hold them in the air. Restarted... it works! Quick search on eBay on my phone, from the couch, in front of the LCD TV that was happily displaying technology from 1987. Found replacement keys... ordered them on the spot.

Next google to a sample BASIC app... found a tone generator. Tedious data-entry thanks to taped-keys... but it worked beautifully through the surround system. Hah.

How much more powerful is my phone than this? No idea.

1541-II Floppy Disk Drive

This is external and has its own brick of a power supply. Turns on and hums away when I attempt to access a disk... so I assume it's in working order. There's disks on their way via eBay, so I'll test it out shortly.

DSC03599 DSC03600 DSC03602

The innards

See below for the case opened. I was curious as to why it had a green LED. Turns out Commodore could never work out what colour the LED should be. The warranty seal was also very well voided. Seems to be some newish solder around the PAL/NTSC circuitry... maybe this was a conversion?!

Turns out I have an Assy 250469 Rev. B. Built in 1990 (assumed by the scratched out '91' on the RF Modulator.) This model was still being built in the '92, so I seem to have acquired one of the final models.

DSC03608 DSC03610 DSC03612

DSC03614 DSC03616 DSC03617

DSC03621 DSC03620 DSC03618

What's next?

  1. Yes, that's a model railway under the C64C... I will control it. Turns out I bought a book when I was young that was all about robots and the Commodore 64. I need a VIC-REL or equivalent. Bugger that... let's find the header for the user port and make my own!
  2. Buy floppies (thanks eBay) and test out the drive.
  3. Buy some form of flash disk and play all the games I missed out on. I chose the SD2IEC... waiting for it to arrive.
  4. Serial port? Modem? Ethernet?
  5. What else?

This is fun!

26Feb/160

Converting a Kato Power Pack to 240v

This was as easy as the I.M.A.S.S. Power Supply that I converted previously.

DSC02937 DSC02938 DSC02939

These are easy to pop open... pull the feet off and then undo all the screws.

DSC02940 DSC02942 DSC02943

Find a transformer of similar size and voltage from your trusted and local electronics store and then swap the existing 110v transformer out.

DSC02944 DSC02945 DSC02946

DSC02947DSC02948 DSC02949

There's the usual make-it-fit work. The newer transformer had bigger feet and I didn't have a clean way of sizing them to fit. So I removed a bit of the plastic casing on the base of the power pack.

DSC02950 DSC02951 DSC02952

Re-do the wiring... the powercord is fed directly into the transformer. Tie a knot in it to stop any yanking from doing damage. Then solder the two internal wires.

DSC02953 DSC02955 DSC02956

Black is ground (tested this with my old workhorse multimeter.) And that was it... works perfectly!

21Feb/160

Nice view – South Yarra

...and every now and then a great combo!

I'll soon make this feed public. Stay tuned...

16Feb/160

Quadra 950: Apple Multiple Scan 720

I'd purchased an Apple Multiple Sync 720 (17") CRT along with the PowerPC 7200 and they worked fine together. I've since gotten rid of the PPC and have tried to get this monitor to work on the Quadra 950. On first plugging in, Mac OS 8 reported that only 640x480 was available. I know it can do up to 1280x1024, so I dug deeper.

From a brief google I couldn't work out if this monitor was supported officially or not. The resolution available indicated that the monitor was not correctly detected; but was this a fault of the monitor or an issue with my macintosh/rom/software/firmware? Or just the fact that the monitor was newer than the Quadra and was never going to be correctly detected?

A little digging indicated that Apple monitors used 'sense pins' to tell the Macintosh what was connected and then what resolutions should be displayed. This monitor uses 'extended sense pins' and I wasn't sure if the Quadra 950 understood these.

Sense Pins and related IDs

There are some very interesting articles online relating to Apple video hardware. I found this email to the comp.sys.mac.hardware usegroup from Dale Adams who was actually one of the engineers who created the specifications/hardware. In it he describes the technology and the 'pinouts' of the sense pins and associated monitors. I've reproduced this here for easy reference.

Monitor Sense Pin 0 (4) Sense Pin 1 (7) Sense Pin 2 (10) Resolution
Apple 21S Color 0 0 0 1152 x 870
Apple Portrait 0 0 1 640 x 870
12" Apple RGB 0 1 0 512 x 384
Apple Two-Page Mono. 0 1 1 1152 x 870
NTSC 1 0 0 underscan - 512x384
overscan - 640x480
12" AppleMonochrome 1 1 0 640 x 480
13" Apple RGB 1 1 0 640 x 480
Extended sense code monitor 1 1 1

From the table above, I can tell you that my monitor is of the 'extended' variety and provides '1' on each sense pin. When the 'extended' mode is found, the Macintosh BIOS is then meant to send voltages to each line and determine what the value of the other pins are. I couldn't actually find out when this logic was supported in what Macintosh ROM/BIOS and so I assumed that the Quadra 950 didn't know how to do this. A little bit more reading through Dale's post indicated that if I could ground the wires then I could fake a monitor code and test other variants.

Faking codes via the sense pins

I started with aluminium foil, folding it down to a thin strip and punching a hole in one end. These strips were then slid over the three pins that needed to be grounded to fake an Apple 21S Color monitor. This was fiddly work and took quite a few attempts. Foil isn't strong when punching it with a pin and isn't easy to manipulate. It also moves as you plug the monitor into the port, so it was a very one-shot affair.

After getting a successful connection, I started the mac and ... shit ... it just worked. The resolution was already set to the only fixed resolution that this monitor could handle. From the information page at everymac you can see that it can support 1152x870, but I had assumed that this was the max and that I could set any resolution up to that. Turns out that the 21S is a vintage monitor and only does one resolution; but I'm sure it does it well!

But I want to fake a multi-sync monitor!

It turns out that you can't. To do this you need 1,1,1 on the pins, of which my monitor is already outputting! Therefore I was back to zero. I kept reading posts/documents online and stumbled across the Video Compatibility reference article where I see it mentioned that, if you mate my monitor up to the Quadra 950, you can output the correct resolution. Why doesn't mine work then? Reading Monitor Adjustment Info by James Davis tells me that if the BIOS doesn't support the extended sense pins then the monitor will be seen as a 12" RGB. This seems to be the case, as I can only choose 640x480 when the monitor is plugged in as usual. But then again, that contradicts the first page.

Installing the correct drivers...

After a little more googling, it seemed that I'd needed enabling software called "Apple Multiple Scan Software". This was mentioned in this tidbit on hooking up foreign monitors and in the manual from my actual monitor. This wasn't easy to find but a lot of digging produced a copy over at macgui.com.

I initially tried with my PowerPC card enabled and the install software told me that my machine didn't need it. So I rebooted to 68k and it installed... but.... as it was installing it told me that the files on disk were already newer than the files being copied. Whatever... I copied them anyway. After a reboot there was no change.

SwitchRes

I managed to find this version (and have made SwitchRes v2.1 available here) and tinkered. I had assumed it would allow magical resolutions to be set... it really did nothing but cause problems.

DDC

A fellow vintage Macintosh enthusiast in a forum post over at the 68k Macintosh Liberation Army entertained me with the following user manual for the Mutliple Scan 720. I assumed it would lead to another dead-end... but as I was reading through I noticed that it indicated that if DDC was enabled then specific machines (PPC9600, PCs, etc..) would behave differently. What if it happened to be enabled and my poor Macintosh was getting confused?

I got home and booted the machine into its glorious array of 640x480 pixels. Flicking through the onscreen display on the monitor itself, I navigated to information and then DDC. It was set to 2B. I wonder what those codes even stand for... anyway, I knew that DDC wasn't what the Quadra spoke, so I turned it off.

Low-and-behold after a reboot the standard Monitors and Sound control panel allowed me to select right up to 16-bit 1024x768. Not quite the 1280 or 1152 that I was after, but nearly twice as good as what I had before. Moral of the story? Don't use newer tech on older machinery!

30Nov/155

ASP.NET 4.5 has not been registered on the Web Server

As a .net Developer, I have Visual Studio installed and this (usually) includes its own little version of IIS Express. This is all configured out of the box on install and just works.

After upgrading to Windows 10, I started getting this error:

ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly.

The usual trick is to go to command prompt, find your .NET Framework directory (somewhere near C:\Windows\Microsoft.NET\Framework\v4.0.30319) and then run aspnet_regiis there.

Unfortunately, on Windows 10, this doesn't work. It'll respond with:

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.
Start installing ASP.NET (4.0.30319.0).
This option is not supported on this version of the operating system.  Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog,  the Server Manager management tool, or the dism.exe command line tool.  For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.0).

This all makes sense... you instead need to hit the start button, type "programs and features" into the search and then hit the first result that appears.

Once in the Programs and Features window, hit the "Turn Windows Features on or off" in the left pane.

Now scroll down through the tree and find:

  • Internet Information Services
    • World Wide Web Services
      • Application Development Features

...and then check all the relevant features you require. I chose .NET 3.5 and 4.6.

Let it do its work and then you should be back to happy-development-land in VS before you know it. If not, then it could actually be a bug in Visual Studio. Please check the following patches for your version of VS: VS2010, VS2012 or VS2013.

If you could only see .NET 4.6 (or have just updated to it...)

Then you need to patch Visual Studio as per the instructions here. Seems that upgrading to 4.6 won't let Visual Studio correctly see that 4.5 is installed.

5Nov/153

iTunes store displays black screen

iTunes displaying nothing? Or just the top banner and a black screen? When you move the mouse around the black, do the play/pause icons magically appear?

It turns out that in the latest version of iTunes (12.3.1.12) if you stretch the window past 2048 pixels wide, then it fails miserably. Note that I can currently only test this on Windows 7 64-Bit.

My desktop happens to be 2560 pixels wide (interesting that this doesn't happen on Retina displays!?) and i get this...

itunes-2560-wide

I quickly switched the window over to my other monitor at 1600 pixels wide, worked fine. Hah. So then I tried to shrink the window on my main monitor... here's 2055 pixels...

itunes-2055-wide

... and then coming under the 2048 threshold... tada! ....

itunes-2039-wide

2039 pixels, works fine... how annoying. Hopefully this helps someone else stuck in the same situation.

Bieber is cool, right?

28Oct/150

Buffalo E7 Kagayaki PC Mouse

On the way back from Shimoda to Tokyo, I happened upon a delight in the shopping magazines found in the a seat-pocket on the Odoriko. I'd actually already scoured Osaka and Tokyo for this delight, but all shop assistants (Yodobashi, Bic Camera, etc...) had never even seen the product.

Little did I expect to find it in, what we declare in Australia, as home-shopping dodgy magazines. But, there it was... and a friend in Japan managed to order it for me then and there on the train! It then arrived only a few days after I returned to Oz.

DSC09382 DSC09384 DSC09386

Under those delicious 'older gentleman' dark chocolate KitKats is a Buffalo USB Mouse. It's a standard form-factor with fantastic markings. Buffalo have taken the time and painted them in line with the E7 shinkansen.

DSC09393 DSC09391 DSC09392

Further than this, they've even put a serious amount of effort into the packaging.

The artwork on the outside of the box is a lightly water-coloured scene of the Shinkansen bolting somewhere north.

I love it that they've made the box out of plastic. The mouse is centrally on display, with all appendages neatly concealed in the base of the packaging.

DSC09394 DSC09396 DSC09397

Opening it felt like unfolding origami. The intricate design perfectly fit the coiled cable and documentation.

DSC09398 DSC09400 DSC09404

Once out, I found it to be smoother than I had expected. It has a very glossy finish and is slippery to the touch. Fortunately, the sides are covered in a rubber panel, which provides a nice level of grip.

DSC09405 DSC09407 DSC09408

The best part about this mouse is that the scroll wheel is legit. The wheel is clicky and can be pressed without rotating. I've used newer mouses in the past that had very light-touch wheels that even had momentum if you spun them too quickly. This wheel has the exact friction point I've been looking for.

25Oct/150

Power Mac 7200: PCI USB Cards

USB has been around for a long time, it seems. Longer than I'd originally thought. For fun I wanted to try and get this relic of a PowerPC into the less-than-stone ages and, well, plug things in without having to reboot. USB would provide this and I had a few devices to try out.

There's information on what OS' support USB here at lowendmac. My mileage varied... but I actually think it was because of faulty/old hardware rather than software incompatibilities.

Belkin F5U220

20151025 111909The card shows up in System Profiler but there is no power on the USB bus. I plugged a $10 HP Mouse in and the LED/Laser didn't glow. It seems this card is only good for Beige G3s or higher? Or could this card just be faulty?

OS 9.2.2 had installed and loaded the USB extensions... so it seemed that it wanted to do something with the card, but failed.

Adaptec Duo Connect PCI Card AUA-3020

20151025 111955This card comes with 2 FireWire and 3 USB 2.0 Ports. I plugged it into the PCI slot and booted up. I had already installed OS 9.2.2 with the previous USB card in, so the USB extensions were all there. Plugging in the same HP Mouse saw the light glow underneath. It worked!

Right-click just acts as normal click, so it effectively becomes a one-button mouse. I'm sure you could install something like USB Overdrive to make the buttons and scroll wheels more functional.

Opti FireLink BG-3800-00 UH-275

20151025 112011This is another PCI USB 2.0 Expansion card. Most USB tutorials for these older-style PowerMacs mentioned this chipset, usually recommending it. I found one on Ebay for under USD$10.

It worked perfectly on installation. No configuration necessary. The mouse lit up and was functional straight away.

OS9.2.2 and USB Keyboards/Mice

20151025 111849The USB cards will apply power to the bus very early in the boot process, but the devices wont actually work until the last icon on the desktop is loaded. It's still recommended to use your ADB equipment (or at least keep it for emergency purposes.)

Both the HP USB Mouse and Apple Keyboard (from a future iMac) worked perfectly fine.

LITE-ON DVD Drive

20151025 150659I plugged in my portable eSAU108 DVD/CD Writer. On the Adaptec Duo, I only got a flashing red light on the unit. It seems that the card does not output enough power for the device to function correctly. On the UH-275 USB Card, the drive worked perfectly.

Further research indicates that the drive has a smart USB power detection feature. The LED will flash red if it needs to suck power from two ports. So it seems the Adaptec correctly limits the power, whereas the UH-275 can push out more milliamps.

USB Overdrive

Downloadable from here, I assumed this would give me left-click and scroll-wheel mapping... instead it just stopped the HP Mouse from working at all. I gave up on it pretty quickly.

Does the USB get passed through to the DOS Card?

No. Even worse... if you have a 2-button mouse on the USB, the second button does absolutely nothing on the Windows side. It makes perfect sense but can be really confusing when you still have to command-click to get a context menu.

24Oct/150

Shimoda, Izu Peninsula – August 2015

I'd never been to Japan in summer and therefore never been to the beaches. This area just west of Tokyo is stunning. The only issue at this time was a typhoon off the coast, preventing us from swimming. Fortunately we did get to get our feet wet.

JR East runs the line from Tokyo through to Izu, half way down the peninsula. From Izu, the Izukyu Corporation runs the Izukyu Railway which takes you right down to Shimoda. Fortunately, the JR (Super View) Odoriko services run on the private lines and will take you to the very end.

Odoriko Service

These are great trains, fast and efficient... clean too. If you happen to get a Super View, then the scenery is fantastic. They book out in summer though, so be quick. When booking you'll be able to choose the mountain side or ocean side. The ocean side seems popular, but the mountain side is fantstic also!

DSC08906 DSC08916DSC08918

DSC08915DSC08907 DSC08914

The beer on tap was a nice touch!

Shimoda Station

Once at the station, it's the end of the line and most passengers disappear off to seaside resorts for well-deserved getaways. I hung around for a little to soak in the view.

DSC08919 DSC08922 DSC08923

DSC08925 DSC08926 DSC08929

The corner before the approach to the station provides a nice view of an evening. As per usual, the Japanese scenery is lush and green. An easy choice to model a railway on!

DSC08937 DSC08958 DSC08965

DSC08970

DSC08975 DSC08983 DSC08998

I even happened to find an exact model of my car! This is the first functional instance I've seen in Japan. Not bad for ~30 years old.

DSC09007

Toyota MR-2

Back at the station, the yard had a few interesting things to see. There was an inspection vehicle resting on tracks perpendicular to the actual line. Do they use a crane to get it on?

DSC09026 DSC09028 DSC09029

DSC09046 DSC09049 DSC09051

Not the best lighting, but most days were spent out at the beach! Still, the yard was quite picturesque with nice sized EMUs waiting for their next gig.

DSC09054 DSC09057 DSC09062

Marine Odoriko

On the last day, the plan was to ride this home. It's the Odoriko service run by the N'EX consist. Has a special headmark and all. Turns out that I got Hyperdia wrong and we turned up to find the old-school 185 series (not complaining!) to take us back... so much charm. Fortuantely, on the day before I managed to see the Marine Odoriko shunting for its next service.

The photos are of poor quality... I'd not had my camera on me. But you can just make out the 'anchor' headmark on the front.

Shimoda Train 7341 Shimoda Train 7031 Shimoda Train 7398

And that was a wrap. Great location for a beach holiday!

16Oct/150

Century Southern Hotel, Shinjuku – August 2015

It was to be one night in Tokyo, whilst in transit from Hakone to Izu Peninsula. What's the quickest path? Probably a change at Odawara or Atami? Suuureee... but there's also an express train to Shinjuku from Hakone and an Express to Shimoda from Shinjuku. So, why not do it in luxury?

Hotels in Shinjuku aren't cheap... so you might as well make it count. Turns out that Odakyu has a hand in this hotel and this hotel has some stunning rooms! Check out the view from the Panorama room I stayed in!

DSC08884 DSC08883 DSC08886

DSC08885

DSC08889

DSC08887 DSC08902 DSC08903

DSC08891 DSC08892 DSC08896

Trains, trains and more trains... Yamanote, Express lines, Chuo line and even Odakyu!