mirror of
https://github.com/trebonian/visual6502.git
synced 2024-12-27 14:29:55 +00:00
add URL control of some Z80 inputs
This commit is contained in:
parent
74762264c1
commit
b0c40b9e7b
@ -20,6 +20,7 @@ ab14: 19,
|
||||
ab15: 20,
|
||||
_reset: 21,
|
||||
_wait: 22,
|
||||
wait: 22,
|
||||
_int: 23,
|
||||
int: 23,
|
||||
_irq: 23,
|
||||
@ -27,6 +28,7 @@ irq: 23,
|
||||
_nmi: 24,
|
||||
nmi: 24,
|
||||
_busrq: 25,
|
||||
busrq: 25,
|
||||
_m1: 26,
|
||||
_rd: 27,
|
||||
_wr: 28,
|
||||
|
@ -216,6 +216,20 @@ function setupParams(){
|
||||
clockTriggers[value]=[clockTriggers[value],"setLow('so');"].join("");
|
||||
} else if(name=="so1" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setHigh('so');"].join("");
|
||||
// Some Z80 inputs - we can refactor if this becomes unwieldy
|
||||
} else if(name=="int0" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setLow('int');"].join("");
|
||||
} else if(name=="int1" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setHigh('int');"].join("");
|
||||
} else if(name=="wait0" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setLow('wait');"].join("");
|
||||
} else if(name=="wait1" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setHigh('wait');"].join("");
|
||||
} else if(name=="busrq0" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setLow('busrq');"].join("");
|
||||
} else if(name=="busrq1" && parseInt(value)!=NaN){
|
||||
clockTriggers[value]=[clockTriggers[value],"setHigh('busrq');"].join("");
|
||||
//
|
||||
} else if(name=="time" && parseInt(value)!=NaN){
|
||||
eventTime=value;
|
||||
} else if(name=="databus" && parseInt(value)!=NaN){
|
||||
|
Loading…
Reference in New Issue
Block a user