Xref: utzoo comp.sys.apple2:12834 comp.sys.ibm.pc.misc:7190 Path: utzoo!news-server.csri.toronto.edu!rutgers!ukma!wuarchive!usc!elroy.jpl.nasa.gov!jarthur!nntp-server.caltech.edu!antonyc From: antonyc@nntp-server.caltech.edu (Antony Chan) Newsgroups: comp.sys.apple2,comp.sys.ibm.pc.misc Subject: Re: Apple IIe Simulators for IBM PC Message-ID: <1991Mar7.121153.15783@nntp-server.caltech.edu> Date: 7 Mar 91 12:11:53 GMT References: <91065.133333RMC100@psuvm.psu.edu> <1991Mar6.222141.9175@iitmax.iit.edu> Organization: California Institute of Technology, Pasadena Lines: 91 well, the way i make new disk images is like this: 1) get an apple ][ something with a serial card (the faster the better) 2) get a pc with a serial card and some drive space open (at least 2 meg) 3) get mskermit 4) get a wire to connect the two machines (3-conductor type that works (type depends on apple serial card)) 5) run ms kermit 6) determine in which slot the apple's serial card is (should be 3) (at least that's what this script thinks) 7) do a in#3 and a pr#3 on the apple (warning: you sorta hafta know what you're doing) 8) run this kermit script: ------------------------------ output \13 output CALL -151 \13 output 300: A9 0 8D F0 B7 8D EB B7 8D EC B7 8D ED B7 A9 10 8D F1 B7 \13 output 313: A9 B7 A0 E8 20 B5 B7 EE F1 B7 EE ED B7 AD ED B7 C9 10 90 EC \13 output 327: 20 3A 03 A9 0 8D ED B7 EE EC B7 AD EC B7 C9 23 90 D5 60 \13 output 33A: A9 00 85 3C A9 FF 85 3E A9 10 85 3D A9 1F 85 3F 20 B3 FD 60 \13 log session output 300G \13 connect close all -------------------------------- 9) edit the kermit log to get rid of the obviously out of place stuff at the beginning and/or end of the file (warning: this is a HUGE text file that requires a manly editor) 10) compile this c program: (we used msc600) ------------------------------------- /* * Turn an Apple II monitor ROM hex dump back into binary data * usage: hex < hex_data */ #include main() { char buf[100]; int i, j; FILE *k; int addr; int m[8]; unsigned char c; k=fopen("disk.bin","wb"); while (fgets(buf, 100, stdin) != NULL) { i = sscanf(buf, "%x- %x %x %x %x %x %x %x %x", &addr, &m[0], &m[1], &m[2], &m[3], &m[4], &m[5], &m[6], &m[7]); for (j = 1; j < i; j++) { fputc(m[j-1],k); } } fclose(k); } ----------------------------------------- 11) use program per usage instructions (program courtesy of pete wenzel) (he did the kermit script as well) (he's pmwenzel@tybalt.caltech.edu) (gotta mention that somewhere, he did all the work) example usage: hex < session.log 12) image file will be called disk.bin (143360 bytes exactly) 13) remember that if this didn't work, i don't know why. and that's all. 13 easy steps. :P Good Luck (and i mean it) actually, 14) i think that nyet@tybalt.caltech.edu does know what the problem was. (he said he likes to answer questions)