Make stage-1 debugging code stateless
Make stage-1 debugging code stateless

Previously the debug routines in the debugging code would modify
ax. These new values save ax and restore it when done so they
no longer change the state of the system when they are called.

vdamewood/Petrichor,vendu/Ukko,vdamewood/Petrichor,vendu/Ukko,vdamewood/Petrichor,vendu/Ukko