[Coco] NitrOS9 and 6309 code

Allen Huffman alsplace at pobox.com
Fri May 31 22:16:00 EDT 2019


> On May 31, 2019, at 8:29 PM, Robert Gault <robert.gault at att.net> wrote:
> 
> So if H6309=0 there is no 6309CPU and the second set of lines are not there in fchain. That means that Objct will not be found by fchain if a module has a Obj6309 and the test falls down to "return unknown module".
> Likewise in a 6309 system, fchain will look for both Objct and Obj6309 so will accept either.

From a quick check on my OS-9/ARM machine, and from some a few chats with Allan Batteiger, it seems OS-9 for other processors doesn’t even have this. If you load an ARMv7 module on an ARMv6, fine, until it hits one of the instructions not available on v6.  I assume it’s the same for 68040 modules loaded on a 68000, and 586 loaded on a 386.

The main Module ID type is all they check.

 need to snag the DEFS file or open up the Tech Reference to understand the bits and what they do.

		— Allen



More information about the Coco mailing list