AnsweredAssumed Answered

paged memory with __far and __rptr

Question asked by Philipp Krumme on Dec 2, 2010
Latest reply on Dec 6, 2010 by CrasyCat

Hello guys,

 

I am using a variable mapped to banked RAM:     char MyArray[5]

Now I am trying to create a pointer to this variable:  char  * __rptr  localArrPtr =  MyArray

 

Is this the right way ?

What is the difference between a __far pointer and a __rptr pointer ?

 

How do I call a function with that pointer ?

void editArray ( char index, char * __rptr ArrPtr)

 

Thanks for your help

Philipp

Outcomes