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: <5564@gryphon.CTS.COM> Date: 14 Aug 88 16:40:17 GMT Sender: root@gryphon.CTS.COM Organization: People-Net [pnet02], Redondo Beach, CA. Lines: 25 In regards to the ASM program to change screen colors: You seem to have rewritten the example, but did you bother to assemble and run it? I'd be very surprised if it worked. The following two lines (it seems to me) need to be changed: > move.l sc_RastPort(a0),myraster > move.l sc_ViewPort(a0),myview To something like this: lea sc_RastPort(a0),a1 move.l a1,myraster lea sc_ViewPort(a0),a1 move.l a1,myview These structures are contained within the screen structure as opposed to the screen structure containing ptrs to them. -Mark- UUCP: {ames!elroy,}!crash!gryphon!pnet02!mriley INET: mriley@pnet02.cts.com "Hey, I don't _use_ programs, I write them..." ;-)