Just over a year ago my brother-in-law came across a Tandy TRS-80 Model 4P computer with some floppy disks (5.25″). After a quick check, it was determined that the power supply was faulty. It’s since been removed from the computer and is currently sitting on my workbench, waiting to be repaired (yet another retro computer project that I haven’t started).
A while ago I got two EPSON PX-8 portable computers, and over the next while I’m going to attempt to get both of these machines operating, as neither of them are at the moment (for one reason or another).
After the recent post for the HX-20 Battery pack, I have organise to build a new battery pack of one of these two PX-8 computers.
As promised, here is my working HX-20. I’ll strip it down for all to see, and then put it back together. I’ll run down though its specifications, and how it actually works. This model doesn’t have the expansion bay fitted, but I have an idea on this.
The HX-20 has a 20 column x 4 row LCD display. The contrast control on the right side of the computer is used to make the screen darker or lighter. It would be great if the unit had a backlight control – back in the day, that was helpful. As the computer uses standard Hitachi display chipset, I should be able to swap it out for a model that has a backlight.
As you can see from this image, the tape on the driver is dated 1983. Yes the tape is 34 years old and it still works.
Once you remove the micro cassette drive, you then remove the seven screws from the bottom of the computer. Be careful when opening the case, as there is a flex connector that connects the display to the main PCB.
The main CPU is a 6301 running at .6MHz, with a second 6301 that manages the peripherals on the computer. The 6301 is a CMOS version of the 6801 Motorola Microcontroller.
When you release the flex cable from the main PCB, the two parts will open like a butterfly. The keyboard is connected to the main PCB via two flex connectors located on the bottom of the main PCB – release the flex connectors by sliding the latch’s forward. You should find that the flex connectors are very easy to remove.
The RAM installed on the computer is static RAM which is backed up by the main Ni-Cad battery. As the entire computer uses CMOS technology, it’s able to run off its internal rechargeable battery for up to 40 hours depending on use. Note: You won’t get 40 hours if you use the inbuilt printer or micro tape drive.
There are three screws that hold the inbuilt printer in place. Remove these screws and then release the catch for the printers flex cable on the main PCB. The printer should very easily lift out with no issue. Notice that I removed both the ribbon and paper from the printer before opening the computer.
Next, I removed the battery holding plate, by removing the screw that holds it in place. You will also need to slide the brown power connector to the left on the main PCB to release the battery from the computer. Notice the discolouration of the batteries in the shrink wrap. This is an early indication that these batteries are beginning to leak. Good thing I decided to open this computer at this time, otherwise I might never have noticed this and with the batteries leaking, they could have destroyed the computer. I’ll order some 2/3 C cells so I can build a new battery pack for the computer.
Once the battery is removed, there is only one screw holding the shield in place. Remove this screw and the shield should be easy to lift out.
You will notice that there are only four screws holding the main PCB in place. Once you remove these screws, lift the main PCB from the right side up. This will cause the 40 pin connector on the left side of the main PCB to slide out of its socket. The main PCB should lift out now.
Now the main PCB is out and we can see the two 6301 micro controllers, the 4 ROM’s in the sockets in the middle right of the PCB and the 8 x 2K RAM’s – 4 on the top right and 4 on the bottom right of the PCB.
Notice that the crystals used by both micro-controllers are 2.4576MHz. The instruction set codes for CPU use between 2-5 clock cycles per instruction. As an average, normally assume 4 clock cycles per instruction. This gives an average CPU speed of 614KHz. (0.49MHz to 1.22MHz).
On the left side of the computer is the expansion connector. The expansion unit allows for external RAM expansion if 16K. The expansion unit also has two sockets to allow installing other applications. The underside of the HX-20 had an expansion bay and when you open the bay there are four sockets that allow for ROM expansions.
The back of the computer has two DIN connectors. One is an RS232 serial port with speeds of up to 4800 baud. The second serial port is a high speed with baud rates of up to 38,400. This port is used for the external display controller and the serial floppy drive.
The power adaptor is centre negative, where most other power adaptors are centre positive. This is very important if you’re going to make your own power adaptors (if you lose your old adaptor). The adaptor should give 6.5v to 7.5v DC and be capable of supplying up to 200mA in current.
The micro cassette drive can be removed and a ROM cartridge can be installed in this slot. I have never seen one of these ROM cartridge units but I would be interested in finding one or getting a schematic of one to build my own ROM cartridge PCB.
And when it’s all put back together, it still works. The display wasn’t the best as the main battery was not fully changed. As mentioned above, I will replace the batteries with a new battery pack.
This was the first laptop computer that I ever used, after my Dad got one for his business. Having spent many Saturdays in the local computer shops, giving grief to the sales teams and playing on friends’ computers, I was nominated to help my Dad setup and use this computer for his work. I spent many nights up late showing him how to use it and to this day, the noise of the built in printer is burnt into my brain (it was printing out results from the data loggers that he sold).
The Epson HX-20 was unlike any other computer I had used before. With a flick of a switch, the unit came to life and I could start programming in Microsoft Basic. It was like the future had arrived. None of the other computers I used back then were portable but I could sneak off to my room and write programs on the HX-20. After several weeks of pestering my Dad for a micro-cassette tape of my own, he eventually gave me one and I was off.
I spent many weekends entering programs into the the HX-20 for various applications. Trying to debug programs on the small 20 Column by 4 Row display was a pain. Very quickly I learned to make sure that the entered syntax of the program was correct. At the time there was a magazine publication called INPUT, which contained programs for a section of the popular computers sold in the UK and Ireland.
After much trial and error, I eventually found that the code for the Dragon 32 computer was the most compatible with the Epson HX-20, as its version of Microsoft Basic was very similar.
The HX-20 was supplied with a basic 16K RAM. It had a 16K memory expansion bay which expanded the RAM to 32K. The program used 14K and an 8K buffer was allocated when the program was running. This left 10K for other programs. One of the tricks I learned very early on was how to save my Dad’s application to free up all the 32K RAM for my programs. When I finished playing with the computer at the weekend, I would load the application back on to the computer for my Dad, so it was back in the condition that I got it.
On the back of the HX-20, beside the power connector, there are two DIN connectors, one of which is a full RS232 interface. The RS-232 port supported most standard baud rates and data bits and parity. The high speed serial port is where the TV interface and the floppy disk drive connected to the HX-20. Never got either one of these devices (as much I wanted to have them) to make my life easier. Maybe there is a possible future project here…
Many years later I was given a present of a HX-20, which I have packed away. When I get a little more time, I’ll dig it out and will perform a tear down on it.
Technical Manuals Downloads
Setting up power to my workshop is proving to be an ongoing project for me. Where possible I want to be off grid generating my own power. Solar and wind both spring to mind – wind for the days when the weather is poor and no solar energy can be collected and solar for the days where it is possible. Given that I live in Ireland and the weather is not the best for solar power generation, it’s worth a try, just to see how much free energy (I use the word free very loosely) can be stored.
This brings me on to the storage of the energy – batteries. Some research is required into the types of batteries to use as this is not something I have tried before. I purchased a basic PWM Solar Charge Controller from eBay and is designed for lead acid batteries. As a first step I want to try to set this system up and monitor the changing/discharging of the battery over a period of time. I have a couple of 12V6AH Sealed Lead Acid Batteries, that I removed from an old UPS, which I can connect to the Solar Charge Controller. I plan to introduce a 12v and maybe later a 24V circuit into the workshop for low voltage system, such as the Retro Computer Project.