Re: [sebhc] Re: ROM listing for H17 - found it

92 views
Skip to first unread message

Mark Garlanger

unread,
Apr 9, 2009, 3:47:15 AM4/9/09
to se...@googlegroups.com
The H17 listing I remembered seeing in my collections was just the few utility routines, like the PDF. But as I was writing this email to say I didn't find complete listing, I searched google again. Based on a comment on Dave Wallace's H8 site: "Heath Co. used to sell the H17 ROM listings as part of the four-volume set of HDOS code listings, but I doubt that Heathkit Co. can provide that.)" I searched the HDOS source and was able to find the FULL H17 ROM listing (72 pages). It's in SYDD.PDF in the 2.0 source.

So, I'm currently unblocked for both the terminal and the floppy drives. Now if I just had an extra 24 hours in a day ;-)

If anyone is interested, you can follow my emulator status on my website: http://heathkit.garlanger.com/ If anyone has any ideas or suggestions, let me know. I listed a rough plan on my site.

Progress on the emulator is going slower than I hoped, too many other priorities... Currently, the emulator runs the MTR90 monitor ROM, supports the 2 mSec timer interrpt and provides clock accurate z80 emulation (ran the 'Test memory' command on the emulator and a real H89 - both took almost exactly 44 seconds to get to count 20 (octal)).

Thanks,
  Mark



On Tue, Apr 7, 2009 at 10:05 PM, Mark Garlanger <garl...@gmail.com> wrote:

Hi Les,

   The most important thing for me, right now, is the listing for H17 ROM. I need that to help with emulating the controller and drive. The other monitor ROMs would be nice to provide options for the emulator, but it's not that important, at least at the moment. From the H89 configuration guide, MTR88 is 444-40, MTR89 is 444-62, MTR90 was both 444-84 and 444-142(bug fix). The corresponding manuals/listings are 595-2349, 595-2508, and 595-2696, 595-2696-02.
   While looking for the H17 ROM listing, I found the manual for MTR88. So if no one has the MTR88, I could type it in, and hope to not make any typos.
  If your ROMs are not readable by the ROM programmer, but are in a working H89, we could always write a short HDOS program to dump the ROM.

Mark


On Tue, Apr 7, 2009 at 8:49 PM, Les Bird <les...@bellsouth.net> wrote:

Mark,

I think the part number you are looking for is 444-62 which is the
MTR-89 ROM I believe. I have a few of them on some of my motherboards
but they are on 2716's and I can't seem to get my ROM programmer to
read them. I don't have the MTR-88 ROMs though.

- Les


On Apr 7, 1:49 pm, Mark Garlanger <garlan...@gmail.com> wrote:
> Hi Carroll,
>
>     From the H17.ROM file, I downloaded from Les's site, there appears to be
> code through the entire 2k (the last byte is 0, so that could be a NOP, but
> the other bytes have non-zero values). Tracing the execution of my emulator,
> with the help of the MTR90 ROM listing, in  H17 boot code(002.207), I see
> calls to 036.xxx and 034.xxx to wait for hole/no-hole, and to read the disk
> data.
>    Having the MTR90 listing, really helped to get my emulator to the "H:"
> prompt. I don't think I have the time or patience to get the
> controller/drives emulated without the H17 ROM listing. If no one has it, I
> do think I think I have seen it somewhere in my collection of manuals, I'll
> just need to dig through everything this weekend.
>
> BTW: Does anyone have a dump of the MTR88 and MTR 89 ROMs? And the listings?
> Eventually, I would like to have the ROM version be user-selectable along
> with emulation of cassettes (which requires MTR88).
>
> Thanks,
>   Mark
>
> On Tue, Apr 7, 2009 at 11:49 AM, Carroll Waddell <cewadd...@charter.net>wrote:
>
>
>
>
>
> > Mark Garlanger wrote:
> > > Hi Les,
>
> > >   Thanks, but that is the one I had found, it only has some utility
> > > routines and nothing related to the H17 - it covers less than 512
> > > bytes, instead of the 2k size of the ROM.
> > >   I may have a hard-copy somewhere in my collection, does anyone know
> > > if the ROM listing was a separate document or part of another one?
>
> > > Mark
>
> > > On Tue, Apr 7, 2009 at 8:24 AM, Les Bird <lesb...@bellsouth.net
> > > <mailto:lesb...@bellsouth.net>> wrote:
>
> > >     Mark,
>
> > >     Give me a few minutes and I'll update my website. I have a listing
> > >     but I'm not sure how complete it is. It has 14 pages to it in a
> > >     PDF file called H17ROM-listing.pdf. Is this the same one you have?
>
> > >     - Les
>
> > >         ----- Original Message -----
> > >         *From:* Mark Garlanger <mailto:garlan...@gmail.com>
> > >         *To:* se...@googlegroups.com <mailto:se...@googlegroups.com>
> > >         *Sent:* Tuesday, April 07, 2009 3:59 AM
> > >         *Subject:* [sebhc] ROM listing for H17.
>
> > >         Is there a ROM listing from the H17 ROM available on-line? I
> > >         looked at both the group's files and Les's page, but didn't
> > >         see it. A quick search on google found one, but it was
> > incomplete.
>
> > >         Thanks,
> > >           Mark
>
> > Mark,
> > I'm not sure if the listing you are talking about is the same one I
> > have, but the H17 code (I think) only occupies ROM address 030.000 to
> > 031.221
> > If you have the XCON8 ROM, it contains the H17 ROM code which it copies
> > into RAM at the above addresses.
> > Don't know if this is any help or not.
> > Carroll- Hide quoted text -
>
> - Show quoted text -



Les Bird

unread,
Apr 9, 2009, 9:25:36 AM4/9/09
to se...@googlegroups.com
Mark,
 
That's incredible. What Z80 emulation engine are you using or did you write your own? Also, to get an extra 24 hours a day you'd need to move to another planet. Something I've been trying to figure out how to do for quite some time now. I'll let you know if I come up with a solution to that.

Les Bird

unread,
Apr 9, 2009, 9:46:37 AM4/9/09
to se...@googlegroups.com
Just to add a note here. The source file Mark is talking about, SYDD.PDF, is on my website in the Documents section under "HDOS Source Code Listings". There are two fairly large zip files there and they contain the entire source listings for HDOS, Drivers and ROM including SYDD.PDF. Heath part numbers HOS-1-SL_595-2466 and HOS-1-SL_595-2466-01.
 
- Les
 
----- Original Message -----
Sent: Thursday, April 09, 2009 3:47 AM
Subject: [sebhc] Re: ROM listing for H17 - found it

Chris Elmquist

unread,
Apr 9, 2009, 10:37:28 AM4/9/09
to se...@googlegroups.com
Has anybody had any success trying to OCR those kinds of (dot matrix
print) PDFs into ASCII text?

I've tried on some other documents without success but have only had
access to open-source OCR tools.

Chris
--
Chris Elmquist

Mark Garlanger

unread,
Apr 9, 2009, 12:26:40 PM4/9/09
to se...@googlegroups.com
I'm using z80pack. I had also looked at using yaze-ag, but chose z80pack mainly because it support interrupts and simulated the clock speed. I later noticed that only interrupt mode 1 (im1) was supported. So for the H89, I added limited support for im 0 - only allows the RST instructions in response to interrupt ack (based on the schematics, that is all a real H89 can do). I encapsulated the CPU into a C++ class, fixed the flags for a few opcodes, added more of the undocumented opcodes, and removed a lot of #defines. I also changed the way it simulated the CPU clock from using sleep() to using an interval timer, since the sleep method did not factor in the amount of time actually spent running the z80 instructions. And the last major change, to keep the monitor from being stuck in an infinite loop determining the amount of RAM, was abstracting out the memory. Instead of just an array of unsigned chars that the cpu class had direct access to, there is now ROM and RAM classes hidden by an 'AddressBus' class. The CPU now has to call read and write methods on the AddressBus instead of just accessing an array. Although this caused the host CPU usage to go from about 2-3% to 7-8%, it was worth it to design it properly.

Mark
Reply all
Reply to author
Forward
0 new messages