Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!petunia!news From: araftis@polyslo.CalPoly.EDU (Alex Raftis) Newsgroups: comp.sys.apple2 Subject: Help with Programmable Drivers Message-ID: <27430daf.2a61@petunia.CalPoly.EDU> Date: 15 Nov 90 21:50:39 GMT Reply-To: sjacques@polyslo.CalPoly.EDU (Shawn D. Jacques) Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407 Lines: 24 Question for all you IIgs C wizards: I'm writing a program that I would like to be able to load drivers for. I know it's possible to load them on a IIgs, but I don't know have much of an idea of where to start. Ie, what's the basic code to do such I thing such as using what calls to the system loader must be made, and how to I get my code in memory to recognize the driver's entry points? Pseudocode or actual code would be appreciated. Also, when are the limitations of doing this? Can I only call to the loaded segment or can that segment call functions in my main program code. Also, would this segment be able to access global program variables, and can the global program access local variables in the driver? PS. if you care, I'm writing a terminal program (yet another one) and I'd like to support drivers and terminal emulations that a user could write. -- -------------------------------------------------- Internet: araftis@polyslo.CalPoly.EDU America Online: xela (Real Life: Alex Raftis)