Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcuhb!hpindda!tribby From: tribby@hpindda.HP.COM (David Tribby) Newsgroups: comp.sys.apple Subject: Re: Apple Pascal Message-ID: <6230032@hpindda.HP.COM> Date: 1 Jun 89 17:52:41 GMT References: <8905312202.aa17727@SMOKE.BRL.MIL> Organization: HP Information Networks Group/Cupertino CA Lines: 23 V133JR65@UBVMSC.CC.BUFFALO.EDU ("J.WIXSON") writes... > I just recently got out my old copies of Apple Pascal v1.3 or something and > couldn't find a program that I picked up a while back that allowed me to > directly use machine language routines from the pascal program. If you want to write your own machine language, use SYSTEM.ASSEMBLER :-). If you mean the built-in Apple II ROM routines, be careful! Seems like I read about such a program in a CALL A.P.P.L.E. book that collected articles on Apple Pascal (published in the early '80s). Since Apple Pascal runs in the Language card, any program that calls the ROM must enable the ROM address space before the call and re-establish the proper RAM bank before returning to the P-system. Also watch out for modifications to zero page that might step on P-system variables! It's also possible to call the P-system's BIOS routines (without too much trouble) from your own assembly language or Pascal code. So...which machine language routines do you want to call? --Dave Tribby - - - - - ARPA: tribby%hpda@hplabs.HP.COM UUCP: hplabs!hpda!tribby