From b3a6a12ddc95f8bdf5dd47993fedbd7d4a9af42d Mon Sep 17 00:00:00 2001 From: BigEd Date: Sun, 14 Nov 2010 20:15:49 +0000 Subject: [PATCH] adding URL control of IRQ and NMI pins --- expertWires.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/expertWires.js b/expertWires.js index b0d8616..fbb014a 100644 --- a/expertWires.js +++ b/expertWires.js @@ -188,6 +188,14 @@ function setupParams(){ clockTriggers[value]="setLow('res');"; } else if(name=="reset1" && parseInt(value)!=NaN){ clockTriggers[value]="setHigh('res');"; + } else if(name=="irq0" && parseInt(value)!=NaN){ + clockTriggers[value]="setLow('irq');"; + } else if(name=="irq1" && parseInt(value)!=NaN){ + clockTriggers[value]="setHigh('irq');"; + } else if(name=="nmi0" && parseInt(value)!=NaN){ + clockTriggers[value]="setLow('nmi');"; + } else if(name=="nmi1" && parseInt(value)!=NaN){ + clockTriggers[value]="setHigh('nmi');"; } else // run a test program, and optionally check against a golden checksum if(name=="steps" && parseInt(value)!=NaN){