Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!elroy!gryphon!pnet02!mriley
From: mriley@pnet02.cts.com (Mark Riley)
Newsgroups: comp.sys.amiga
Subject: Re: Assembly Blues
Message-ID: <5542@gryphon.CTS.COM>
Date: 13 Aug 88 20:00:17 GMT
Sender: root@gryphon.CTS.COM
Organization: People-Net [pnet02], Redondo Beach, CA.
Lines: 20

Try adding the following to the code that opens the libraries:

>        movea.l 4,a6                    ;directly load exec base
>        lea     intname,a1              ;get intuition.library
         MOVEQ #0,D0                     ;LIBRARY VERSION NUMBER       
>        jsr     _LVOOpenLibrary(a6)     ;open it
>        move.l  d0,intbase              ;save pointer 
>
>        lea     grpname,a1              ;get graphics.library
         MOVEQ #0,D0                     ;LIBRARY VERSION NUMBER       
>        jsr     _LVOOpenLibrary(a6)     ;open it
>        move.l  d0,grpbase              ;save pointer

Also, in the new screen structure take out the WBENCHSCREEN and make it
a zero.  Good luck, -Mark-

UUCP: {ucbvax!ucsd,rutgers}!crash!gryphon!pnet02!mriley
INET: mriley@pnet02.cts.com

"Hey, I don't _use_ programs, I write them..."  ;-)