Home Creators Posts Import Register Favorites Logout

Downloads

Content

Hello my patrons! This video is a deep dive on the updated TRS-80 diagnostic ROM that I show off and use on the main channel video where I fix the broken TRS-80 model III motherboard. (I just put a post on Patreon to that video as well.) 

When I made that repair video, we were still developing the ROM. The version I used was a very "rough and ready" early version. David, who is the main programmer of this ROM, is a perfectionist, so he wanted to keep improving the ROM and adding in new features.

This video is a deep dive and discussion of the ROM and even though I made this video last week, between now the then, there have been substantial changes and improvements to the ROM!

I still think this video will be useful, but we outline the current state and lots of detail about the ROM in the README file on the Github repo:

https://github.com/misterblack1/trs80-diagnosticrom

The main changes in the current release versus what I'm showing in this video are mainly informative changes -- mainly it can now beep out the error bits and now displays them in a more friendly manner on screen. It also can auto detect the bank size (4k or 16k) and also detect and handle 7-bit VRAM on a stock Model 1. 

Anyway, the ROM is open source, so please fork it, port it to other Z80 machines! We put a lot of work into making sure the RAM test is really good as we're using multiple march passes. The Model 2 version of the ROM will be next -- that machine uses bank switching so David is currently updating the code to be able to relocate to different parts of memory so we can completely test all the RAM in the system. 

Direct link: https://youtu.be/4fuuyLiSgsE

Files

Let's talk: Our brand new TRS-80 Diagnostic ROM

TRS-80 Model III repair series: Part 1: https://youtu.be/EGFKjjlvKf4 Part 2: https://youtu.be/Hh8dRgtu1Jk Diagnostic ROM deep dive: This video! -- Video Links Adrian's Digital Basement Merch store: https://my-store-c82bd2-2.creator-spring.com/ Support the channel on Patreon: https://www.patreon.com/adriansdigitalbasement Adrian's Digital Basement (Main Channel) https://www.youtube.com/channel/UCE5dIscvDxrb7CD5uiJJOiw -- Tools Deoxit D5: https://amzn.to/2VvOKy1 http://store.caig.com/s.nl/it.A/id.1602/.f O-Ring Pick Set: (I use these to lift chips off boards) https://amzn.to/3a9x54J Elenco Electronics LP-560 Logic Probe: https://amzn.to/2VrT5lW Hakko FR301 Desoldering Iron: https://amzn.to/2ye6xC0 Rigol DS1054Z Four Channel Oscilloscope: https://www.rigolna.com/products/digital-oscilloscopes/1000z/ Head Worn Magnifying Goggles / Dual Lens Flip-In Head Magnifier: https://amzn.to/3adRbuy TL866II Plus Chip Tester and EPROM programmer: (The MiniPro) https://amzn.to/2wG4tlP https://www.aliexpress.com/item/33000308958.html TS100 Soldering Iron: https://amzn.to/2K36dJ5 https://www.ebay.com/itm/TS100-65W-MINI-Digital-OLED-Programmable-Soldering-Iron-Anti-static-Structure/113382669853 EEVBlog 121GW Multimeter: https://www.eevblog.com/product/121gw/ DSLogic Basic Logic Analyzer: https://amzn.to/2RDSDQw https://www.ebay.com/itm/USB-Logic-DSLogic-Basic-Analyzer-16Ch-100MHz-4Ch-400MHz-Xilinx-Spartan-6-FPGA/202543965672 Magnetic Screw Holder: https://amzn.to/3b8LOhG https://www.harborfreight.com/4-inch-magnetic-parts-tray-90566.html Universal ZIP sockets: (clones, used on my ZIF-64 test machine) https://www.ebay.com/itm/14-16-18-20-24-28-32-40-pin-IC-Test-Universal-ZIF-Socket-Fs/303206721971 RetroTink 2X Upconverter: (to hook up something like a C64 to HDMI) http://www.retrotink.com/ Plato (Clone) Side Cutters: (order five) https://www.ebay.com/itm/1-2-5-10PCS-Micro-Scissor-125mm-PLATO-170-Electronics-Cutter-Side-Cutting-Pliers/163458746184 Heat Sinks: https://www.aliexpress.com/item/32537183709.html Little squeezy bottles: (available elsewhere too) https://amzn.to/3b8LOOI --- Links My GitHub repository: https://github.com/misterblack1?tab=repositories Commodore Computer Club / Vancouver, WA – Portland, OR – PDX Commodore Users Group https://www.commodorecomputerclub.com/ --- Instructional videos My video on damage-free chip removal: https://www.youtube.com/watch?v=XQVjwPsVFd8 --- Music Intro music and other tracks by: Nathan Divino @itsnathandivino

Comments

ack

Nice video/diag rom. I also have a z80 based diag rom but for the sound CPU of the double dragon 2 arcade board. https://github.com/jwestfall69/ddragon2-sound-diag/ It might give you some ideas on how you can test when you have no video (and no sound). It has what I called pseudo subroutines (PSUB) which are similar to your iyret but allows for an additional level of nesting. Additionally I have it communicating error codes through the use of error addresses, which are specific addresses on the diag rom jumps to and loops. The user has to use a logic probe to see what address the cpu is at to identify if there was a detected fault or if all tests passed. Also dont forget the z80 has alternate registers that you can access via ex and exx opcodes.

David Giller

That's really interesting. Would you mind getting in contact with me at dgiller@me.com? Cheers!

Jon (0ryn) Westgate

Hey Adrian, Hi from a new Patreon BTW, I noticed that when you installed the bad video ran did you notice that the characters shown were not the same as the normal ones in your test, They were like Asian characters. Is this because you are in 32 characters per line mode? Did you also think about using the jumper on that socket adaptor to switch between 12 and 24k modes? Also wouldn't it be cool to use the character based graphics to draw a picture of the dram chips indicating the failure visually.

Adrian's Digital Basement

The character generator has those Kanji characters in it -- so the bad VRAM was just calling the wrong characters to display because of stuck bits. As for the modes, the latest version of the ROM has improved considerably even from this video and now one version handles all types of Model 1/3 machines. Take a look at the repo, there is a lot more info there.

Chris - Just Chris

Is there a PCBWay or OSH Park link to that 27c series to 28c series EEPROM/PROM adapter board?