I noticed that the write() call to the video device wasn't returning the number of bytes written on success; it always updated BC (or length pointer param in C) with zero.
This commit sandwiches the print_buffer call between push / pop to retain length. It assumes that the write will always be full-length successful, which seems to be the case.
I noticed that the write() call to the video device wasn't returning the number of bytes written on success; it always updated BC (or length pointer param in C) with zero.
This commit sandwiches the print_buffer call between push / pop to retain length. It assumes that the write will always be full-length successful, which seems to be the case.