[fpc-devel]Direct Memory Access and Iterrupts under Linux
svtvn at bol.com.br
svtvn at bol.com.br
Mon Oct 23 14:41:46 CEST 2000
Michael Van Canneyt wrote:
> Preocupado com vírus?
> Crie seu e-mail grátis do BOL com antivírus!
> http://www.bol.com.br
>
> On Mon, 23 Oct 2000 svtvn at bol.com.br wrote:
>
> > How I can access DMA and Interrupts under Linux? I want make a graph
> > library but it´s need and I can´t do it (it crash my program).
>
> Normally you can't access DMA, unless you write a device driver.
> All you have is access to io ports and certain memory areas.
>
> I suggest you have a look at the svgalib sources and see how they do it.
>
> Michael.
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
Ok! I´ve look at svgalib sources but it´s very hard to understannd. I
understand that it allocate a new virtual console with some system calls and
access your memory area (I´m not sure, but I think is it). I´ve ask because
when I´m configuring my sound card it ask what is DMA address, well, it´s
part of Linux kernel. But other programs can´t acess DMA? I don´t know other
whay to made a graph library (I made a graph library for DOS, it´s easy).
If I´ve wrote some error words it´s because I don´t speak englsh very well.
I´m a brazilian and speak portuguese!
More information about the fpc-devel
mailing list