3 ms·
To overprint a whole line using 0x08, you'd need one 0x08 for each character in the line. So an N-character line overprinted that way would take N3 characters i
by jff 13y ago
To overprint a whole line using 0x08, you'd need one 0x08 for each character in the line. So an N-character line overprinted that way would take N3 characters in memory.
Using CR, you'd need N2 + 1 characters.
- Someone 13y agoEven ignoring additional time needed to send those extra characters, it also was a lot faster than those control-H's, and (I guess) caused way less wear on your printer.
- mzs 13y agoI had a daisey wheel printer in the late '80s that had a few characters of buffer. I had to know that it took quite some time for every CR. It would do the niave bold of the full line with CR, but if it got X^HX it would hit the X and then slide the head over a bit to the right to smear and get the bold effect, which looked much better. It was not uncommon and that's another reason a lot code did it the BS way for OS capable HC devices.
- jff 13y agoUgh, wish I had checked this after sending it, now it's too late to edit. I think the gist of it is clear, but to make sure: Overprinted with 0x08: requires 3N characters Overprinted with CR: requires 2N+1 characters