Re: how to tell near from far pointers
"Tom Collins tom-lnEA/wrDJtNWk0Htik3J/[email protected] [rabbit-semi]" <[email protected]> Thu, 6 Oct 2016 14:12:38 -0700
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Consider using paddr_far() from XMEM.LIB to just convert to the actual physical address corresponding to the upcast near pointer. I haven't tested, but that's what that function appears to do. -Tom On Oct 6, 2016, at 3:57 AM, [email protected] [rabbit-semi] wrote: > Does anybody know what is the standard way to tell if a pointer can be safely casted to near?