Dwight:
Some of us have noticed that we can’t run the H89LDR code on our H8 systems with the PAM-37 ROM. The problem I’ve seen is on the disk write operation (when transferring from the PC to the H8). If you look at the portion of the code that writes an image you find a snippet that looks like this (code commenting is mine):
*
* Read and store BC bytes
*
WRIMG2 CALL CHRIN get data
MOV M,A store it
INX H point to next
DCX B decrement counter
MOV A,B
ORA C check for counter=0
JNZ WRIMG2 if not, keep looping
I suspected that this code was getting “hung” in this loop so I ran H89LDR (connecting the H8 to a PC running your PC transmission software). Using the H8 front panel monitor I watched the BC code register pair during a write operation. BC is the count down register in this code, when it counts down to 0 the buffer is full and the track is written to the disk. What I found is that the count never gets to zero, it gets to a small number that varies from run to run (typically 5 to 8 in my observations).
I concluded that characters are being dropped since the code uses a simple polling technique on the com port (not interrupt driven). If the computer is ever “busy” (e.g. servicing the front panel LED refresh) for too long it could miss a character. I also noticed that the front panel monitor runs during the download and that consumes CPU cycles during every clock interrupt. Two possible solutions present themselves:
Slow down the baud rate
Turn off the FP refresh
Of course this isn’t an issue on the H89…
I might be able to patch the existing code with the appropriate instructions (only a few bytes) since there are some NOP instructions in there, or I could reassemble the code. I tried the latter, making certain to adjust the entry points and sizes between the loader and boot programs, but I ran into a stumbling block: the Forth program itself seems to have the H89LDR code size embedded in it:
$265B $2329 - constant LdrSize \ set to exact size of loader
Suggestions? If I wanted to recompile the Forth code what compiler did you use? Or do you think I could just patch in the NOP space?
- Glenn
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of dwight elvey
Sent: Thursday, April 18, 2013 11:01 AM
To: se...@googlegroups.com
Subject: RE: [sebhc] second drive for the H8
The H8-5s were flakey at 9600 baud. My program had the
ability to run at 4800 that seemed to work well with most
H8-5s I've tried.
The problem it the design using the optical coupler was really
not well designed.
There is a way, I forget which, that can be used to tell
windows that the com port is not available to windows.
Then the original program can be run from a dos window.
At least that is what I was told.
I believe there were two different programs for the bootstrap
that one had the setup for the slower baud.
I don't know if Les' program supports the lower baud rate.
You might see if you can borrow one of the serial boards.
As for wiring, find a RS232 light box. That will help debug
most RS232 wiring differences.
Dwight
To: se...@googlegroups.com
Subject: Re: [sebhc] second drive for the H8
From: hl...@aol.com
Date: Thu, 18 Apr 2013 09:56:36 -0400
Hi Ken and everyone following this,
My first computer project was the H8 back in 1980. I've had many computers since then and even had a computer collection that included the Altair, IMSAI, and a Mark 8.
Over the last couple of years I have sold off my collection, but I couldn't give up my H8. So I decided to upgrade my H8 and that is why I joined in on SEBHC.
My H8 system consists of:
85-1938-1 8080 CPU board
H8-64 Rev 2.1 board from Les (upgraded from 32k Heathkit memory boards)
H8-5 cassette and Serial I/O board
H17 Controller board with 2 drives
HA8-8 Extended configuration board
H19 Terminal operating at 4800 baud
I have HDOS 1.6 and CP/M 2.2.02 bootable on 5.25" hard sector. However, now the HDOS 1.6 doesn't boot because of the 64k.
At this point everything seems to be working as designed. My understanding is that to get the HSFE working I will need to upgrade the operating system to at least CP/M 2.2.03.
I have downloaded the H8D utility from the website but have not been able yet to communicate with the H8 through the H8-5. The communication is setup as receive/transmit on pins 2 and 3 and ground on pin 7. Les's utility seems to work and I have loaded H8D files for CP/M 2.2.03 but I don't think that the setup for the RS232 on com1: is right. The computer I am using is running Windows XP.
I am considering setting up an old PC with MSDOS 6.2 and run Dwight's H89trans program directly, but that could take some time.
Anyway any suggestions and help would be appreciated.
Harold
-----Original Message-----
From: Kenneth L. Owen <tx83...@bellsouth.net>
To: sebhc <se...@googlegroups.com>
Sent: Wed, Apr 17, 2013 11:32 pm
Subject: RE: [sebhc] second drive for the H8
Hi Harold,
I have seen your previous posts, but haven’t been following very closely due to other issues taking most of my time and attention.
I know that you are working with an H8. What I don’t know is which CPU you are running, your CPU clock speed and whether you can use Les’ H8D utility to write floppy disks by sending them from your PC.
Do you have a modem program on your Heath? If so, then you can send single files from your PC to the Heath using the serial port and X-modem protocol. With a 2 MHz clock MAPLE.ABS will reliably transfer files at 4800 baud with INT5 jumper set on your serial port card for the port you are using.
Let me know a bit about what you have and what you can already do, then, I will be able to help you get the rest.
-- ken
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of hl...@aol.com
Sent: Wednesday, April 17, 2013 8:34 PM
To: se...@googlegroups.com
Subject: Re: [sebhc] second drive for the H8
Hi Ken,
Well you got me on the issue of HUG H17.DVD. Unfortunately I have no idea what you are talking about. However, I would appreciate any assistance/help since I still haven't been able to get the HSFE to work.
Thanks,
Harold
-----Original Message-----
From: Kenneth L. Owen <tx83...@bellsouth.net>
To: sebhc <se...@googlegroups.com>
Sent: Wed, Apr 17, 2013 8:17 pm
Subject: RE: [sebhc] second drive for the H8
Hi Harold,
Hmmmm, if you are not running the HUG H17.DVD from the HS-Support Pkg, then that is why your HSFE drives are working as well!
-- ken
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of hl...@aol.com
Sent: Wednesday, April 17, 2013 6:33 PM
To: se...@googlegroups.com
Subject: Re: [sebhc] second drive for the H8
Les,
I was able to use the IBM PC 5.25" drive as my second floppy for the H8. I actually have two IBM drives both Tandon - one is TM100 and the other is TM100-2A. The TM100 worked fine but for some reason the TM100-2A did not work. Could the drive be bad?
Harold
-----Original Message-----
From: Les Bird <les...@bellsouth.net>
To: sebhc <se...@googlegroups.com>
Sent: Tue, Apr 16, 2013 9:00 pm
Subject: Re: [sebhc] second drive for the H8
Harold,
Many IBM PC drives work just fine. I've not found any that do not work so far.
- Les
On Apr 16, 2013, at 8:19 PM, "hl...@aol.com" <hl...@aol.com> wrote:
Hi everyone,
I am looking to add a second 5.25" drive to my H8. Anyone know of drives that will work? I have a full height drive from an old IBM PC. Will that work?
Thanks,
Harold
--
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 post to this group, send email to se...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/sebhc/-/YqTiH4pf7GUJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to se...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Glenn,
I’m almost as dumb as the proverbial rock when It comes to the H8. But drawing on my work with the H89, I am wondering:
Does the H8 shadow the H37 routines in memory? If so, can you patch that memory location from the front panel to see if it fixes the observed issue with the BC count?
-- ken
Great.
Tcom is here:
http://www.forth.org/compilers.html
if I get a new version working I’ll post a follow up here…
It is odd that the code works fine on my 8080-based H8 with the PAM-GO ROM. All I can think is that the PAM-37 code added some more interrupt processing software – just enough to make it miss a character now and then… I didn’t try it at higher speeds (haven’t built my speedup card yet) but am curious if that would help.
On Les’s Z80 board, I think, but not sure that if we replace the XCON-8 EPROM with the original H17 EPROM then it should work. This is something that I was planning to test but never got to it. I will try to do it tonight if I have the time. That might explain why it works with the PAM-GO ROM.
Hi Harold,
The simple wiring will work OK with the H8D utility, but if you want to use MAPLE or ZMP, you will need to set Interrupt 5 on the serial ports that you will use and also need the full handshaking lines.
Hi Glenn,
Just was wondering if you had made any further discoveries on why we can’t run H89Loader on the H8 with PAM-37 ROM.
Since most of my machines are H-89, I transfer images to the H89 and then read the disk in my H8, if needed. But I would like to be able to go directly to the H8 as well.
-- ken
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of Glenn Roberts
Sent: Friday, April 19, 2013 8:00
PM
To: se...@googlegroups.com
Subject: [sebhc] H89LDR
Dwight:
Hi Ken.
With what time I’ve been able to devote to this hobby I’ve been working on utilities to support the USB flash drive on Norberto’s new USB board.
I’ve got initial versions of VDIR (directory program), VGET (program to retrieve files from the USB flash drive), and VPUT (to copy files from the H8 to the flash drive). I also have a simple VTALK utility which lets you connect directly to the device and issue commands to change directory and do other useful functions.
My goal is to have these ready and tested in time for the first batch of boards that all the SEBHC’ers are now ordering and getting ready to build! These utilities are for HDOS - next I need to make them work in CP/M!
That said I haven’t looked further into the H89LDR issue but I think it’s straightforward. I had concluded that just disabling the front panel refresh is the logical next step. This can be done using the front panel itself by setting the appropriate bit in MFLAG for testing purposes and if that works then we could reassemble the code. For now this project is on the back burner. If you have the older ROM (not XCON8) the H89LDR works but I’d like to get it to work on all configurations.
By the way, back on the USB topic: once you’ve got this working you might have little or no need for 1) diskette drives and 2) serial transfer programs. I’ve been doing all the editing on the PC with Notepad++, then I pop the code onto a USB Flash drive and read & compile it on the H8! No more fooling with MAPLE and XMODEM J
Surprising because I thought you needed XCON-8 ROM to support Zero Org. I guess that’s built into the PAM-37 side? I’m embarrassed to say I’ve never taken the time to understand what’s in what ROM….
-------- Original Message --------
Subject: RE: [sebhc] H89LDR
From: "Glenn Roberts" <glenn.f...@gmail.com>
Date: Tue, April 30, 2013 5:09 pm
To: <se...@googlegroups.com>
Hi Ken.With what time I’ve been able to devote to this hobby I’ve been working on utilities to support the USB flash drive on Norberto’s new USB board.I’ve got initial versions of VDIR (directory program), VGET (program to retrieve files from the USB flash drive), and VPUT (to copy files from the H8 to the flash drive). I also have a simple VTALK utility which lets you connect directly to the device and issue commands to change directory and do other useful functions.My goal is to have these ready and tested in time for the first batch of boards that all the SEBHC’ers are now ordering and getting ready to build! These utilities are for HDOS - next I need to make them work in CP/M!That said I haven’t looked further into the H89LDR issue but I think it’s straightforward. I had concluded that just disabling the front panel refresh is the logical next step. This can be done using the front panel itself by setting the appropriate bit in MFLAG for testing purposes and if that works then we could reassemble the code. For now this project is on the back burner. If you have the older ROM (not XCON8) the H89LDR works but I’d like to get it to work on all configurations.By the way, back on the USB topic: once you’ve got this working you might have little or no need for 1) diskette drives and 2) serial transfer programs. I’ve been doing all the editing on the PC with Notepad++, then I pop the code onto a USB Flash drive and read & compile it on the H8! No more fooling with MAPLE and XMODEM J
Hi Harold,
Several years ago (two, maybe three) the group contracted to have a designed punch manufactured. Those interested committed to pay up to the estimated cost and the order was placed. The punches work pretty well, but mine has contracted a Floridian virus (hanging chads) and doesn’t punch cleanly any longer.
The fellow that made them is not inclined to do any more. There is a design and, if a good machinist can be talked into doing them for a reasonable price, there are probably others who would be interested as well. I don’t remember for certain who in the group worked out the previous run.
If another run is done, the punch base needs to be a bit more robust – hardness and thickness.
Norberto,I am anxiously waiting the H8-USB since I am struggling with H89LDR. However, I am curious what is the H8 requirement for the H8-USB to work.My system has the 8080 CPU board with Les's 64k board and his H8-4 I/O board and an H19 terminal. I have two drives with the H17 using HS floppies. I believe that I have the XCON8 ROM.What do you think?Harold
Glenn,Thanks for all your support on this H8-USB project. This is a more viable solution than the other ones we have in place (XMODEM, SVD, H89LDR, etc...).Also I use Dan's USB solution to transfer files to and from the PC. So we all have better choices going forward.Norberto
-------- Original Message --------
Subject: RE: [sebhc] H89LDR
From: "Glenn Roberts" <glenn.f...@gmail.com>
Date: Tue, April 30, 2013 5:09 pm
To: <se...@googlegroups.com>
Hi Ken.With what time I’ve been able to devote to this hobby I’ve been working on utilities to support the USB flash drive on Norberto’s new USB board.I’ve got initial versions of VDIR (directory program), VGET (program to retrieve files from the USB flash drive), and VPUT (to copy files from the H8 to the flash drive). I also have a simple VTALK utility which lets you connect directly to the device and issue commands to change directory and do other useful functions.My goal is to have these ready and tested in time for the first batch of boards that all the SEBHC’ers are now ordering and getting ready to build! These utilities are for HDOS - next I need to make them work in CP/M!That said I haven’t looked further into the H89LDR issue but I think it’s straightforward. I had concluded that just disabling the front panel refresh is the logical next step. This can be done using the front panel itself by setting the appropriate bit in MFLAG for testing purposes and if that works then we could reassemble the code. For now this project is on the back burner. If you have the older ROM (not XCON8) the H89LDR works but I’d like to get it to work on all configurations.By the way, back on the USB topic: once you’ve got this working you might have little or no need for 1) diskette drives and 2) serial transfer programs. I’ve been doing all the editing on the PC with Notepad++, then I pop the code onto a USB Flash drive and read & compile it on the H8! No more fooling with MAPLE and XMODEM J
- GlennFrom: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of Kenneth L. Owen
Sent: Tuesday, April 30, 2013 5:52 PM
To: se...@googlegroups.com
Subject: RE: [sebhc] H89LDR
Hi Glenn,Just was wondering if you had made any further discoveries on why we can’t run H89Loader on the H8 with PAM-37 ROM.Since most of my machines are H-89, I transfer images to the H89 and then read the disk in my H8, if needed. But I would like to be able to go directly to the H8 as well.
Hello Harold,
I will put tomorrow in the mail the H8-USB controller so that you can start the assembly process. I only have soft sectored diskettes and I might have a hard sectored diskette someplace around if you need help in getting the USB utilities. Eventually we will get you going to be able to download everything from Les’s website into your H8 system; initially with HDOS and then eventually with CP/M.
Thanks,
Norberto
Hello Harold,
Did you get your H8-USB board? Was there any damages to the GAL IC, due to the packaging that I used?
Norberto
From: Norberto Collado [mailto:norberto...@koyado.com]
Sent: Sunday, May 05, 2013 9:47 PM
To: 'se...@googlegroups.com'
Subject: RE: [sebhc] H89LDR
Hello Harold,
I will put tomorrow in the mail the H8-USB controller so that you can start the assembly process. I only have soft sectored diskettes and I might have a hard sectored diskette someplace around if you need help in getting the USB utilities. Eventually we will get you going to be able to download everything from Les’s website into your H8 system; initially with HDOS and then eventually with CP/M.
Thanks,
Norberto
Hello Harold,
Do you have the means to download a single HDOS file from a PC to the H8 system “VTALK.ABS”? I think you are using HDOS correct?
Norberto
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of hl...@aol.com
Sent: Wednesday, May 15, 2013 8:58 AM
To: se...@googlegroups.com
Subject: Re: [sebhc] H89LDR
Hi Norberto,
--
Remainder of the H8-USB boards will ship tomorrow! I just have 2-pcs H8-USB boards left if anyone is interested.
Thanks,
Norberto
From: se...@googlegroups.com [mailto:se...@googlegroups.com] On Behalf Of Norberto Collado
Sent: Wednesday, May 15, 2013 5:53 PM
To: se...@googlegroups.com
Subject: RE: [sebhc] H89LDR
Not yet because I ran out of GALS. I shipped about 6 boards so far with the GALS and received the new GALS this weekend, but haven't had the time to program them yet. I hope to send the next boards during the weekend if possible.