[Coco] NitrOS9 and 6309 code

L. Curtis Boyle curtisboyle at sasktel.net
Fri May 31 22:26:27 EDT 2019


Those CPU’s do have “Illegal instruction” traps, though, that would identify that it is an incompatible CPU. The 6309 has one as well, but the 6809 (which is what would need to report the error) does not.

L. Curtis Boyle
curtisboyle at sasktel.net



> On May 31, 2019, at 8:16 PM, Allen Huffman <alsplace at pobox.com> wrote:
> 
>> 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
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
> 



More information about the Coco mailing list