> The kernel actually contains code to do DMA output to the parallel port,
> no need to rewrite that support yourself.
Thx, but how can I write i.e. 100 bytes to port? outb function send one
byte, and now I must call 100 times outb function to send all data. In DMA
mode I can put buffer address to send...
> Quoted from Damian Parus on Fri, Mar 28, 2003 at 08:51:24AM +0100.
> > Hello
> > I must write program which send data to paraller port via DMA. I switch in
> > bios paraller port mode to ECP, but how i must send data to port? I know
> > that i must use set_dma_addr(), enable_dma() etc functions, but, for
> > example, which dma channel I must use? Wihich address must be in
> > set_dma_addr()? And finally, wihich function I must use to write to port
> > :)? Only write to memory? Maybe someone have source of program for
> > example?
> > Sorry for my english, is not very well, but I'm from Poland and... I know,
> > I know, I should learn :(
> > Thanks for help,
> > Damian Parus
> > PS. Sorry for my second email (possibly) but I'm not sure that I Was send
> > that previous time... Sorry.
> > -- To unsubscribe, send mail to: email@example.com --
> > -- with the single word "unsubscribe" in the body of the message. --
> Blaise Gassend firstname.lastname@example.org
> MIT Laboratory for Computer Science (617) 253-7343
> Room NE43-212, Cambridge, MA 02141 http://blaisegassend.com
-- To unsubscribe, send mail to: email@example.com --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 03:34:09 EST