Article View: comp.sys.amiga.tech
Article #9002Re: DiskObject
From: Leo 'Bols Ewhac' Schwab
Date: Thu, 02 Jun 1988 08:25
Date: Thu, 02 Jun 1988 08:25
27 lines
1672 bytes
1672 bytes
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
Technical Details
Message-ID:
<6148@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!lll-lcc!well!ewhacReferences:
<4725@watdcsu.waterloo.edu> <54486@sun.uucp> <4751@watdcsu.waterloo.edu> <2135@ur-tut.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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