Path: utzoo!attcan!uunet!samsung!munnari.oz.au!metro!cluster!ultima!vilkas From: vilkas@ultima.cs.uts.oz (Jhary a Conel) Newsgroups: comp.sys.amiga.tech Subject: Re: Self Modifying Code! Keywords: help, danger, cache, no flames Message-ID: <18013@ultima.cs.uts.oz> Date: 9 Jul 90 01:33:55 GMT References: <293@smosjc.UUCP> Organization: Comp Sci, NSWIT, Australia Lines: 22 brett@smosjc.UUCP (Brett Coon) writes: >Is there an acceptable means to write self-modifying code on the Amiga? >Assuming for the sake of argument that I have a good reason to do such >a thing (and there's a good chance I don't), can I do it without risking >future compatibility? My current plan is to select one of a few possible >versions of the code at the beginning, and then patch the code to use the >appropriate version. It would be done once, during initialization, so >-brett Maybe I am off the track on this, but have you thought about using the DOS loadseg() command. I am not sure how to use it (never have myself) but if you have the different versions of the code in seperate code segments then you could select which one you want and then use loadseg() to bring it into memory and there would be no need for any self modifying anything. Just a suggestion. Jhary