Emulator kind of crashes after reset
sy2002 opened this issue · 4 comments
sy2002 commented
sy2002 commented
sorry, wrong reproduction scheme. closing.
sy2002 commented
Well maybe it is the right reproduction scheme: @bernd-ulmann how should reset
actually behave?
bernd-ulmann commented
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.
sy2002 commented
OK, then I guess this is behaving as intended. Closing.