sy2002 / QNICE-FPGA

QNICE-FPGA is a 16-bit computer system for recreational programming built as a fully-fledged System-on-a-Chip in portable VHDL.
http://qnice-fpga.com
Other
69 stars 15 forks source link

Emulator shows weird addresses in prompt #159

Closed sy2002 closed 3 years ago

sy2002 commented 3 years ago

Here is an example: A breakpoint is set to $8A20. After the breakpoint is reached, the prompt shows $8BA0.

grafik

A quick check using rdump shows, that the PC is indeed at $8A20 (where it should be), so the prompt is obviously wrong.

bernd-ulmann commented 3 years ago

Fixed (at least my simple breakpoint test worked). :-)

sy2002 commented 3 years ago

@bernd-ulmann Basic smoke test fails: It is not possible to single step using step any more with this fix: How to reproduce: Set breakpoint and then try to step.

bernd-ulmann commented 3 years ago

sigh I should not try to "fix" things so late at night... Please give it another try - it should work now... Sorry!

sy2002 commented 3 years ago

will gladly try, but you need to PUSH your local git first :-)

bernd-ulmann commented 3 years ago

ARGL I did push but did not notice that it failed due to a merge required... I merged and pushed again... Time to go to bed, I think. :-)

sy2002 commented 3 years ago

Works :-) 👍