Runtime code path building.
Mike Mestnik
cheako911@yahoo.com
Fri Feb 20 03:08:00 GMT 2004
I'm working on tuxnes(based on nestra) there is a nes rom compiler that
uses hand craftd x86 asm. Since this asm is 'compieled' befour building I
need to know where the nes ram/mmio/rom are in process memory will be. So
something like...
mmap (RAM, 0x8000,
PROT_READ | PROT_WRITE,
MAP_FIXED | MAP_PRIVATE | MAP_ANON,
-1, 0);
was used to get the ram/rom/ect where it needed to be. I have just seen
that wine may have problems with prelink and stack smashers. Will this
effect tuxnes?
Also I currently get a "RAM mmap: Invalid argument" from the above?
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
More information about the Gcc-help
mailing list