Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!cedar!mills-cl From: mills-cl@cedar.cis.ohio-state.edu (christopher mills) Newsgroups: comp.sys.amiga Subject: Re: amiga.lib calls... Message-ID: <6418@tut.cis.ohio-state.edu> Date: 11 Feb 88 00:05:19 GMT References: <8802091727.AA09035@jade.berkeley.edu> Sender: news@tut.cis.ohio-state.edu Organization: The Ohio State University Dept of Computer and Information Science Lines: 31 [] > Does anyone know how to [c]all routines in the amiga.lib library from >assembly language? I certanly hope so. The ones with the LVO's are called with the parameters in registers, relative to the library base pointer in A6, ie: xref LVOOpenScreen move.l _IntuitionBase,a6 lea newscreen,a0 jsr LVOOpenScreen(a6) The ones that don't have LVO's are C calls, and have their args on the stack. They have an underscore in front, ie: xref _OpenScreen pea newscreen jsr _OpenScreen -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _____________________ | Christopher Mills. (_)________________ \ | mills-cl@polaris.cis.ohio-state.edu ________________|\ \ | (_)______________\_\ \ | Current thought: Death before dongles. ______________________\ | (_)____________________| | DISCLAMER: I really wish I could blame | my thoughts on someone else... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-