sy2002/QNICE-FPGA

Emulator kind of crashes after reset

sy2002 opened this issue · 4 comments

This one is not urgent as the situation can only be provoked, when working with the reset command of the emulator.

Here it is:

grafik

sorry, wrong reproduction scheme. closing.

Well maybe it is the right reproduction scheme: @bernd-ulmann how should reset actually behave?

Reset does the following as of now:

  • Clear all memory locations < IO_AREA_START.
  • Clear all registers.
  • Clear the shadow registers.
  • Reset all statistics counters.
  • Disable interrupts and clear a possibly pending interrupt.
  • Set the switch register to 3.

So after a reset, there is no monitor or anything else in memory. Every memory cell now contains MOVE R0, R0 (ie. a "NOP") and the PC increments until it starts reading (nonsense) from the IO area.

OK, then I guess this is behaving as intended. Closing.