[Coco] 'arc' copy command and Stack Overflow (ERROR #207)

Allen Huffman alsplace at pobox.com
Tue Jan 27 12:59:45 EST 2015


> 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



More information about the Coco mailing list