[comp.sys.amiga.tech] "pure" programs

matthew@cs.ua.oz.au (Matthew Donaldson) (06/09/90)

Hi.  I was trying to make mg2a resident the other day, but got some
sort of checksum error after the first time I ran it.  I assume this is
because the program is not "pure".  So this is my question: what is a pure
program.  What segments can it modify? Obiously not the code, and some
experiments suggested that the bss also shouldn't be modified.  But what
about the data segment?  I tried to make resident an empty program
(main(){}), compiled with Lattice C 5.02, and it also got a checksum
error, so can anyone tell me what I need to do.

		Thanks in advance,
				Matthew


--
-------
Matthew Donaldson
matthew@cs.ua.oz.au
Operating Systems Group
Computer Science Department
University of Adelaide