[Coco] 'arc' copy command and Stack Overflow (ERROR #207)
K. Pruitt
pruittk at roadrunner.com
Tue Jan 27 22:07:06 EST 2015
----- Original Message -----
From: "K. Pruitt" <pruittk at roadrunner.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Tuesday, January 27, 2015 3:48 PM
Subject: Re: [Coco] 'arc' copy command and Stack Overflow (ERROR #207)
>
> ----- Original Message -----
> From: "Allen Huffman" <alsplace at pobox.com>
> To: "Bill Pierce" <ooogalapasooo at aol.com>; "CoCoList for Color Computer
> Enthusiasts" <coco at maltedmedia.com>
> Sent: Tuesday, January 27, 2015 9:59 AM
> Subject: Re: [Coco] 'arc' copy command and Stack Overflow (ERROR #207)
>
>
>>> On Jan 27, 2015, at 10:21 AM, Bill Pierce via Coco
>>> <coco at maltedmedia.com> wrote:
>>>
>>> The C code (or asm) to implement tmode is so simple, I can't figure out
>>> why so many programmer's didn't just make it inline to the program. It's
>>> just one getstat to get the 32 byte buffer, set the needed byte, then
>>> one setstat to write it back. About 12 lines of code in either format.
>>
>> Yeah, and the code must have been easily available. I don't think I would
>> have figured it out on my own in all my assembly/C programs. I didn't
>> know about it when I wrote my first OS-9 program in BASIC09, though.
>> Maybe when I rev all my programs for Internet Release I can make some
>> tweaks ;-)
>>
>> Er, do you know how to do it in B09?
>>
>> -- A
>>
>>
>> --
>
> Set up an error trapping routine, try tmode -echo and if that generates an
> error try tmode eko=0
>
> and the other way 'round to turn it back on.
>
>
Or use SysCall if you want to pull in the entire packet and do it that way.
More information about the Coco
mailing list