Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!mailrus!wasatch!cs.utexas.edu!sun-barr!newstop!sun!kilowatt!raz From: raz%kilowatt@Sun.COM (Steve -Raz- Berry) Newsgroups: comp.sys.amiga.tech Subject: Re: DMA or polling (was Re: GVP controller) Message-ID: <120533@sun.Eng.Sun.COM> Date: 10 Aug 89 01:39:09 GMT References: <8908072207.AA14796@jade.berkeley.edu> <120232@sun.Eng.Sun.COM>Sender: news@sun.Eng.Sun.COM Reply-To: raz@sun.UUCP (Steve -Raz- Berry) Organization: Sun Microsystems, Mountain View Lines: 37 In article atheybey@lcs.mit.edu (Andrew Heybey) writes: >In article <120232@sun.Eng.Sun.COM> raz%kilowatt@Sun.COM (Steve -Raz- Berry) writes: > [I delete my own diatribe in comparing and contrasting DMA vrs polling] > >Sounds like a good argument to me. That said, I've got a GVP and as >soon as I can scrape together the cash to buy a drive, I'll even have >it installed :-(. *If* GVP's software has this hypothetical tight >loop to transfer data, I should be able to win big by installing a >68010, no? The three word instruction loop will definitely help your performance *if* GVP wrote their software that way. BTW, the 3 bus cycle figure is more than likely wrong for a plain jane 68K, mainly cause I didn't figure in the instruction fetches. Probably more like 6 or so. So for a 68010, you only have to count the data transfers. I'd guess a bus cycle for data fetch from the drive, and a bus cycle for storing to the destination memory. You still have some latency waiting for the CPU to decrement and branch to the start of the loop, but this is still not too bad. start: move.w (a0),(a1)+ ;move data from fifo to destination. dbeq d0,start ;decrement counter and loop. That should fit into the three word '010 instruction cache. Of course you still win bigger with a DMA card. >Am I all wet? Has anyone disassembled their GVP driver to find out >what's going on in there? I'd be curious to find out too. --- Steve -Raz- Berry Disclaimer: It wasn't me! I was volatilizing my esters. UUCP: sun!kilowatt!raz ARPA: raz%kilowatt.EBay@sun.com KILOWATT: sun!kilowatt!archive-server archive-server%kilowatt.EBay@sun.com