Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!yale!cs.yale.edu!kishon-amir From: kishon-amir@CS.Yale.EDU (amir kishon) Newsgroups: comp.sys.mac.programmer Subject: How can I display alerts in a ROM patch and more... Message-ID: <8873@cs.yale.edu> Date: 18 Dec 89 14:35:42 GMT Sender: news@cs.yale.edu Reply-To: kishon-amir@CS.Yale.EDU (amir kishon) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 21 I am writing a ROM patch and everything works just fine until I want my patch to do more than just add two numbers together i.e. display alerts and windows, write to a resource file. And so my question is: What do I need to do in order to be able to display alerts and windows, write a resource, while in the ROM patch? (it seems to me that the problem is due to the fact that the patch is a detached code block that has no GrafPort and its resource file was already closed after completing its INIT (which installed the patch.) Thanks, -amir kishon =============================================================================== Amir Kishon ARPA: kishon@cs.yale.edu Yale University, Computer Science Dept. kishon@yale.arpa P.O.Box 2158 Yale Station BITNET: kishon@yalecs.bitnet New Haven, CT. 06520-2158 UUCP: ...!yale!kishon (203) 432-1227 ===============================================================================