Path: utzoo!utgpu!water!watmath!clyde!att-cb!osu-cis!tut.cis.ohio-state.edu!mailrus!umix!uunet!ndsuvax!ncreed From: ncreed@ndsuvax.UUCP (Walter Reed) Newsgroups: comp.sys.amiga Subject: Re: LVOs and SetFunction Message-ID: <750@ndsuvax.UUCP> Date: 29 Mar 88 04:15:00 GMT References: <8803060000.AA29981@cory.Berkeley.EDU> <661@applix.UUCP> <924@rmi.UUCP> <1764@sugar.UUCP> Reply-To: ncreed@ndsuvax.UUCP (Walter Reed) Organization: North Dakota State University Fargo, ND Lines: 29 In article <1764@sugar.UUCP> schaub@sugar.UUCP (Markus Schaub) writes: :In article <924@rmi.UUCP>, shimoda@rmi.UUCP (Markus Schmidt) writes: :> In article <1581@sugar.UUCP> schaub@sugar.UUCP (Markus Schaub) writes: :> : :> : How do you access the parameters of ScrollRaster? My magic book tells me :> : that there are 7 parameters available in 7 registers. :> :> Maybe the description for "C" may help you: :> ScrollRaster(rp, dx,dy, xmin,ymin, xmax,ymax) : 1 2 3 4 5 6 7 hey you also know that there :are 7 parameters. The question remains. How do you access the parameters if :you write your replacement ScrollRaster in C. I never heard of any way of :getting parameters in registers instead of having them pushed on the STACK. :(In C that is, M2Amiga has that feature) Lattice C 4.0 has a feature called pragma. Pragma allows the bypass of amiga.lib and accesses the rom routines directly, passing the parameters via registers instead of the stack. If you have the FD files, you could probably find a way to do this in older versions of lattice or another vendors C. (BTW, I don't have my lattice manual next to me, so I could have this a little messed up...) : : // Markus Schaub | The Modula-2 People: -- /* Walter Reed UUCP : uunet!ndsuvax!ncreed Internet : ncreed%NDSUVAX.BITNET@CUNYVM.CUNY.EDU Ph 701-235-0774 Bitnet : ncreed@ndsuvax OR NU105451@NDSUVM1 ------------------- */