Most BASICS, however, are not quite that straight forward. For example, the IBM-PC prints like the following.

Notice that your printer is receiving decimal code 13 (hex OD) is coming with hex OA, which is really decimal 10. In addition, your printer does not receive decimal code 26 (hex 1A).

Your printer prints hex numbers 16 per line, with printing the characters on the right side. If it receives less than 16, it sits in a holding pattern, awaiting more data. Taking the printer off line dumps the characters to the paper.

To debug a program quickly, just use the hex dump capabili- - ty. Appendix B will help you translate the hex codes to ASCII equivalents.

-

-

Page 96
Image 96
Star Micronics NB-15 user manual