OpenCores
URL https://opencores.org/ocsvn/t48/t48/trunk

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_5_beta/] [sw/] [i8039emu/] [i8039.c] - Diff between revs 52 and 58

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 52 Rev 58
Line 7... Line 7...
 *        Please, notify me, if you make any changes to this file           *
 *        Please, notify me, if you make any changes to this file           *
 *                                                                          *
 *                                                                          *
 *    Adapted for the T48 uController project, 2004 by Arnim Laeuger        *
 *    Adapted for the T48 uController project, 2004 by Arnim Laeuger        *
 *      See http://www.opencores.org/projects.cgi/web/t48/overview          *
 *      See http://www.opencores.org/projects.cgi/web/t48/overview          *
 *                                                                          *
 *                                                                          *
 * $Id: i8039.c,v 1.2 2004-04-14 20:52:01 arniml Exp $
 * $Id: i8039.c,v 1.3 2004-04-15 22:03:53 arniml Exp $
 *                                                                          *
 *                                                                          *
 *  **** Change Log ****                                                    *
 *  **** Change Log ****                                                    *
 *                                                                          *
 *                                                                          *
 *  TLP (19-Jun-2001)                                                       *
 *  TLP (19-Jun-2001)                                                       *
 *   - Changed Ports 1 and 2 to quasi bidirectional output latched ports    *
 *   - Changed Ports 1 and 2 to quasi bidirectional output latched ports    *
Line 815... Line 815...
 
 
 
 
/****************************************************************************
/****************************************************************************
 * Set IRQ line state
 * Set IRQ line state
 ****************************************************************************/
 ****************************************************************************/
static void set_irq_line(int irqline, int state)
void set_irq_line(int irqline, int state)
{
{
    if (state != CLEAR_LINE) {
    if (state != CLEAR_LINE) {
        R.irq_state = I8039_EXTERNAL_INT;
        R.irq_state = I8039_EXTERNAL_INT;
        R.irq_extra_cycles += Ext_IRQ();        /* Handle External IRQ */
        R.irq_extra_cycles += Ext_IRQ();        /* Handle External IRQ */
    }
    }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.