This would work similar to the stimulus file used for the ADC, which places characters from the file into the ADRES buffer on demand.
ARDUINO SERIAL PORT MONITOR SIMULATOR
PStechPaul It seems to me that it would be fairly easy for the simulator to send characters from the TxD buffer to the terminal window, and have a separate window to accept keyboard characters and put them into the RxD buffer.
But fortunately I had uploaded the files to the forum in a thread last March, and I was able to download the package and restore the project. So the BMS_1825_1x12V project files were lost. I was able to get what I thought were all the important files, but apparently I forgot that the MPLABX projects were stored under my user name account and not My Documents and PICcode folders. As of the start of 2019, I decided to switch to the Win10 machine for everything, but it developed problems with the hard drive. I had been using my Win8 computer for most things, and my Win10 machine mostly for PIC projects. BTW, my battery monitor project shown above also uses the PIC16F1825, and I found the source code. George Pauley is good about monitoring that, and might be able to say if it can be done. Perhaps I'll start a thread in the Simulator forum. And there could be a hook to the TxD interrupt that would transfer characters to the display window. It seems to me that it would be fairly easy for the simulator to send characters from the TxD buffer to the terminal window, and have a separate window to accept keyboard characters and put them into the RxD buffer.
I was never able to get it to work as I thought it should.
I had thought that the simulator could send text to the terminal window, and possibly even use it to receive characters typed from the computer keyboard.