Fascinating compiler glue from a bygone era. You'll be pleased to know the 2.0 version of echo makes standard dos.library calls like ReadArgs() Output() FWrite() FPutC(..., '\n') on a typical run. They exposed all the internals as documented API calls.