OpenCores

cpu6502_tc - R6502 Processor Soft Core with accurate timing

Issue List
NMI,IRQ BUB #3
Closed hwt69love opened this issue almost 15 years ago
hwt69love commented almost 15 years ago

nmi,irq bug report by hwt69 email: ****

data: 2010-2-7.

project details 1,core nanme : cpu6502_tc cpu6502_true_cycle 2,Language : vhdl 3,OS: windows xp professional sp3 4,cpu6502_tc IP CORE VER:

-- VHDL Entity R6502_TC.R6502_TC.symbol

-- Created: -- by - eda.UNKNOWN (ENTWICKL4-XP-PR)

-- at - 11:47:57 23.02.2009

-- Generated by Mentor Graphics' HDL Designer(TM) 2007.1a (Build 13) 5, MAIN FILE DATE : 2009-2-16


my project run good: 1,use actel AFS600 2,use vhdl program 3,My project is completey nearly

4,My project is run OK, but IRQ,NMI,result in keyboard is not work.

bug report 1,I found NMI,IRQ run ERROR, they break instructions currently. so subroution return error

posiontion. program run over! 2,IRQ have others error,I am not understand. 3, add some Figure to you. 4. file name: nmi_stack_in.bmp, nmi_stack_out.bmp, irq_stack_in.bmp, irq_stack_out.bmp.

fpga_is_funny commented almost 15 years ago

The interrupted instruction "JMP 9004" was not terminated correctly while detecting the interrupt. In result of that "JMP 9004" was splitted and stacked wrong.

I'll fix this bug in the next week. Many thanks for downloading and using cpu6502_tc! Best Regards Jens/fpga_is_funny

hwt69love commented almost 15 years ago

Thank you very much!

9004 EA NOP 9005 4C JMP 9004 9006 04 <----- NMI BREAK THERE!! BIG ERROR! 9007 90 9008 00 BRK (NO USED) 9009 00 BRK (NO USED)

hwt/hwt69love

fpga_is_funny closed this over 14 years ago

Assignee
No one
Labels
Bug