delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/01/11:33:28

From: "Carlos Giani_AEN2003 (M2003)" <DARKVALE AT pcc DOT tgm DOT ac DOT at>
Organization: TGM / PCC
To: djgpp AT delorie DOT com
Date: Mon, 1 Mar 1999 16:14:23 MET-1MDT
Subject: BUG - the 2nd edition :)
X-mailer: Pegasus Mail v3.22
Message-ID: <49E2AE2F5B@pcc.tgm.ac.at>
Reply-To: djgpp AT delorie DOT com

The bug EXISTS! BELIEVE ME!

I can prove it. For a long time, I didn't know why my SB code doesn't 
work with single-cycle DMA. Then I tried to rewrite the line
 
  dmaMode=(autoinit) ? 0x58 : 0x48;
  
    to
    
  dmaMode=(autoinit!=FALSE) ? 0x58 : 0x48;
  
And suddenly single-cycle DMA worked! You see?

FALSE is a preprocessor constant.
  #define FALSE     0
  
Ok?

+-----------------------------------------------------+
| Carlos Giani_AEN2003, PC-Club (M2003)               |
| TGM - Schule der Technik, Abteilung Elektronik      |
|                                                     |
| During holidays or weekends use this email-address: |
| darkvale AT fcmail DOT com                                 |
+-----------------------------------------------------+

- Raw text -


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