delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/02/11:51:21

Date: Tue, 2 Nov 1999 17:16:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rob Kramer <robk AT pop1 DOT cyberway DOT com DOT sg>
cc: djgpp AT delorie DOT com
Subject: Re: DMA despair.
In-Reply-To: <199911021448.WAA19846@westgate.cyberway.com.sg>
Message-ID: <Pine.SUN.3.91.991102171127.22558C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 2 Nov 1999, Rob Kramer wrote:

> The IRQ is determined by the BIOS, and can be queried through a PCI 
> register. The MPEG chip is the first PCI device, which is usually IRQ 
> 10h. I think the lack of interrupts is a symptom of my DMA-problems..

It is worth to verify the last assumption.

IRQ 10h, you say?  What interrupt does this trigger, and how do you set 
up the Interrupt Controller to generate an interrupt for IRQ 10h?  I only 
know about IRQ 0-15 (decimal).

If you mean IRQ 10 decimal, then try reading the Interrupt Request
Register and Interrupt In-Service Register of the slave Interrupt
Controller, and see if IRQ 10 is triggered. 

> Sorry, I realise my question is spinning out of control, in order for 
> anyone to give me the ultimate clue he/she would need to have 
> in-depth knowledge of the hardware in use. If I could  just be 
> certain the I'm doing things right with the DMA physical address.. 
> sigh. 

Based on your description and sample code, I don't see anything wrong 
with the buffer and its address.  That's why I suspect the problem is 
elsewhere.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019