Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Proteus 8086 interrupt problem - PLEASE HELP

Status
Not open for further replies.

xitjuvla

Newbie level 3
Joined
May 22, 2012
Messages
4
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,306
I have a 8086 - 8259a related problem I really need help solving.

I have programmed the 8259a interrupt controller and it interfaces with the CPU just fine except the CPU doesn't wait for the interrupt vector to be set on the D[0..7] BUS! Instead it reads the old BUS value and executes the wrong interrupt. So if I request interrupts 0, 1, 2 consecutively on the 8259 the CPU will execute unknown interrupt (depending on the last bus cycle) then interrupt 0, then interrupt 2.

I am using the bus transceiver connected to the DT/R 8086 pin.

PLEASE HELP, I've been trying to solve this for the past 12 hours!
Thank you!

Also, any working 8086 proteus designs using 8259 and/or 8254 would be useful if you could share them!
 

if you solve this for me, I will post a complete crossroad traffic light control scheme!
please, any ideas are welcome!
 

    V

    Points: 2
    Helpful Answer Positive Rating
here is the trace.
notice that the interrupt vector 0x04 is put to DBus and the interrupt 0x03 is fired (0x03 is the last value that appeared on ADBus)
trace.jpg
 

I am still strugling with this and really need any info as to how to fix it.
I've tried this in versions 7.8 sp2, 7.9 sp1 and 7.10 sp0 and it's always the same.

could this be a bug in Proteus 8086 model (i8086.dll)? and if so, is there a way to fix it (edit model somehow?)

thanks!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top