ovrld,

does not fix it
even local too

there is more wrong than just that , the putwreg function is getting called six times for the wrchar
and only 5 times for the entire putstr call
its a total bitch to debug with all that inline asm , the debugger just
goes stupid

putcmd looks fine on the logic analyser , it all goes pear shaped from then on