Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!columbia!cunixc!cck From: cck@cunixc.UUCP Newsgroups: comp.sys.mac Subject: Re: Lisa Pascal Compatibility? Message-ID: <122@cunixc.columbia.edu> Date: Thu, 17-Sep-87 10:07:39 EDT Article-I.D.: cunixc.122 Posted: Thu Sep 17 10:07:39 1987 Date-Received: Sat, 19-Sep-87 08:52:29 EDT References: <791@uhccux.UUCP> Reply-To: cck@cunixc.columbia.edu (Charlie C. Kim) Organization: Columbia University Center for Computing Activities Lines: 34 Keywords: Lisa Pascal, MPW Pascal, LS Pascal If you have assembler code, then if it must be non-a5 relative (e.g. interrupt level routine), you must be careful about the way you define it. In particular, the standard coding methodology is something like: procn proc export data code endp but this ends up with a5 relative code. recoding this as: someprocset proc export procn: endp will give you non-a5 relative code. Other than this, the problems with Band, etc (which as I remember, actually only occurs with one release of MPW (1.0.2?)), different include file locations, and non-truncated identifier names, I think you'll find things pretty easy. I've ported a 10K line program from Lisa Pascal to MPW in a couple of days - the only major problem was because of the a5 relative addressing in the assembler (it was ddp listener code that should not have been a5 relative - this took a week to figure out - mostly because I assumed that MPW did the right thing :-). Charlie C. Kim User Services Columbia University