And this bug can be also fixed:
http://zx.pk.ru/showthread.php?t=12301
All this TRDOS ROMS contain patch for refresh value of register HL' after use trdos command RETURN. This patched roms return correct to basic after "break LIST command + use RETURN" ). Also will work return from machine code with modified HL' register.
PATCH IN TR-DOS ROMS:
ORG #1D13
JP PATCH
ORG #332C ;(adress can be different in other trdos versions)
PATCH EXX
LD HL,#2758
EXX
JR NZ,END
DEC HL
LD (#5C3D),HL
END RET