[Coco] 6309 port of NitrOS-9 Level 1

Tormod Volden lists.tormod at gmail.com
Sat Jan 24 17:39:20 EST 2015


On Sat, Jan 24, 2015 at 9:37 PM, Robert Gault wrote:
> Tormod Volden wrote:
>>
>> <snip>
>>
>> You mean coco1_6309 I suppose? coco3_6309 works as it should, right?
>>
>
> No. There is no emulator of a coco1 or coco2 that incorporates 6309
> emulation far as I know.

I have been testing this in XRoar. The gdb disassembler doesn't
interpret the 6309 opcodes but otherwise it works fine.

> A coco3 can run Level1 OS-9 and a coco3_6309 can run most Coco programs
> unless they incorporate illegal opcodes. That's why I'm using MESS
> coco3_6309 to test Level1 6309 builds.
>
>>>
>>> Now I've never tried to create a Level1 H6309 package. So whoever may
>>> have
>>> worked on that, it wasn't me. The level1 .asm files should work in a 6309
>>> package as long as there is no confusion with stacks.
>>> If all registers are pushed onto the stack, there won't be a problem if
>>> the
>>> appropriate stack in os9.d is used. Unfortunately, there is code that
>>> mixes
>>> statements like  lda 3,u  with lbd  R$Y,u and that ought to cause
>>> problems.
>>>
>>
>> In the threads I linked to there were posts by you with inlined code
>> changes. Please send me a patch for these changes. It doesn't make
>> sense for me to try to manually detect which changes you made in those
>> e-mails and retyping them. I assume you are sitting on corrected
>> source files and can easily generate patches.
>>
>
> I had completely forgotten about that. :( I'll have to incorporate that
> earlier work as I've clearly run into the same problem.
> This must be an example of a senior moment. :)
>

I hate myself for doing it :) but I eventually sat down and manually
hunted down the changes from the hints and inline code in those
e-mails. Would be good if you could compare it with your work to see
if I missed something.

It seems like I am now at the point where Luis and you were in last
February, with crashes when sysgo forks off startup, or when the shell
starts up. It seems it crashes at different points depending on how I
debug it. Heisenbug?

I'll send the patches to you directly as well as uploading it to the repository.

> Regards the source files, I have to get them by going to a local library and
> from Sourceforge 'download snapshot'. I no longer have Mercurial installed
> on my system so getting diff listings is not simple.

What kind of system do you use? I can offer to set up a download file
of the repository including the mercurial meta-information so that you
have a proper clone. Then you can update from the real repo later
using very little bandwidth. Of course you will need to install
mercurial again.

Your contributions are very important and highly appreciated, so it
will be of great value that we get you to collaborate in a sane
workflow.

Best regards,
Tormod


More information about the Coco mailing list