Xref: utzoo comp.sys.amiga.tech:887 comp.sys.amiga:19615
Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!lll-lcc!well!ewhac
From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga
Subject: Re: DiskObject
Message-ID: <6148@well.UUCP>
Date: 2 Jun 88 08:25:53 GMT
References: <4725@watdcsu.waterloo.edu> <54486@sun.uucp> <4751@watdcsu.waterloo.edu> <2135@ur-tut.UUCP>
Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Distribution: na
Organization: The FOX Network.  For people who just can't get enough bad TV.
Lines: 27

In article <2135@ur-tut.UUCP> dpvc@tut.cc.rochester.edu.UUCP (Davide P. Cervone) writes:
>In article <4751@watdcsu.waterloo.edu> debate2@watdcsu.waterloo.edu (Dave Oh) writes:
>>The GetDiskObject call returns a pointer to FAST ram, for gadget, diskobject
>>and image... I've tried to CopyMem(&dobj->do_Gadget.GadgetRender,&nimage,
>>sizeof(struct Image)); and I get a lock up!  Even in Manx SDB.

	Try this:

	CopyMem (&dobj -> do_Gadget.GadgetRender,
		 &nimage,
-->		 (LONG) sizeof (struct Image));

	This is probably what's killing you.

>But doesn't CopyMem use the blitter to move the memory?  [ ... ]

	No.  I use it in FAST all the time.

>If I'm wrong about CopyMem using the blitter, then you can ignore this message.
>
	Oh.  Okay......

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape  ihnp4!pacbell -\
 \_ -_		Recumbent Bikes:	      dual ---> !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor