found out some more:
freepascal allows:
pointername := pointer(memoryaddress);

Next thing that happened is that the program compiles, but then says the generated assembly sourcecode is not valid.... :x

Doing a search for crosscompiling bin utils gave the following site: http://users.pandora.be/Jan.Van.hijf...ssCompile.html

using the as compiler from those binutils i can manualy compile the generated assembly source without complaints.

Now i have to figure out to do this automaticaly as only my unit part gets compiled to an assembly source file. Freepascal does not want to use the right as compiler. Any ideas here....

But there is some progress.... slow but....