[Coco] NitrOS9 and 6309 code
L. Curtis Boyle
curtisboyle at sasktel.net
Fri May 31 22:52:36 EDT 2019
> On May 31, 2019, at 8:38 PM, Allen Huffman <alsplace at pobox.com> wrote:
> Curtis, yeah, exception handling will crash a program when it hits the illegal instruction. Is that what you mean?
Yes, but only on the 6309 do we have that option.
> On the later OS-9s, they used a 16 bit value for the code (000:000) and specifically have reserved ranges.
> I guess my suggestion is we just make sure our error code doesn’t trample on any existing one for the later OS-9s.
We would have to compare the leftover spots in OS9/6x09 to OSK/OS9000, etc. I don’t have the latter ones anymore, so you will have to let me know if there are any holes between 1 to 255. If not, we will just need to pick one irregardless of later OS9’s.
> Why would anything look at this other than the kernel (load/chain)?
Load, link (in case someone modified a module in memory), fork and chain I would think would be all that is needed. One could put a check in shellplus too, but it would be redundant.
> — Allen
> Coco mailing list
> Coco at maltedmedia.com
More information about the Coco