[Coco] Can anyone verify an error in the NitrOS9 tech manual?
Dave Philipsen
dave at davebiz.com
Sat May 20 16:38:25 EDT 2017
Yes, it appears to be a boo-boo on Microware's part from way back. Most all other system calls use A, X, Y. But's it's definitely too late to change anything now.
Dave
> On May 20, 2017, at 10:48 AM, Gene Heskett <gheskett at shentel.net> wrote:
>
>> On Saturday 20 May 2017 08:50:13 Dave Philipsen wrote:
>>
>> Well, I am using assembler and I can tell you that when I use the 'Y'
>> register to reference the LSB of the file pointer my program does not
>> work but when I use the 'U' register it works correctly.
>>
>> Dave
>>
> Well, we have the source, so I would look at the F$Seek calls code. It
> may be that it uses Y internally in a way thats faster than stacking u,
> loading u, doing the call, and pulling u back off the stack. If thats
> not the case, maybe it could be fixed, but the time to fix it was in
> 1982 as that would probably break a couple thousand apps we already
> have. And THAT would definitely be a bad dog, no biscuit situation.
>
>>> On 5/20/2017 7:20 AM, Bill Pierce via Coco wrote:
>>> Dave, what you would have to do is check the nitros9 source for the
>>> fseek function and see what is actually being used. I always use
>>> seek in C so I haave no idea which regs it's using :-)
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list