Simple USB Serial to H8-5 Cassette Interface

227 views
Skip to first unread message

Joe Travis N6YPC

unread,
Feb 14, 2022, 9:01:12 PM2/14/22
to SEBHC
I had a spare FTDI board looking for a project when I came up with this idea to interface it to the 8251 used for the cassette port on the H8-5 board and it works great!  Now I can download H8T files directly from my laptop to the H8.  If anyone else would like to duplicate this, follow the directions given below.

DIRECTIONS:
1.  Use clear RTV silicone to attach the FTDI board to the 8251 (IC 123)
2.  Bend out the following pins on the 8251: 3, 17, 19, 22, 23, 25
3.  Connect a wire between TxC (9) and RxC (25) on the 8251
4.  Insert a 6 pin header into the FTDI board
5.  Make the following connections between the FTDI board header and 8251:
FTDI        8251
GND        GND (4)
CTS        RTS (23)
Vcc        N/C
TXO        RxD (3)
RXI        TxD (19)
DTR        CTS (17), DSR(22)

Regards,
Joe Travis





20220214_200449.jpg
20220214_201740.jpg

Glenn Roberts

unread,
Feb 14, 2022, 9:29:04 PM2/14/22
to se...@googlegroups.com
Very cool. Was this a SparkFun breakout board? What FTDI board are you using? How fast can you run it?

Sent from my iPad

On Feb 14, 2022, at 9:01 PM, Joe Travis N6YPC <jtravi...@gmail.com> wrote:

I had a spare FTDI board looking for a project when I came up with this idea to interface it to the 8251 used for the cassette port on the H8-5 board and it works great!  Now I can download H8T files directly from my laptop to the H8.  If anyone else would like to duplicate this, follow the directions given below.
--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/3acbea7c-621d-42da-a823-cb575088dcb2n%40googlegroups.com.

Joseph Travis

unread,
Feb 14, 2022, 9:40:55 PM2/14/22
to se...@googlegroups.com
Hi Glenn,

Yes, it is a SparkFun board.  I purchased a few of these a year or so ago, somewhere in the $5-7 range for each. I had used this one 
for programming some GoTek floppy drive emulators (still trying to get working images for my H89 and H100).  I just left everything
set at 1200 baud for simplicity's sake.  I imagine it could go much faster but, I'm content with it for the moment.

Regards,
Joe Travis


norberto.collado koyado.com

unread,
Feb 14, 2022, 10:03:52 PM2/14/22
to se...@googlegroups.com
Very nice and thank you for sharing your configuration on the RS-232 interface. I'm building a new H8-5 Cassette Controller to do the same based on the H89-5 schematics. I duplicated the H89-5 board a 100% using same names for all the components (U7xx, R7xx, etc). New enhancements will have different labels such as U1, R1, etc. The maximum baud rate that I wired for the H8T files transfer is 19.2K bps. Minimum 1.2K bps (cassette default). 

Here is the link to the new H8-5 board:  http://koyado.com/heathkit/New-H8-Website/h8-5-cassette-io.html


I will add the following change to the RS-232 interface based on your configuration as I have spare input pin. Great timing. 
DTR        CTS (17), DSR(22)
Thanks,
Norberto


H8-5 Cassette IO



From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Glenn Roberts <glenn.f...@gmail.com>
Sent: Monday, February 14, 2022 6:28 PM
To: se...@googlegroups.com <se...@googlegroups.com>
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface
 

Joseph Travis

unread,
Feb 15, 2022, 2:56:19 AM2/15/22
to se...@googlegroups.com
Norberto,

It's almost 3am and I can't sleep while wondering about this...

I noticed your H8-5 only has one 8251.  This works in H89 because the ROM monitor uses an 8250 at 350Q for the console device whereas the H8 ROM monitor uses another 8251 at 270Q for it's console.

How will this board work in a H8 without a change to the ROM?

Regards,
Joe Travis n6ypc


Glenn Roberts

unread,
Feb 15, 2022, 5:16:29 AM2/15/22
to se...@googlegroups.com
It’s a good point. Most of the software that we have in H8T format requires an 8251 (H8-5) for the console. Certainly all of the early tape OS versions and HUG software. If the new board does not have dual 8251s most of that legacy software could not be run without creating new versions. The console code at the beginning of each program was standardized (and the precursor to HDOS’ device drivers). It could be possible to develop an 8250 version (has this already been done at some point?) but undoubtedly some code bypassed these drivers.

If one of the use cases for the new board is demonstrating legacy software we will have to address this.

Sent from my iPad

On Feb 15, 2022, at 2:56 AM, Joseph Travis <jtravi...@gmail.com> wrote:



glenn.f...@gmail.com

unread,
Feb 15, 2022, 7:42:46 AM2/15/22
to se...@googlegroups.com

So I probably need to be “educated” but the H88 was sold with cassette only interface, right?  And apparently Heath had a version of the Tape OS (“Cassette Systems Software”) that worked with it…  From catalog 846, P33 (1979):

 

 

Do we have such a version?  Presumably this version knew how to talk to the H88 console (which used an 8250 UART like the H89, right?)

 

The only tape OS I know that we’ve got is for the earlier H8-5.

image001.png

glenn.f...@gmail.com

unread,
Feb 15, 2022, 7:55:03 AM2/15/22
to se...@googlegroups.com

Joe: Sorry I didn’t see the pictures you had attached when I first read the note. 

 

Your directions talk about modifying the cassette USART (IC123) but the picture shows the sparkfun breakout board on top of the console USART (IC124).  So you re-purposed the console USART with the sparkfun FTDI board.  I see the switch is set to “PORT INTCHG” - does that mean you toggle the port interchange switch to do downloads (reverting back to “normal” to run the program)?

 

Just trying to reconcile the picture with your description…

 

  • Glenn

 

 

 

 

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Joseph Travis
Sent: Monday, February 14, 2022 9:41 PM
To: se...@googlegroups.com
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface

 

Hi Glenn,

image001.jpg
image002.jpg

Joseph Travis

unread,
Feb 15, 2022, 9:18:41 AM2/15/22
to se...@googlegroups.com
Hi Glenn,

I wondered if anyone would notice! While troubleshooting and testing, I was switching it around. Right after successfully downloading the CHASELED program, I took photos.  I realized this after I posted the original message.

It works in either socket with the correct switch setting. I had thought about having both channels setup this way but decided to keep the RS-232 interface for the console.

BTW - Why were you up at 5am?!

Regards,
Joe Travis n6ypc


Norby

unread,
Feb 15, 2022, 11:40:39 AM2/15/22
to se...@googlegroups.com
My take is that if the tape works fine on the H89 at port 350 with the 8250, then same configuration will work on the H8. This board will not work on an H8 without the H8-4 quad serial port board. For sure users application hardwired to the 8251 console will not work. Let me know if I’m missing something here.

Sent from my iPhone

On Feb 15, 2022, at 4:55 AM, glenn.f...@gmail.com wrote:



Joseph Travis

unread,
Feb 15, 2022, 11:52:32 AM2/15/22
to se...@googlegroups.com
Norberto,

Just because the H8-4 is installed doesn't mean the H8 monitor ROM is going to recognize it and change the console device from the 8251 to the 8250.  I don't believe this board will work as intended without the appropriate firmware / software modifications.

Regards,
Joe Travis n6ypc


Joseph Travis

unread,
Feb 15, 2022, 11:55:59 AM2/15/22
to se...@googlegroups.com
I apologize if I'm wrong about this.  The console routines could be in the tape image files and do the detection and configuration there.  I guess this should be investigated.  I'll see what I can find out...

Regards,
Joe Travis n6ypc


Norberto Collado

unread,
Feb 15, 2022, 12:08:43 PM2/15/22
to se...@googlegroups.com

The only difference is that the H89 initializes the 8250 on power-up and the H8 does not do this (need to press on space bar), unless you are running on the new Z80 Monitors.

 

If you can test the H8 with the 8250 as a console, that will be great. I will review the H89 documentation again. I do not recall seen cassette tapes only for the H89 and only for the H8.

 

Norberto

Joseph Travis

unread,
Feb 15, 2022, 12:59:01 PM2/15/22
to se...@googlegroups.com
Norberto,

I downloaded EXBASIC.H8T using the H8-5 as the console, just to make sure it worked correctly with the original setup.  I then powered down the H8, removed the H8-5 board and removed the 8251 at IC124 (which is the console channel) to simulate your intended setup.  I reinstalled the H8-5, powered up the H8 and downloaded EXBASIC.H8T again, using my H19 connected to the H8-4, port 350Q.  The program didn't display or respond to the H19.

Regards,
Joe Travis n6ypc




Glenn Roberts

unread,
Feb 15, 2022, 1:05:22 PM2/15/22
to se...@googlegroups.com
Right. The first chunk of each of the Heath programs is the console driver. It is the same for all of them. It could be modified to use the 8250. In fact it seems to me that Heath did this at some point to support cassette operations on the H88. I’ll have to dig a bit to see what I can find. I’m guessing tape operation was not nearly as widespread on the H88/89 as it was on the early H8 ?

Sent from my iPad

Norberto Collado

unread,
Feb 15, 2022, 1:12:47 PM2/15/22
to se...@googlegroups.com

Did you try pressing the space bar to init USART? I’m confused in terms that if the same tape works on the H89, it should work on same configuration with the H8. I think we need to init the H8 console as the H89 does to make this work.

 

Are you using a 8080A CPU card?

Joseph Travis

unread,
Feb 15, 2022, 2:54:14 PM2/15/22
to se...@googlegroups.com
Yes, I tried the space bar and return several times each.  My H8 has a 8080 CPU board with a Z80.  It has the latest version PAM ROM for that board (not the PAM-37).

Regards,
Joe Travis n6ypc


Joseph Travis

unread,
Feb 15, 2022, 3:07:37 PM2/15/22
to se...@googlegroups.com
Here's a photo of the FTDI mod installed in the correct (IC123) location, with the USB cable connected.

20220215_111138.jpg

glenn.f...@gmail.com

unread,
Feb 15, 2022, 3:32:11 PM2/15/22
to se...@googlegroups.com

The console driver, at  least  in the early versions of the Tape OS, was exclusively for the 8251 USART at port 372Q/373Q.  see attached listing.

 

Norberto: if you have a later version of the Tape OS that works on the H88/H89 we may need to get you to create .H8T files of all the components. Presumably Heath updated the console driver portion at some point to work with either 8251 or 8250? (or there was a H88/89-specific version?).

 

I believe the console portion of the ones on SEBHC dates to late 1976 (written by Gordon Letwin!)  The H89 and H8-4 hadn’t been invented yet…

 

https://sebhc.github.io/sebhc/software.html#Cassette_Tape_Images

Tape Console Driver.pdf

norberto.collado koyado.com

unread,
Feb 15, 2022, 3:50:07 PM2/15/22
to se...@googlegroups.com
Thanks Joe, for the feedback! 

I will keep checking on this concern. I took a quick look at MTR88 as it supports the cassette and they just list the following ports for the cassette. On ports 372Q/373Q, the MTR88, just traps them and do nothing with them. 

 

.
I think you are loading a pre-configured tape already configured to the 8251A. Per Heath, the original/distribution tapes are not configured, so this might explain why it should work on port 350 for the 8250, but I'm not sure.



Norberto

Sent: Tuesday, February 15, 2022 11:53 AM

Joseph Travis

unread,
Feb 15, 2022, 3:51:57 PM2/15/22
to se...@googlegroups.com
Or would it be easier to add a second 8251 to the board to avoid the hassle of creating duplicates of the H8T files, thereby eliminating the confusion of maintaining 2 versions of the same files in the library...

norberto.collado koyado.com

unread,
Feb 15, 2022, 4:02:17 PM2/15/22
to se...@googlegroups.com
Thanks Glenn, for the feedback!  So, the H8T files that we have are hardwired to the 8251A. I will need to check what tapes. Do they have a date on them?

Norberto

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of glenn.f...@gmail.com <glenn.f...@gmail.com>
Sent: Tuesday, February 15, 2022 12:32 PM
To: se...@googlegroups.com <se...@googlegroups.com>
Subject: RE: [sebhc] Simple USB Serial to H8-5 Cassette Interface
 

glenn.f...@gmail.com

unread,
Feb 15, 2022, 4:20:00 PM2/15/22
to se...@googlegroups.com

I believe that’s the case, at least if they agree with the printed listing.  I can load DBUG and examine the code, but based on what Joe’s seeing I think these work only with the H8-5/8251.  I’m not sure of the provenance of the H8T files. I believe they were sent to Les by Carroll Wadell at some point in the past. I don’t have access to the physical tape media.  Somewhere in my boxes of stuff I do believe I have some Heath system tapes but I haven’t turned them up yet. I’ll keep looking…

glenn.f...@gmail.com

unread,
Feb 15, 2022, 4:27:24 PM2/15/22
to se...@googlegroups.com

I believe the only configuration options on the versions we currently have are AUTO NEWLINE, BKSP, CONSOLE LENGTH, HIGH MEMORY, LOWER CASE, PAD COUNT, and RUBOUT.

 

See https://sebhc.github.io/sebhc/documentation/software/tape/Software%20Reference%20Manual%20595-2048%20Section%200%20-%20Introduction.pdf

 

Page 19..

 

Assuming that Heath later added some kind of console detection logic to the Tape OS it perhaps worked something like the logic in HDOS?  Not sure quite what HDOS does if a system has both the H8-4 and H8-5?  Perhaps it uses the H8-4 (port 350) if it sees one, and then looks for the H8-5 (port 372) if no H8-4 is found?  This can be easily figured out if we just look at the code of course 😊

image001.png
image002.png
image003.png

Joseph Travis

unread,
Feb 15, 2022, 5:03:02 PM2/15/22
to se...@googlegroups.com
HDOS 2.0 doesn't look at the H8-5 board.  When it boots up and displays SPACE on the front panel, I tried typing spaces to the H8-5 console port and nothing happens.  I then typed spaces on the H8-4 console port and it responded with ACTION?  <BOOT>.

Regards,
Joe Travis n6ypc


glenn.f...@gmail.com

unread,
Feb 15, 2022, 5:22:24 PM2/15/22
to se...@googlegroups.com

Tx. So I think you’ve proven my hypothesis. If it sees the H8-4 it apparently doesn’t bother looking for the 5. That makes sense. The H8-4 was newer and deemed somewhat “superior” so I presume they made that the priority for a console, when given a choice.  HDOS2 will, of course, run on an H8-5 system, you just have to remove or disable (or change the port on) the H8-4 (and probably start with a clean copy of HDOS) and it will find the H8-5 console port. You could also run with both cards and convert your old cassette programs over to HDOS.



--

--

You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.

image001.png
image002.png
image003.png

Joseph Travis

unread,
Feb 15, 2022, 6:13:56 PM2/15/22
to se...@googlegroups.com
I tested again with the H8-4 console port (350Q) address jumpers set to OFF and booted HDOS 2.0.  This time there was no SPACE message displayed on the H8 and the H8-5 console port displayed ACTION? <BOOT>.  My question now is, going forward, how does this affect the library of H8T files?

Regards,
Joe Traivs n6ypc

norberto.collado koyado.com

unread,
Feb 15, 2022, 8:34:36 PM2/15/22
to se...@googlegroups.com
This is what I found in trying to understand on why I need an 8251A console port on the H8 and not on the H89. Per this add the cassettes are compatible with either system.




Sent: Tuesday, February 15, 2022 3:13 PM

Joseph Travis

unread,
Feb 15, 2022, 8:43:19 PM2/15/22
to se...@googlegroups.com
So it appears there were different versions depending on which computer you are using. But, this is only for the programs described, not any others.


Joseph Travis

unread,
Feb 16, 2022, 6:06:53 AM2/16/22
to se...@googlegroups.com
Norberto,

I'm not sure that you saw this part of the ad which indicates there are two versions of the software. 

Regards,
Joe Travis n6ypc


image.png

Glenn Roberts

unread,
Feb 16, 2022, 6:32:26 AM2/16/22
to se...@googlegroups.com
Right.

So we just need to find a copy of the H-88-18 tape!

Sent from my iPad

Glenn Roberts

unread,
Feb 16, 2022, 8:25:21 AM2/16/22
to se...@googlegroups.com

Not sure I understand your question, Joe. But maybe this will answer it?

 

If you have a system that can run HDOS but still has the H8-5 tape interface installed and operational you can move your old tape-based files over to disk.  There are three programs that can help with this: BASCON, TXTCON and MEMCON.  BASCON and TXTCON will retrieve BASIC and text files (respectively) and prompt you for a file name in which to store them.  For BASIC programs you may need to do some editing to get them to work with the disk-based Extended BH BASIC. MEMCON does the same thing for “memory” images (i.e., machine language programs). You can run these memory image programs from the HDOS prompt via a program supplied but since they typically load and run at 040.100 they will wipe out your HDOS in RAM.

 

BASCON and TXTCON were distributed with early versions of HDOS (e.g., 1.5) but later made available via HUG (885-1077).  MEMCON is included with the “Tape Memory Image” HUG disk (885-1061).  Both are in Les’ HUG Application Library (https://sebhc.github.io/sebhc/software.html)

 

I also wrote a program called ATOH that converts .ABS files to .H8T. see Les’ Wiki (scroll down to Utilities)

https://github.com/sebhc/sebhc/wiki

 

I did this so that I could use the HDOS assembler to create programs that I could then load via tape (for VCF demo). 

 

It should be straightforward to build a program that goes the other way (HTOA), if there was interest/need/value… this would only work for memory/machine language programs.

image001.png
image002.png
image003.png

Joseph Travis

unread,
Feb 16, 2022, 8:56:30 AM2/16/22
to se...@googlegroups.com
Glenn,

I'm not sure what the question was.  It may be that I'm concerned about the inability to run H8 tape programs on a H8 using the new H8-5 board (I wish it was called something else to avoid confusion).  I believe the majority of the tape software was developed for the H8 with an original H8-5 which does not necessarily run on a H88 and therefore not on a H8 with the new H8-5.  In my view, this is (potentially) an unnecessary problem.

Granted, the Heath development software for the H88 will run but, what about all the old HUG software?  How many of those buying the new H8-5 will be developing tape based programs?

Regards,
Joe Travis n6ypc


Glenn Roberts

unread,
Feb 16, 2022, 9:22:29 AM2/16/22
to se...@googlegroups.com

I believe if we can find (or recreate) the version of the console drivers that supports the mixed environment (8051 for Tape; 8050 for console) all will work.  The new board Norberto is working on will make the H8 work like the old H88.  To me this means finding a copy of the H-88-18 tape (or H8T capture thereof) since that is the version of the Tape OS that supported this configuration.  If we can’t find it, it would not be too hard to create an 8250 version of the console driver. The code is pretty simple (previous email I sent) but preferable, of course, to find the Heath original.  We may have to reach out in the group to see if anyone has the H88 version of the Tape OS tape.

 

basic programs should all still run since they just call BASIC i/o statements, which in turn call the driver. Similarly all the Heath programs (BUG-8, TED-8, HASL-8, BH BASIC) should work   Also any machine language code that uses the front panel/PAM-8/LEDs would be unaffected. I don’t think many (any?) of the HUG programs would have a problem.

image001.png
image002.png
image003.png

Joseph Travis

unread,
Feb 16, 2022, 10:09:25 AM2/16/22
to se...@googlegroups.com
I've been testing a variety of tape programs this morning.  I found that EXBASIC - EXBASIC2 work with the H8-5 and EXBASIC3 - EXBASIC6 use the H8-4.  Just in case you (or someone else) is looking for code differences.

BTW - If you're running your CPU at 4MHz or faster, I expect you should be able to run both (cassette and console) ports at 19.2K.


Kenneth L. Owen tx836519

unread,
Feb 16, 2022, 11:00:49 AM2/16/22
to se...@googlegroups.com

Hi Joseph,

 

At 4 MHz clock, you can run the terminal at 19.200 baud, but only after you upgrade the terminal logic board clock to 3 MHz.

 

  • ken

 

Sent from Mail for Windows

image001.png
image002.png
image003.png

norberto...@koyado.com

unread,
Feb 16, 2022, 11:14:38 AM2/16/22
to se...@googlegroups.com

OK! I will add the second 8251A IC to this board, so you can load either tape; H8 or H88.

 

The RS232 connector for this 8251A will be at the bottom of the board as I do not want to re-layout the whole board by moving most of the components.

 

How we should call this new H8-5 Cassette IO controller?

 

This will be the minimum signals I will be wiring. See attached file and let me know if any issues.

 

image001.png
image002.png
image003.png
image004.png

Joseph Travis

unread,
Feb 16, 2022, 3:53:31 PM2/16/22
to se...@googlegroups.com
That's good news Norberto!  I believe this is the best solution and will alleviate any issues.  If there is room on the board, you may want to place holes for a 6 pin header to accommodate a sparkfun FTDI breakout board which would allow the builder the choice of a USB connection or RS-232.  Yah, I know what you're thinking... we used to call it "creeping elegance".

As far as what to call it... H8-5NC or H8-5.1 or H8-5SBXVI or whatever you think is best to avoid confusion with the original H8-5.

I verified the schematic against the original H8-5.  Initially, I was concerned over DSR left floating until I saw that was exactly what was done on the original.

Regards,
Joe Travis n6ypc


Norby

unread,
Feb 16, 2022, 4:10:25 PM2/16/22
to se...@googlegroups.com
Thanks Joe for the feedback. I will add a pull-up to the DSR signal. For the USB connection you can buy in Amazon the DB9 to USB cable which works great. The connection to the board will be the 10 pin to DB9 cable suggested by Glenn. It has two of them. One for the console and second one to transfer H8T files.

Once done with the schematics I will send them out for review.

I will think more on the H8 cassette naming. 

Sent from my iPhone

On Feb 16, 2022, at 12:53 PM, Joseph Travis <jtravi...@gmail.com> wrote:



Joseph Travis

unread,
Feb 16, 2022, 4:56:58 PM2/16/22
to se...@googlegroups.com
I don't think it is necessary to add the pullup. The original H8-5 DSR input was left floating just like you had it.  Thanks again. Great job!


norberto.collado koyado.com

unread,
Feb 16, 2022, 5:01:28 PM2/16/22
to se...@googlegroups.com
Thanks, and hopefully you can sleep better tonight! 🙂

Sent: Wednesday, February 16, 2022 1:56 PM

norberto...@koyado.com

unread,
Feb 17, 2022, 3:06:07 AM2/17/22
to se...@googlegroups.com

Schematics attached for review and board layout.

 

image001.png
image002.png
image003.png
image004.png
image005.png
H8-5.pdf

Glenn Roberts

unread,
Feb 17, 2022, 8:05:18 AM2/17/22
to se...@googlegroups.com

Nicely done. Thanks, as always, for all your hard work Norberto!

 

I still hope we can find a copy of the H88 version of the TapeOS!...  but at least with this mod (adding the second USART) we can run the original H8 version and the earliest Heath and HUG software…

image001.png
image002.png
image003.png
image004.png
image005.png

Joseph Travis

unread,
Feb 17, 2022, 9:07:48 AM2/17/22
to se...@googlegroups.com
Nice work!  Just two comments: 
(1) The date on the board is 10/31/2022 ?  
(2) The outputs of the 7805 regulators on the schematic, near JP19 and JP20 are labeled as +8V. Should be +5V or Vcc

Regards,
Joe Travis n6ypc


You received this message because you are subscribed to a topic in the Google Groups "SEBHC" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sebhc/1Sykr4u4aj4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/015601d823d5%243348e0d0%2499daa270%24%40koyado.com.

Norberto Collado

unread,
Feb 17, 2022, 11:49:38 AM2/17/22
to se...@googlegroups.com

Thanks Joe for the feedback! JP19 and JP20 are to bypass the 7805 regulators when using a +5V Power Supply instead of the +8V power source. The 7805 cannot regulate if input is +5V.

 

The date is my birthday date. 😊

Joseph Travis

unread,
Feb 17, 2022, 12:54:06 PM2/17/22
to se...@googlegroups.com
👍

The day before dia de los muertos?! 😁 That's great!  All the kids come over to celebrate!

Regards,
Joe Travis n6ypc




Joseph Travis

unread,
Feb 17, 2022, 3:47:20 PM2/17/22
to se...@googlegroups.com
Just to satisfy my (and others) curiosity, I moved the baud rate jumpers on my H8-5 such that my console baud rate is at 9600 (so I don't have to keep changing it to 1200) and the tape baud rate is 4800 (not enough holes for 9600).  It works great!  Now I'm tempted to try 9600 for the tape...

Regards,
Joe Travis n6ypc
  

Joseph Travis

unread,
Feb 17, 2022, 4:07:33 PM2/17/22
to se...@googlegroups.com
OK!  IT WORKS GREAT WITH CONSOLE AND TAPE BOTH AT 9600 BAUD!

Glenn Roberts

unread,
Feb 17, 2022, 4:13:14 PM2/17/22
to se...@googlegroups.com

So this is for H8T (digital) file transfers right?  is this with your sparkfun breakout setup? care to try for 19.2 😊?

 

Have you timed file transfers? What rates are you seeing?  Must be quite fast.

 

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Joseph Travis
Sent: Thursday, February 17, 2022 4:07 PM
To: se...@googlegroups.com
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface

 

OK!  IT WORKS GREAT WITH CONSOLE AND TAPE BOTH AT 9600 BAUD!

 

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of norberto.collado koyado.com

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Joseph Travis

.

I think you are loading a pre-configured tape already configured to the 8251A. Per Heath, the original/distribution tapes are not configured, so this might explain why it should work on port 350 for the 8250, but I'm not sure.

 

 

Norberto

Douglas Miller

unread,
Feb 17, 2022, 4:17:36 PM2/17/22
to se...@googlegroups.com

I would think the analog circuitry would probably not operate at 9600, with magnetic tape or digital-audio media. Of course, there would need to be a "standard" bitrate in order to distribute tapes that everyone could read.

Joseph Travis

unread,
Feb 17, 2022, 4:41:23 PM2/17/22
to se...@googlegroups.com
Glenn,

Yes, using the sparkfun board and H8T files.  EXBASIC2.H8T is about 11K in size and takes less than 12 seconds to download!  I'll pass on 19.2K for the time being as my H8 CPU clock is only 2 MHz.  I'll leave that up to you!


Glenn Roberts

unread,
Feb 17, 2022, 4:58:46 PM2/17/22
to se...@googlegroups.com

Great. that’s what you’d expect I guess. about 960 bytes/sec.  speed is probably competitive with the early 100K H17!

Glenn Roberts

unread,
Feb 17, 2022, 4:59:26 PM2/17/22
to se...@googlegroups.com

Yes. to be clear Joe is playing with the digital downloading (.H8T) files, not audio. 

Joseph Travis

unread,
Feb 17, 2022, 5:42:13 PM2/17/22
to se...@googlegroups.com
It seems to be much faster than the H17.  There's no OS overhead or delays for motor on, head load, seek, etc.  It's also noticebly quieter than the H17!


norberto.collado koyado.com

unread,
Feb 17, 2022, 5:50:45 PM2/17/22
to se...@googlegroups.com
Great! Now I need a backup application for HDOS and CP/M. I think Heath saw the cassette as a great backup device as it is well documented for that purpose. Also, it is very reliable, better than a floppy drive. 

Have someone calculated how much data can a 90-minute cassette hold?  For H8T format file transfers it doesn't matter. 

Norberto


Sent: Thursday, February 17, 2022 2:41 PM

Douglas Miller

unread,
Feb 17, 2022, 5:56:28 PM2/17/22
to se...@googlegroups.com

Was this backup facility using manual setup for each file? Or was there some "tar"-like (whole sets of files) application/protocol being used? I forget if the Heath Tape format includes any sort of "file name" field. I know it includes a load address (and run address?).

Glenn Roberts

unread,
Feb 17, 2022, 6:08:24 PM2/17/22
to se...@googlegroups.com

Individual files only.  Hence Norberto’s suggestion of a backup utility…

 

First step would be to see what was already done in this area (40 years ago!)

Douglas Miller

unread,
Feb 17, 2022, 6:10:53 PM2/17/22
to se...@googlegroups.com

So we'd need to extend the Heath Tape record format to include file info (name, possibly attributes, ...)

Douglas Miller

unread,
Feb 17, 2022, 6:41:05 PM2/17/22
to se...@googlegroups.com

Not counting record/file gaps (which are significant), you could get 648000 bytes at 1200 baud in 90 minutes. I would guess that adding in the overhead, you're probably down to about the capacity of a floppy disk. And, that much data is going to take 90 minutes to write or read.


I'm skeptical of it being more reliable. Yes, the 1200-baud audio-modulated recording is perhaps less susceptible to corruption, but you also can't retry reads or verify writes - at least not the way you can on a floppy. For nostalgia purposes, it would be interesting.


For a practical backup system, we might implore Glenn to add a VBACKUP/VRESTORE set of utilities to his VDIP suite. Although, I guess VPIP probably suffices (could add use of the CP/M "archive" bit to optimize it for backup purposes, like the original PIP did). Perhaps even a VTAR utility, although compression would probably not be practical (e.g. put a "tarball" file on a USB drive, and unpack it into files on CP/M directly).



On 2/17/22 4:50 PM, norberto.collado koyado.com wrote:

Glenn Roberts

unread,
Feb 17, 2022, 9:37:23 PM2/17/22
to se...@googlegroups.com

I think the value proposition for Norberto’s new board is:

 

1. rescue and restoration: the ability to read and digitize content of old tapes as we find them. with each passing year this gets harder.

2. reliability: with the newer design the board should provide more reliable I/o with a tape or audio device than the original H8-5 design.

3. minimalism: for someone who doesn’t want to put a lot of money/effort into their system but wants to be able to load/play games

4. demonstration: ability to give demos with a minimal set of equipment. Load and Save programs with just the front keypad.

5. nostalgia: revisit the “early days” and show/play some of the early games and software for the H8.

6. old & new: using the digital (RS232) I/O capability connect to a PC or other device (e.g., raspberry Pi) to load and save programs.

 

I probably wouldn’t list backup here only because there are so many better options.  I certainly don’t see tape as a reliable way to back up when we have access to much faster and more reliable approaches. VPIP and a memory stick, as Douglas mentions, for example.  But it would be an interesting development activity so worth more discussion.

 

I’m mostly interested in “old & new”. Like the Eric Ackerman video:

https://www.youtube.com/watch?v=NC2BOBhqork

 

He used an Arduino and a laptop with the H8-5 but I imagine a self-contained “digital tape recorder” that would function much like the early tape drives, but be way faster (see Joe’s latest speed data), more reliable, have much higher capacity, and have a cool touch screen interface to a library of software.

Glenn Roberts

unread,
Feb 18, 2022, 9:14:29 AM2/18/22
to se...@googlegroups.com

How come this worked so fast, given the previous discussion?....

Joseph Travis

unread,
Feb 18, 2022, 2:42:38 PM2/18/22
to se...@googlegroups.com
REMINDER - To anyone planning to use the Sparkfun FTDI USB-Serial breakout board with the 8251 on the H8-5:

There are solder pad jumpers on the bottom of the board which selects the interface voltage, either 3.3V or 5V.  Please make sure that 5V operation is selected prior to attaching the board to the 8251 !

Regards,
Joe Travis n6ypc


Glenn Roberts

unread,
Feb 18, 2022, 9:14:38 PM2/18/22
to se...@googlegroups.com

Good find!  Indeed the later versions seem to have an updated console driver that knows about the old (8251) and the new (8250)!.  Another piece of the puzzle….  I’ll take a look further…

 

.

I think you are loading a pre-configured tape already configured to the 8251A. Per Heath, the original/distribution tapes are not configured, so this might explain why it should work on port 350 for the 8250, but I'm not sure.

 

image001.png
image002.png
image003.png

Mike Ladwig

unread,
Feb 18, 2022, 10:23:39 PM2/18/22
to SEBHC
> nostalgia: revisit the “early days” and show/play some of the early games and software for the H8.

I'm not done yet, but wanted to show my in-progress project with a different approach. Looks/works just like a cassette player but with audio files coming from a sd card.

IMG_3942.jpeg

Norberto Collado

unread,
Feb 19, 2022, 2:08:26 AM2/19/22
to se...@googlegroups.com

This is very nice!

 

Norberto

 

From: "se...@googlegroups.com" <se...@googlegroups.com> on behalf of Mike Ladwig <mdla...@gmail.com>
Reply-To: "se...@googlegroups.com" <se...@googlegroups.com>
Date: Friday, February 18, 2022 at 7:23 PM
To: "se...@googlegroups.com" <se...@googlegroups.com>
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface

 

> nostalgia: revisit the “early days” and show/play some of the early games and software for the H8.

 

I'm not done yet, but wanted to show my in-progress project with a different approach. Looks/works just like a cassette player but with audio files coming from a sd card.

 

Glenn Roberts

unread,
Feb 19, 2022, 2:11:08 AM2/19/22
to se...@googlegroups.com
Nice!

Sent from my iPad

On Feb 18, 2022, at 10:23 PM, Mike Ladwig <mdla...@gmail.com> wrote:

> nostalgia: revisit the “early days” and show/play some of the early games and software for the H8.

Norberto Collado

unread,
Feb 19, 2022, 2:36:23 AM2/19/22
to se...@googlegroups.com

 

From: "se...@googlegroups.com" <se...@googlegroups.com> on behalf of Glenn Roberts <glenn.f...@gmail.com>
Reply-To: "se...@googlegroups.com" <se...@googlegroups.com>
Date: Friday, February 18, 2022 at 11:10 PM
To: "se...@googlegroups.com" <se...@googlegroups.com>
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface

 

Nice!

Sent from my iPad



On Feb 18, 2022, at 10:23 PM, Mike Ladwig <mdla...@gmail.com> wrote:

> nostalgia: revisit the “early days” and show/play some of the early games and software for the H8.

 

I'm not done yet, but wanted to show my in-progress project with a different approach. Looks/works just like a cassette player but with audio files coming from a sd card.

 

pbi...@gmail.com

unread,
Feb 19, 2022, 4:16:25 AM2/19/22
to se...@googlegroups.com

 

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Norberto Collado
Sent: Saturday, February 19, 2022 2:36 AM
To: se...@googlegroups.com
Subject: Re: [sebhc] Simple USB Serial to H8-5 Cassette Interface

 

Douglas Miller

unread,
Feb 19, 2022, 8:59:27 AM2/19/22
to se...@googlegroups.com

Where are the rotating spools of the virtual cassette cartridge? ;-)

Very cool.

Glenn Roberts

unread,
Feb 24, 2022, 9:05:10 AM2/24/22
to se...@googlegroups.com

By way of closure, Joe discovered that the later versions (e.g. Rev 6) of the “Tape OS” tools have a console driver that is smart enough to work with either the H8-5 (8251 USART) or H8-4/H89 (8250 UART) style console.  This is good news as it should mean no issue loading/running legacy programs with the new H8-5 board that Norberto is working on…  I’ve done a little probing/disassembling of the driver but nothing to share here yet.  David Troendle has scans of the old Tape OS source code (which, if they include this driver, may shed more light on this) but he’s in the process of moving so he’ll hopefully be able to find these at some future date when things are more settled…

 

.

I think you are loading a pre-configured tape already configured to the 8251A. Per Heath, the original/distribution tapes are not configured, so this might explain why it should work on port 350 for the 8250, but I'm not sure.

 

image001.png
image002.png
image003.png

norberto...@koyado.com

unread,
Feb 24, 2022, 11:35:59 AM2/24/22
to se...@googlegroups.com

Great information!

 

Norberto

image001.png
image002.png
image003.png

Joseph Travis

unread,
Feb 24, 2022, 3:26:28 PM2/24/22
to se...@googlegroups.com
I don't believe it was either / or.  I believe it was exclusive, H8-5 for the early versions and the H8-4 for the later. Unfortunately, I'm unable to verify as I'm away from home for several days.

Regards,
Joe Travis n6ypc


glenn.f...@gmail.com

unread,
Feb 25, 2022, 9:10:28 AM2/25/22
to se...@googlegroups.com

So here’s what I tried:

 

Configuration:  8080 CPU; 32K RAM (Norberto’s battery-backed board); H8-5 w/ Astrorat daughterboard connected to PC running RealTerm @1200 BAUD; H19 set for 1200 BAUD connected to H8-5 console port w/ IRQ 3.

 

I was able to load and run TED8-6.H8T and EXBASIC6.H8T.  after a few hits on the spacebar the programs come right up.

 

I then inserted the H8-4 board with console at 350Q/IRQ3. The other boards were left as is.

 

I then loaded and ran TED8-6.H8T and EXBASIC6.H8T, this time with the H19 connected to the console port on the H8-4.  I kept the H19 speed at 1200 and, with a few presses of the space bar the programs came right up.  I then reset the H19 to 9600 BAUD and reloaded TED8-6.H8T and after a few space bar hits it came up fine.

 

I also tried connecting the H19 back to the H8-5 console port while the H8-4 board was installed.  I was not able to get a response out of the console in this configuration, i.e. if there’s an H8-4 (8250 UART) in the system the console driver will prioritize it over the H8-5.

 

My conclusion (which is supported by what I’m seeing in the driver code):  the Version 6 Tape-OS utilities (available in .H8T format on the github archive https://sebhc.github.io/sebhc/software.html#Cassette_Tape_Images)  support both consoles (H8-5 style with 8251 USART at 372/IRQ3 or H8-4/H89 style with 8250 UART at 350/IRQ3).  However if the system has *both* interfaces configured the software will assume the console is on the 8250 side.  This all makes sense to me… 

Joseph Travis

unread,
Feb 25, 2022, 9:28:08 AM2/25/22
to se...@googlegroups.com
Very good Glenn. Thank you for the confirmation.  Although I'm a little surprised about the need to hit the space bar for the H8-5 as the baud rate is determined by hardware vs. software for the H8-4. I didn't run TED, just EXBASIC and it would display the initial signon message after pressing GO on the H8 keypad.  I would then press RETURN a couple times to get the * prompt.

Regards,
Joe Travis n6ypc

Glenn Roberts

unread,
Feb 25, 2022, 9:32:50 AM2/25/22
to se...@googlegroups.com

Maybe RETURN would have worked too.  I just was hitting SPACE.  Dunno…

.

I think you are loading a pre-configured tape already configured to the 8251A. Per Heath, the original/distribution tapes are not configured, so this might explain why it should work on port 350 for the 8250, but I'm not sure.

 

 

Norberto

norberto.collado koyado.com

unread,
Feb 25, 2022, 2:01:25 PM2/25/22
to se...@googlegroups.com
Thank you for testing this out. So, the new board should work with either port. 

I will check if I can make space to add an 8250 UART to the same board, so that you can have both UART/USART on same board design, to avoid using the H8-4 board when using Heath CPU boards. I think this is a better design.

Norberto

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Glenn Roberts <glenn.f...@gmail.com>
Sent: Friday, February 25, 2022 6:32 AM
To: se...@googlegroups.com <se...@googlegroups.com>

norberto.collado koyado.com

unread,
Feb 25, 2022, 3:38:56 PM2/25/22
to se...@googlegroups.com
After a quick review of the layout, I found that I can delete 2-IC's which allows me to add a 40-pin socket for the 8250. As I can have only one RS-232 IC, I will try add jumpers to select between 8250/8251 coms. Hopefully  that will work.  


From: se...@googlegroups.com <se...@googlegroups.com> on behalf of norberto.collado koyado.com <norberto...@koyado.com>
Sent: Friday, February 25, 2022 11:01 AM

glenn.f...@gmail.com

unread,
Feb 25, 2022, 5:17:39 PM2/25/22
to se...@googlegroups.com

I guess we could call it the H8-4.5 board!?

norberto...@koyado.com

unread,
Feb 26, 2022, 9:56:45 PM2/26/22
to se...@googlegroups.com

Thanks for your inputs. I will call it “H8-Z5-4” instead. This board has the best of the H89-5 cassette interface and the best from the H8-5 cassette interface + H8-4 console + additional improvements.

 

I was able to squeeze in the 8250/16C550 circuit after the fact.  Attached are latest diagrams and pcb components view.

 

The 8250 and 8251 has their own 10 pin DB9 connector. There are three on the board:

  1. H8T cassette interface – high speed data transfer interface. Baud rate from 1200, 2400, 4800, 9600, and 19200 bps (default: 1200bps), jumper selected. Note: Changing H8T baud rate higher than default, it will change cassette baud to same speed.
  2. 8250 console – Auto baud rate after pressing the space bar on the H19 terminal.
  3. 8251 console - Baud rate from 1200, 2400, 4800, 9600, and 19200 bps, jumper selected.

 

Cassette baud rate is 1200bps by default.

 

 

As I’m limited by the MAX232 IC pins, I decided to use transistors only for the control signals.

 

Thanks,

Norberto

image003.jpg
H8-Z5-4-BOARD.JPG
H8-Z5-4-SCHEMATICS.pdf
Reply all
Reply to author
Forward
0 new messages