Sunday, October 2, 2022

Printer Day!

TODAY WAS PRINTER DAY! I HOOKED THE MC-10 UP TO AN APPLE IMAGEWRITER. I HAD TO LUBE UP THE PRINTER AND PUT SOME RUBBING ALCOHOL INTO THE RIBBON TO GET IT WORKING. THE MC-10 IS NOT A GOOD MATCH FOR THIS PRINTER. THE MC-10 OUTPUTS AT 600 BAUD  AND THE IMAGEWRITER DOES NOT HAVE A SETTING FOR THAT. BUT THE MC-10 SPEED IS ADJUSTABLE IN MEMORY, THOUGH NOT PUBLISHED. I MADE A BASIC PROGRAM TO INCREMENT THE BIT DELAY UNTIL IT PRINTED AT 300 BAUD. THEN I HAD TO SET LF ON CR ON THE PRINTER SO IT WOULD ADVANCE LINES. YOU CAN SEE IN THE VIDEO THAT THE OLD PRINTER ROLLER DOES  NOT GRIP THE PAPER WELL, SO I HAVE TO HELP IT ALONG A BIT. I AM VERY HAPPY WITH MY PROGRESS FOR TODAY!

BASIC code samples after the break...

Find the right delay for 300 baud:

5 PRINT PEEK(16932) 10 LET A=128 15 REM "BAUD DELAY IN 16931,16932" 20 POKE 16932,A 30 LPRINT A;" A" 40 LPRINT CHR$(10) 50 LET A=A+1 60 INPUT X$ 70 GOTO 20

Print test message:

10 REM "ABOUT 300 BAUD:" 20 POKE 16932,255 30 FOR X=1 TO 10 40 LPRINT "HELLO IMAGEWRITER" 50 NEXT X

Update! I found a chart of the proper baud rate settings online:

Baud        POKE this value
-------------------------------
   300              241
   600              118
  1200               57
  2400               26
  4800               10
  9600                9

No comments:

Post a Comment