/[gxemul]/trunk/src/devices/dev_dec_ioasic.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_dec_ioasic.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Copyright (C) 2004-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2004-2007  Anders Gavare.  All rights reserved.
3   *   *
4   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
5   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_dec_ioasic.c,v 1.15 2006/01/01 13:17:16 debug Exp $   *  $Id: dev_dec_ioasic.c,v 1.17 2007/01/28 14:15:30 debug Exp $
29   *     *  
30   *  DECstation "3MIN" and "3MAX" IOASIC device.   *  DECstation "3MIN" and "3MAX" IOASIC device.
31   *   *
# Line 187  DEVICE_ACCESS(dec_ioasic) Line 187  DEVICE_ACCESS(dec_ioasic)
187    
188                          /*  Make sure that the CPU interrupt is deasserted as                          /*  Make sure that the CPU interrupt is deasserted as
189                              well:  */                              well:  */
190                          if (idata != 0)  fatal("TODO: interrupt rewrite!\n");
191                                  cpu_interrupt_ack(cpu, 8 + idata);  abort();
192    //                      if (idata != 0)
193    //                              cpu_interrupt_ack(cpu, 8 + idata);
194                  }                  }
195                  break;                  break;
196    
# Line 196  DEVICE_ACCESS(dec_ioasic) Line 198  DEVICE_ACCESS(dec_ioasic)
198                  if (writeflag == MEM_WRITE) {                  if (writeflag == MEM_WRITE) {
199                          d->reg[(IOASIC_IMSK - IOASIC_SLOT_1_START) / 0x10] =                          d->reg[(IOASIC_IMSK - IOASIC_SLOT_1_START) / 0x10] =
200                              idata;                              idata;
201                          cpu_interrupt_ack(cpu, 8 + 0);  fatal("TODO: interrupt rewrite!\n");
202    abort();
203    //                      cpu_interrupt_ack(cpu, 8 + 0);
204                  } else                  } else
205                          odata = d->reg[(IOASIC_IMSK - IOASIC_SLOT_1_START) /                          odata = d->reg[(IOASIC_IMSK - IOASIC_SLOT_1_START) /
206                              0x10];                              0x10];

Legend:
Removed from v.22  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26