TRS-80
Posted: Tue Jun 13, 2023 12:09 pm
Hi
I another post I started to document my TRS-80.
The Tandy Radio Shack 80 was based on the Zilog Z-80 processor and introduced to the world in 1977 when I was in my early teens. For most the only information on this new exciting field of "small business / home computing", which being honest was financially still out of the reach of most, was contained in magazines either dedicated to this new technology or in the electronic magazines of the day. I still drool at pictures of the Commodore PET (personal electronic transactor) which I suspect was inspiration for Dr. Who's dog, K9.
At the time, broadly speaking you had the choice of the PET or an Apple, with the latter costing way, way more for no obvious to me reason. Tandy (Radio Shack) employed an engineer to design a machine to compete in this new market. This cost the company approx $150,000 to develop and the TRS-80 came to life with a price tag of around $599 (with monitor and cassette storage), which was less than the PET (not yet shipping) and around half the price of the Apple. Top management, although obviously signing off on the project in the first place, felt that the market would be for 3500 units (coincidentally one for each store) and gave the order to proceed with the notion that if it failed to sell at least they could be used for stock taking.
Tandy announced it's creation at a press conference and the TRS-80 made an appearance at a fair a couple of days later, shortly after which Tandy had orders for over 15,000 units with a waiting list of around a quarter of a million, paying deposits. Astounding.... Within a few years Tandy could claim the TRS-80 to be the best selling computer in the market and for themselves to be the biggest manufacturer of computers (outselling Apple five to one).
The story of theTRS-80 really is an interesting read, especially the problems they had to overcome as few took them seriously. The colour scheme of the units, black and grey, were solely to match the existing colour scheme of the only company willing to supply them with monitors. Incidentally there is no lower case as that would have cost an additional dollar or so in manufacturing costs.... I would encourage anyone with any interest to search for this amazing little machine that did change the face of computing.
Now any of the "Holy Trinity" of machines as the TRS-80, PET and Apple were called at that time was way, way out of my reach. I did obtain a Science of Cambridge Mk14 as a Christmas present that year which was based on the SC/MP processor and I loved it. I had to construct it myself but rather than just assemble it asap I figured out what was doing what first, so I knew I was soldering in sockets for the RAM etc. I guess I was the school-kid equivalent of Steve Jobs as I put my Mk14 into a wooden case, but only found out Job's did that too years later...... Maybe if I'd been at Uni in 77 things may have turned out differently for me.......
In November 1980 I entered the new and exciting shop of Tandy in Glasgow and bought a TRS-80 16K Level II machine complete with green screen monitor (16 x lines of 64 x characters) and cassette deck. The 16K referred to the amount of Memory and Level II was their latest BASIC. This machine was a big deal, make no mistake about that. It was being used globally by businesses and hobbyists (not sure if geek had yet been applied to anyone that knew what a computer was). I think it cost me around £500 or so, which could have bought you a decent second hand car at the time. I bought a couple of games at the same time, one a text based adventure in which you explore a Pyramid, and another that saw you commanding a starship. The display for that game was cool despite the limitations.
Programs were loaded / saved to/from a cassette deck, and getting the volume correct was sometimes a pain. Although in saying that once you found the correct volume level on the TRS-80 it generally worked fine thereafter.
For the next few months I was never away from it, learning not just the BASIC language to make it do things but the schematics too. I harboured ideas to connect it to the real world and did manage to interface it BASICALLY (pun intended). Every trip to Tandy included looking at whatever new titles they were stocking in their Manuals section and I acquired many including "The Technical Reference Manual".
Tandy in hindsight did make a mistake by not selling any 3rd party software in their stores, only official "Tandy" software which may not have been as good as they hoped (Mr. Gates I'm looking at you......). However before being overly critical you do need to remember that the whole industry was in its infancy and if you bought a computer you really were expected to write your own program(s).
As an aside, the early 80's also saw an explosion of Video Rental stores and one local to me bought a computer running some form of DOS with two 5.25" floppies (before IBM and their "PC"). They also got a database program to track members, titles, hires etc. This was clunky to say the least requiring swapping of floppies per transaction.... Things slowed further as membership grew. I was asked if I could help by "fixing" the code or writing a better program. I was offered "free" membership in return...... You can probably guess the rest.
Over the next few years computers rapidly advanced. Even IBM got in the game...... My TRS-80 started to get lonely as it was being used less and less. I'd bought other more capable machines and it was slowly getting pushed off my desk. I'm guessing, but thinking on it I probably last used it for any purpose mid 80's and the last time I switched it on the display didn't show anything so it was consigned to the loft, where it has lived for almost forty years. I have to say though that the BASIC principles (again pun intended) learned on that machine stood me in good stead for many years.
A few weeks ago I decided to fetch it out. I found the computer in it's original box with PSU and cassette leads, the monitor (video plug damaged) but couldn't find the cassette deck nor any software. They may still be in the loft but I'm not too hopeful. Many memories returned...... Taking it to the evil lab I gave it all a clean. The actual computer is a one piece affair with the electronics mounted underneath a mechanical keyboard. I had no issue at all with the keyboard but being open keys I did hear of issue with dust / liquids.
The TRS-80 16K Level II computer
After cleaning it up I checked the PSU which was still within limits. Really glad of that as the PSU is in a folded metal case held closed by rivets. I then opened up the computer to have a look inside. I have to say I'm still impressed with it's solid construction. The decoupling capacitors seem to have a white coating due to ageing but other than that they checked fine with my LCR tester. The 10,000uF capacitor hadn't faired as well with bulging clearly visible.
TRS-80 PCB
Failed capacitor
10,000uF capacitors are quite expensive, surprisingly so, therefore I swapped it out for 2 x 4,700uF in parallel which would be near enough to see if it actually still worked. Connecting the PSU (all plugs are 5-pin DIN) to the correct socket I checked voltages. I am amazed that they were all still within limits albeit some only just. A tweak of a pot brought them to what they should be. The excitement of seeing my machine potentially come back to life is not to be underestimated.
Case refitted which took a bit longer than expected as the case screws are of differing lengths..... yeah, yeah, you've all done the same....
With nothing connected to it I powered up the monitor. This still has the original 2-pin mains plug as seen on any electric shaver, having never gotten around to replacing it with a 3-pin fused one. The display slowly warmed up and gave a relatively bright green screen. This wasn't good as having no input it shouldn't be displaying anything (think running a "whiteout routine", and if you remember them you are showing your age). The 5-pin DIN was broken, looking like it had been stepped on so the monitor was side-lined until new plugs were obtained.
As I'd bought my machine complete with monitor I had no composite to UHF converter, but I do have the Technical Reference Manual so I could figure out what pins did what on the video socket.
The socket had Ground and Composite Out pins but unexpectedly it had a +5v Out too.... More on this later.
Using jumpers from the pins to a cannibalised Phono lead I had a composite video, I just needed something to plug into. I had a couple VHS recorders and DVD players in the loft so with the help of some SCART connectors I could in theory go from computer to VHS via composite to SCART adapter then out on UHF to a TV. No luck, but thankfully I couldn't get anything to display via the SCART so it didn't mean the TRS-80 was at fault. I ordered up a composite to HDMI converter from a well know online source. Quite by chance a day or so later I came across an old flatscreen Samsung TV that had composite inputs. With this back in the evil lab I connected up the TRS-80 and was very happy indeed to see the familiar question "MEM SIZE?" (remember no lower case) and after a tap on the "ENTER" key I was given the "READY" prompt. To say I was very happy at this is a gross understatement. My machine, forty three years old was still working (with only one duff capacitor failing due to ageing). I find that remarkable and a testament to engineering of the time. When the HDMI converter arrived it did work but not too well. It's fine with pretty much anything but the computer. With it connected the display flickers too much to be of use. I'm guessing the read/write cycle is the cause but not to worry.
With new Din plugs I went to work on the monitor. As mentioned nobody took Tandy seriously when they sourced parts but RCA agreed to supply them with a TV that had the tuner and sound stripped out. However as the chassis was floating it couldn't be connected to the TRS-80 ground. The solution was opto-coupling which is why the video socket on the computer has a +5v pin.
I'm no TV repair man but I know enough about tubes to pay attention to the Left Hand Rule. That is when working with them keep your left hand in your back pocket or risk death.....
Removing the monitor cover I was greeted by a Samsung tube and not an awful lot more.
Inside the monitor
Fiddling with any of the controls saw the display go from whiteout to blank etc so I though that connections may be dirty. A liberal scoosh of contact cleaner in every pot I could see and also on the tube adjustment rings happily restored the monitor to what appeared to be normal.
Do you want to adjust these tabs whilst live?
I did notice that my monitor has no opto-coupling. As it was for export it has a stepdown transformer to drop our 240v down, negating the need.
With it all back together I connected the computer and with some trepidation I first switched on the Monitor. A dark background with just a hint of green appeared (yes it was actually on...) I then switched on the TRS-80 PSU and pressed the On button.....
Back to life
I did have to make a few adjustments to the monitor to centre it correctly after cleaning the pots / rings but these were trivial and I'm very pleased that it too, after forty years, still works just needing a clean.
TRS-80 16K Level II
Of course no visit to 80s computing would be complete without the obligatory BASIC loop
As seen in every store window (change target to suit)
The TRS-80 has an expansion port at the rear, which is basically just part of the PCB and gives full access to the Address Bus, Data Bus and a host of other lines.
Expansion Port
You might be wondering what an article on an ancient computer is doing on a forum for microcontroller programming? Well,it is to do with the above expansion port... I'm not going to ask Matrix to port a version of FC to create my Level II programs, but if they want to I'll happily test...
I love my TRS-80 and I want it to be doing something. I'm not going to do payrolls or try and host a database as it is impractical, but it must surely still have a use?
The TRS-80 is memory mapped so there is potentially thousands of available ports that can be used, each 8-bit wide. In addition, Level II brought Port commands whereby you address up to 256 Ports negating the need to decode all address lines.
I'm looking for ideas as to what I can use my TRS-80 for. One idea is to connect it to a PIC (or whatever) running Flowcode using the expansion port. Say the PIC is constantly performing ADC on a specific pin. If I send a command from TRS-80 to PIC it will return the ADC value. Same for DAC.
I'm sure you get the idea. The PIC is the interface being commanded by the TRS-80 to do something. What is that something or some things?
Regards
I another post I started to document my TRS-80.
The Tandy Radio Shack 80 was based on the Zilog Z-80 processor and introduced to the world in 1977 when I was in my early teens. For most the only information on this new exciting field of "small business / home computing", which being honest was financially still out of the reach of most, was contained in magazines either dedicated to this new technology or in the electronic magazines of the day. I still drool at pictures of the Commodore PET (personal electronic transactor) which I suspect was inspiration for Dr. Who's dog, K9.
At the time, broadly speaking you had the choice of the PET or an Apple, with the latter costing way, way more for no obvious to me reason. Tandy (Radio Shack) employed an engineer to design a machine to compete in this new market. This cost the company approx $150,000 to develop and the TRS-80 came to life with a price tag of around $599 (with monitor and cassette storage), which was less than the PET (not yet shipping) and around half the price of the Apple. Top management, although obviously signing off on the project in the first place, felt that the market would be for 3500 units (coincidentally one for each store) and gave the order to proceed with the notion that if it failed to sell at least they could be used for stock taking.
Tandy announced it's creation at a press conference and the TRS-80 made an appearance at a fair a couple of days later, shortly after which Tandy had orders for over 15,000 units with a waiting list of around a quarter of a million, paying deposits. Astounding.... Within a few years Tandy could claim the TRS-80 to be the best selling computer in the market and for themselves to be the biggest manufacturer of computers (outselling Apple five to one).
The story of theTRS-80 really is an interesting read, especially the problems they had to overcome as few took them seriously. The colour scheme of the units, black and grey, were solely to match the existing colour scheme of the only company willing to supply them with monitors. Incidentally there is no lower case as that would have cost an additional dollar or so in manufacturing costs.... I would encourage anyone with any interest to search for this amazing little machine that did change the face of computing.
Now any of the "Holy Trinity" of machines as the TRS-80, PET and Apple were called at that time was way, way out of my reach. I did obtain a Science of Cambridge Mk14 as a Christmas present that year which was based on the SC/MP processor and I loved it. I had to construct it myself but rather than just assemble it asap I figured out what was doing what first, so I knew I was soldering in sockets for the RAM etc. I guess I was the school-kid equivalent of Steve Jobs as I put my Mk14 into a wooden case, but only found out Job's did that too years later...... Maybe if I'd been at Uni in 77 things may have turned out differently for me.......
In November 1980 I entered the new and exciting shop of Tandy in Glasgow and bought a TRS-80 16K Level II machine complete with green screen monitor (16 x lines of 64 x characters) and cassette deck. The 16K referred to the amount of Memory and Level II was their latest BASIC. This machine was a big deal, make no mistake about that. It was being used globally by businesses and hobbyists (not sure if geek had yet been applied to anyone that knew what a computer was). I think it cost me around £500 or so, which could have bought you a decent second hand car at the time. I bought a couple of games at the same time, one a text based adventure in which you explore a Pyramid, and another that saw you commanding a starship. The display for that game was cool despite the limitations.
Programs were loaded / saved to/from a cassette deck, and getting the volume correct was sometimes a pain. Although in saying that once you found the correct volume level on the TRS-80 it generally worked fine thereafter.
For the next few months I was never away from it, learning not just the BASIC language to make it do things but the schematics too. I harboured ideas to connect it to the real world and did manage to interface it BASICALLY (pun intended). Every trip to Tandy included looking at whatever new titles they were stocking in their Manuals section and I acquired many including "The Technical Reference Manual".
Tandy in hindsight did make a mistake by not selling any 3rd party software in their stores, only official "Tandy" software which may not have been as good as they hoped (Mr. Gates I'm looking at you......). However before being overly critical you do need to remember that the whole industry was in its infancy and if you bought a computer you really were expected to write your own program(s).
As an aside, the early 80's also saw an explosion of Video Rental stores and one local to me bought a computer running some form of DOS with two 5.25" floppies (before IBM and their "PC"). They also got a database program to track members, titles, hires etc. This was clunky to say the least requiring swapping of floppies per transaction.... Things slowed further as membership grew. I was asked if I could help by "fixing" the code or writing a better program. I was offered "free" membership in return...... You can probably guess the rest.
Over the next few years computers rapidly advanced. Even IBM got in the game...... My TRS-80 started to get lonely as it was being used less and less. I'd bought other more capable machines and it was slowly getting pushed off my desk. I'm guessing, but thinking on it I probably last used it for any purpose mid 80's and the last time I switched it on the display didn't show anything so it was consigned to the loft, where it has lived for almost forty years. I have to say though that the BASIC principles (again pun intended) learned on that machine stood me in good stead for many years.
A few weeks ago I decided to fetch it out. I found the computer in it's original box with PSU and cassette leads, the monitor (video plug damaged) but couldn't find the cassette deck nor any software. They may still be in the loft but I'm not too hopeful. Many memories returned...... Taking it to the evil lab I gave it all a clean. The actual computer is a one piece affair with the electronics mounted underneath a mechanical keyboard. I had no issue at all with the keyboard but being open keys I did hear of issue with dust / liquids.
The TRS-80 16K Level II computer
After cleaning it up I checked the PSU which was still within limits. Really glad of that as the PSU is in a folded metal case held closed by rivets. I then opened up the computer to have a look inside. I have to say I'm still impressed with it's solid construction. The decoupling capacitors seem to have a white coating due to ageing but other than that they checked fine with my LCR tester. The 10,000uF capacitor hadn't faired as well with bulging clearly visible.
TRS-80 PCB
Failed capacitor
10,000uF capacitors are quite expensive, surprisingly so, therefore I swapped it out for 2 x 4,700uF in parallel which would be near enough to see if it actually still worked. Connecting the PSU (all plugs are 5-pin DIN) to the correct socket I checked voltages. I am amazed that they were all still within limits albeit some only just. A tweak of a pot brought them to what they should be. The excitement of seeing my machine potentially come back to life is not to be underestimated.
Case refitted which took a bit longer than expected as the case screws are of differing lengths..... yeah, yeah, you've all done the same....
With nothing connected to it I powered up the monitor. This still has the original 2-pin mains plug as seen on any electric shaver, having never gotten around to replacing it with a 3-pin fused one. The display slowly warmed up and gave a relatively bright green screen. This wasn't good as having no input it shouldn't be displaying anything (think running a "whiteout routine", and if you remember them you are showing your age). The 5-pin DIN was broken, looking like it had been stepped on so the monitor was side-lined until new plugs were obtained.
As I'd bought my machine complete with monitor I had no composite to UHF converter, but I do have the Technical Reference Manual so I could figure out what pins did what on the video socket.
The socket had Ground and Composite Out pins but unexpectedly it had a +5v Out too.... More on this later.
Using jumpers from the pins to a cannibalised Phono lead I had a composite video, I just needed something to plug into. I had a couple VHS recorders and DVD players in the loft so with the help of some SCART connectors I could in theory go from computer to VHS via composite to SCART adapter then out on UHF to a TV. No luck, but thankfully I couldn't get anything to display via the SCART so it didn't mean the TRS-80 was at fault. I ordered up a composite to HDMI converter from a well know online source. Quite by chance a day or so later I came across an old flatscreen Samsung TV that had composite inputs. With this back in the evil lab I connected up the TRS-80 and was very happy indeed to see the familiar question "MEM SIZE?" (remember no lower case) and after a tap on the "ENTER" key I was given the "READY" prompt. To say I was very happy at this is a gross understatement. My machine, forty three years old was still working (with only one duff capacitor failing due to ageing). I find that remarkable and a testament to engineering of the time. When the HDMI converter arrived it did work but not too well. It's fine with pretty much anything but the computer. With it connected the display flickers too much to be of use. I'm guessing the read/write cycle is the cause but not to worry.
With new Din plugs I went to work on the monitor. As mentioned nobody took Tandy seriously when they sourced parts but RCA agreed to supply them with a TV that had the tuner and sound stripped out. However as the chassis was floating it couldn't be connected to the TRS-80 ground. The solution was opto-coupling which is why the video socket on the computer has a +5v pin.
I'm no TV repair man but I know enough about tubes to pay attention to the Left Hand Rule. That is when working with them keep your left hand in your back pocket or risk death.....
Removing the monitor cover I was greeted by a Samsung tube and not an awful lot more.
Inside the monitor
Fiddling with any of the controls saw the display go from whiteout to blank etc so I though that connections may be dirty. A liberal scoosh of contact cleaner in every pot I could see and also on the tube adjustment rings happily restored the monitor to what appeared to be normal.
Do you want to adjust these tabs whilst live?
I did notice that my monitor has no opto-coupling. As it was for export it has a stepdown transformer to drop our 240v down, negating the need.
With it all back together I connected the computer and with some trepidation I first switched on the Monitor. A dark background with just a hint of green appeared (yes it was actually on...) I then switched on the TRS-80 PSU and pressed the On button.....
Back to life
I did have to make a few adjustments to the monitor to centre it correctly after cleaning the pots / rings but these were trivial and I'm very pleased that it too, after forty years, still works just needing a clean.
TRS-80 16K Level II
Of course no visit to 80s computing would be complete without the obligatory BASIC loop
As seen in every store window (change target to suit)
The TRS-80 has an expansion port at the rear, which is basically just part of the PCB and gives full access to the Address Bus, Data Bus and a host of other lines.
Expansion Port
You might be wondering what an article on an ancient computer is doing on a forum for microcontroller programming? Well,it is to do with the above expansion port... I'm not going to ask Matrix to port a version of FC to create my Level II programs, but if they want to I'll happily test...
I love my TRS-80 and I want it to be doing something. I'm not going to do payrolls or try and host a database as it is impractical, but it must surely still have a use?
The TRS-80 is memory mapped so there is potentially thousands of available ports that can be used, each 8-bit wide. In addition, Level II brought Port commands whereby you address up to 256 Ports negating the need to decode all address lines.
I'm looking for ideas as to what I can use my TRS-80 for. One idea is to connect it to a PIC (or whatever) running Flowcode using the expansion port. Say the PIC is constantly performing ADC on a specific pin. If I send a command from TRS-80 to PIC it will return the ADC value. Same for DAC.
I'm sure you get the idea. The PIC is the interface being commanded by the TRS-80 to do something. What is that something or some things?
Regards