home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!TEETOT.ACUSD.EDU!gs
- From: gs@TEETOT.ACUSD.EDU (Greg Simon)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Help with KS rom images...
- Message-ID: <9208260327.AA05572@teetot.acusd.edu>
- Date: 26 Aug 92 03:27:29 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 45
-
-
- Hi all--
-
- I found this short C program on a local BBS. It simply copies a ROM
- image to file ( specifically Kickstart 2.04 ). Then with SetCPU, one
- can load it into the MMU or whatever...
-
- ***************************************************
-
- #include <stdio.h>
-
- void main(int argc, char *argv) {
- FILE *f = fopen("df0:kickstart2.04","w");
- char *r = (char *)0x00f80000L;
-
- if (!f) {
- printf("Can't get file or RAM\n");
- exit(10);
- }
-
- fwrite(r, 0x80000L, 1L, f);
- fclose(f);
- }
-
- ***************************************************
-
- What I want to do, is run it (or a modified version of it) on a 1.3
- machine, copy the KS 1.3 image to a file (approx 256K, I think), and
- then emulate 1.3 under 2.04 in order to use those programs which don't
- work properly under 2.04.
- Now, I realize that there may be some legal problem with this; but I
- own both the ROMS 1.3 & 2.04.
-
- Can anybody suggest modifications to this short program that will copy a
- 1.3 ROM image to a file?
-
- Please send me e-mail -- Thanks a lot!!!
-
- -- Greg Simon
-
- <gs@teetot.acusd.edu>
-
- University of San Diego
- Electrical Engineering
-
-