home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4918 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: cix.compulink.co.uk!usenet
  3. From: jralph@cix.compulink.co.uk ("Jolyon Ralph")
  4. Subject: Re: 680X0 -> PPC translator?
  5. Message-ID: <DnuyrH.H0u@cix.compulink.co.uk>
  6. Organization: Compulink Information eXchange
  7. References: <19960306.4307B0.C9EB@an132.du.pipex.com>
  8. Date: Wed, 6 Mar 1996 18:16:29 GMT
  9. X-News-Software: Ameol32
  10.  
  11. > As has already been discussed, code is often misplaced in data hunks 
  12. > and vice versa. How do you intend to handle that?
  13.  
  14. Who cares? In that case the original application was badly written. 
  15. No-one can possibly say a translator will work for 100% of all cases. 
  16. Some code will always break. That's tough.
  17.  
  18. > Of course it isn't. If the translator comes across an instruction which
  19. > overwrites an already existing instruction with DATA, the resulting new
  20. > instruction will be completely wrong, since it will be 680x0 code 
  21.  
  22. Self-modifying code has been frowned upon for a very long time. Again, no 
  23. sensible software should do this now.
  24.  
  25. Sure you've got programs that are compressed into DATA chunks and 
  26. decompress at runtime (powerpacked executables, etc). Those will just 
  27. have to run through standard 680x0 emulation with no speed advantage. 
  28. Better still, depack them.
  29.  
  30. Jolyon
  31.  
  32.  
  33.