Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!decvax!dartvax!earleh From: earleh@dartvax.UUCP (Earle R. Horton) Newsgroups: comp.sys.mac Subject: Can ROM fonts be modified? Message-ID: <7695@dartvax.UUCP> Date: Sun, 6-Dec-87 20:28:26 EST Article-I.D.: dartvax.7695 Posted: Sun Dec 6 20:28:26 1987 Date-Received: Sat, 12-Dec-87 06:18:33 EST Organization: disorganized Lines: 39 Keywords: Sure. 1) Remove the ROMs from your Mac. Find someone with a PROM programmer which can dump their contents to a disk file on your Mac through the serial port. Temporarilly replace the ROMs if you have only one Mac to work with. Since the PROM programmer will probably send the file to your Mac in hex format, determine at this point the specifications for the hex format so you can convert it to a raw byte file. 2) Ask your Apple dealer to recommend a compatible EPROM type to replace the ROMs in your Mac. If he doesn't know, go back to the fellow with the PROM programmer, who can probably help you figure it out. 3) Extract the FONT resource to a resource file. You may have to write a program to do this. Make a copy of this file to work with. 4) Determine the size of the FONT resource which you have extracted from the ROM. The new ROM FONT resource which you will create must be no larger than this. 5) Modify the FONT in your work file to your specifications. Take care that you do not increase its size. 6) Compare the contents of the file created in (1) with those of your original FONT file from (2), and determine the starting address of the FONT in ROM. 7) Write a program to replace the FONT in the raw file with the modified FONT which you have created. After this step, you are ready to program your new set of ROMs. If you have an SE, you might at this point consider how YOUR picture would look in there. Take care when you do this to REPLACE the bytes in your original raw file, and never INSERT bytes when replacing ROM resources. 8) I'm just kidding, but wouldn't it be fun? -- ********************************************************************* *Earle R. Horton, H.B. 8000, Dartmouth College, Hanover, NH 03755 * *********************************************************************