6502.org Forum  Projects  Code  Resources  Tools  Forum
It is currently Sun May 26, 2013 12:07 am

All times are UTC




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Tue Mar 23, 2010 7:15 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1636
Location: San Diego, CA
Not a problem -- just wanted to make sure, since we have the two threads already, that they stay relatively on topic. Otherwise, detangling the mess of threads gets horrifyingly confusing.


Top
 Profile  
 
PostPosted: Sat Sep 01, 2012 9:59 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 2800
Location: Southern California
Would any of our programmable-logic people be interested in taking up the project of making this kind of DMA controller for the 65816? It should be pretty simple, at least compared to doing it for the 6502.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 3:52 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 1601
Location: Rural Will County, Illinois USA
GARTHWILSON wrote:
Would any of our programmable-logic people be interested in taking up the project of making this kind of DMA controller for the 65816? It should be pretty simple, at least compared to doing it for the 6502.

Which kind? The topic thread discusses several approaches, of which use of MLB, VDA and VPA would seem most applicable to the '816.

_________________
x86? We ain't got no x86. We don't need no stinking x86!


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 4:00 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1636
Location: San Diego, CA
Hello again. Just poking in to contribute here, since this is more or less relevant to my FPGA activities right now. What isn't made clear here is what the DMA controller will be used for. Is this intended for use with a generic hardware interface of some kind, sort of like the DMA channels on the PC/XT and ISA buses? Or, will this entail a complete bus master implementation? The answer will determine how to go about building such a controller.


Top
 Profile  
 
PostPosted: Sun Sep 02, 2012 5:04 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 1601
Location: Rural Will County, Illinois USA
kc5tja wrote:
Hello again. Just poking in to contribute here, since this is more or less relevant to my FPGA activities right now. What isn't made clear here is what the DMA controller will be used for. Is this intended for use with a generic hardware interface of some kind, sort of like the DMA channels on the PC/XT and ISA buses? Or, will this entail a complete bus master implementation? The answer will determine how to go about building such a controller.

Howdy, Samuel. In my area of interest, I would entertain the idea of it acting as a bus master. My specific application would be to enhance SCSI I/O throughput. I'm currently simulating the effect of a DMA controller by having the MPU manipulate the 53C94's /DACK input and polling the chip's DREQ output. Although this "DMA simulation" adds cycles to the basic I/O loop, it still runs pretty fast—nearly 500KB/second on burst transfers of 48KB. However, a DMA controller that can act as a bus master could easily achieve 6-8 times that performance, nearly equal to that of the SCSI bus' throughput in synchronous mode.

At one time I had given some thought to the idea of rigging up a 65C02 to act as a DMA controller, with the 'C94's DREQ output tied to the 'C02's IRQB input and the latter sitting on a WAI instruction with IRQs disabled, which results in a one cycle response time to the 'C94 saying it has, or is ready for, data. I abandoned the idea after doing some cycle counts—it would have been, at best, twice as fast as the current method, being limited by the 'C02's ability to read and write memory.

In my opinion, any DMA controller intended to run with the '816 would have to effectively transfer a byte per 2-3 clock cycles to be worth the bother. The throughput with such a device could reach 6-10 MB/second, certainly nothing to sneeze at. I suppose with suitably fast silicon, a byte per clock cycle would be feasible, something that I would be very enthusiastic about. :D

_________________
x86? We ain't got no x86. We don't need no stinking x86!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: