[Coco] NitrOS-9 tb0*m error

Aaron Wolfe aawolfe at gmail.com
Sun Apr 11 00:53:33 EDT 2010


On Sun, Apr 11, 2010 at 12:22 AM, Roger Taylor <operator at coco3.com> wrote:
>
> At 11:09 PM 4/10/2010, you wrote:
>>
>> I think you just add 128 to the ascii value, so in this case m = 128 + 109 =
>> error 237, ram full
>
>
>
> I guess my os9boot file is too large.  I'll try to trim it down and see if that works.
>
> Now the big question is why the string "error 237" can't be printed out.  My initial guess is that no text printing routines are available so early in the boot stage, but certainly the numbers "237" can be written to the screen by the same code that prints *m.  It turns out that I'm one of many who has asked what these strange debug codes are.  Oh well.  Without them, where would we be.
>

I don't really know, but I'd guess that it's because given a byte with
237 in it, printing the decimals 237 is much more work than dropping
the high bit and printing that.  for example the alib routine to
convert a byte to decimal ascii representation is almost 200 bytes of
code.

> Thanks
>
>
> --
> ~ Roger Taylor
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list