Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!ncr-sd!serene!cbmami!jason From: jason@cbmami.UUCP (Jason Goldberg) Newsgroups: comp.sys.amiga.misc Subject: Re: SetCPU help Message-ID: <18daf161.ARN0f5d@cbmami.UUCP> Date: 20 Mar 91 08:50:25 GMT References: <3026@gould.doc.ic.ac.uk> <19989@cbmvax.commodore.com> Reply-To: jason@cbmami.UUCP Followup-To: comp.sys.amiga.misc Distribution: comp.sys.amiga.misc, comp.sys.amiga.hardware Lines: 25 In article <19989@cbmvax.commodore.com>, Dave Haynie writes: > You can do something like this in C, for 256K ROMs. > > void main() { > FILE *file = fopen("SYS:KickStart","w"); > char *buf = (char *)0x00fc0000; > > if (file) { > fwrite(buf,1,0x00040000,file); > fclose(file); > } > } > Can you imagine a MAC engineer giving code to dump Apple ROMs to disk? :-) P.S. Won't the software guys yell at you for going straight to that hardware address? -Jason- --------------------------------------------------------------------------- Jason Goldberg UUCP: ucsd!serene!cbmami!jason Del Mar, CA