[Color Computer] [coco] Learning MW C

Robert Gault robert.gault at worldnet.att.net
Sat Aug 12 08:31:05 EDT 2006


Kevin Diggs wrote:

> Charles Richmond wrote:
> 
>> On Aug 11, 2006, at 7:11 PM, George's Coco Address wrote:
>>
>>
>>> For several years, I've been wanting to learn "C" .. the one that  comes
>>> with OS-9.
>>>
>>> The hang up is peeks and pokes. I can't find a way to do this with  "C".
>>>
>>> Can anyone help with this?
>>
>>
> One other thing to keep in mind. If the peeking and poking you want to 
> do is to a hardware address, then you probably will want to investigate 
> OS routines or system calls instead (like setstat and getstat). This is 
> not strictly necessary in 6809 OS-9 because the hardware addresses are 
> not protected (made inaccessible by MMU hardware).
> 
> kevin
> 

In fact, there may not be any good reason to peek/poke in C. Almost 
anything you want to accomplish probably has an accessible OS-9 call. 
Everything else can probably be better handled by interfacing a short ml 
routine in your C code.



More information about the Coco mailing list