[sebhc] Different HASL8 - Same bug

Dave Dunfield dave04a at dunfield.com
Mon May 17 17:31:52 CDT 2004

At 15:06 17/05/2004 +0000, you wrote:
>Dave Dunfield said:
>>I was able to
>>load the HASL8 from the tapes that Jack gave me ... It's an older
>>version (#4.01.01) than the one from Carrol (#4.05.00), but it
>>has the SAME BUG!
>That is too funny!  I wonder how it was coded in source to make the address 
>reference off by one after compilation.

Yeah! I was wondering that too - it's not something that could easily
happen "by accident" in any assembly code that I've written - I would love
to see the source.

>>you will need to use the /I option
>>with my emulator to run HASL-8 (Perhaps I should make this the
>My preference for the default behavior would be to emulate all opcodes just 
>like a real chip would.  Do you still have me previous message where I 
>listed all the codes and functions?

Yes, and I am planning to modify my /I option to work that way. I'm not sure
about making /I the default - One thing that I like emulators for is software
development (much nicer debugging), and it's really handy to have them trap
when something invalid happens... What I may do is modify the simulator to use
a ".INI" file to allow you to include your favorite command line options in a
file (most of this ability is already there).

>>The only one I know I won't be able to load is EXBASIC, as it
>>requires 12k and I have only 8.
>You could write a little program to read from the tape and output it in hex 
>or octal to the console, and capture it on your pc "on the fly".

Yeah, I had this thought too - wouldn't even have to output as octal. I can
just do a simple read/write loop of the binary data - I can load it into my
emulator to check it (CRC's etc.)

>>Finally ... Is anyone actually using/testing my emulator? - I haven't
>>gotten any feedback since the very first publication.
>It's truly amazing for just a few day's development - your extensive 
>experience in emulators is clearly showing!  I tried out most of the 
>cassette software.  I think what will really get folks excited is when it 
>emulates floppies.

Thanks for the kind words - I am planning to do floppies, but I must confess
that my main goal in writing emulators is to allow people to experience the
actual vintage machines that I have in my collection - to that end, my H8
simulator is already pretty much there, as I don't think I can do anything on
it that I can't in the emulator (in fact the emulator has a lot more memory so
it can do more) - I will however add disk support because a few people have
expressed interest, although I have not heard much since, so I don't know
what the level of interest actually is. (Now if I could find a REAL disk
controller for my H8, I'd have a real incentive!).

I should also find out the details of the "Zero origin RAM" option, as I would
like to add that as well - that way it could boot CP/M (?)

dave04a (at)    Dave Dunfield
dunfield (dot)  Firmware development services & tools: www.dunfield.com
com             Vintage computing equipment collector.

Delivered by the SEBHC Mailing List

More information about the Sebhc mailing list