Micromite MMBasic Ver 5.05.02 Beta


Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3372
Posted: 08:21am 12 Dec 2018      

  Turbo46 said  Does it wait until it has actually been sent or until the buffer is empty?

It actually waits for the last character to be clocked out of the hardware UART. So nothing will be lost.

  Turbo46 said  Also, do you plan the same update for the DOS version?

No. In the Windows/DOS version writes are not buffered so any command that writes to a serial port will only return when all the data has been sent. There may be one last character being clocked out of the hardware UART but a CLOSE should not disturb it.