Mail Archives: djgpp/1997/10/29/20:46:47
Peter Stokes <peter DOT acs AT dial DOT pipex DOT com> wrote in
<345718dd DOT 193834 AT news DOT dial DOT pipex DOT com>...
>
> ...
> uchar Setup(uchar CmPt)
> {
> unsigned long *ptr = (unsigned long *) 0x00400000;
> uint SPA;
>
> /* check to see if it is a valid com port number and address */
> printf("Entering Setup");
> /*SPA = *(ptr+CmPt-1); /* get the address */
> printf("Address is %x", SPA);
> ...
Hi Peter,
one simple question (to be sure to understand your problem...):
what about the last two lines in the part of your code given
above? Is 'SPA' commented out (and hence, uninitialized) ?!
Greetings,
Andreas B.
- Raw text -