2068 Screen Copy for Gemini 10X

Developer(s): Renato Zannese
Date: 1988
Type: Program
Platform(s): TS 2068
Tags: Printer

A machine-code screen dump that copies the TS2068 display to a Star Gemini 10X dot-matrix printer. The BASIC loader POKEs the 140-byte routine to 24320 from DATA; RANDOMIZE USR 24320 then sets the printer’s line spacing and graphics mode with escape codes and sends the screen as bit-image graphics, using the TS2068 ROM routines at 2609 and 2009 hex. The printer is driven through port 127 (an AERCO-type interface), waiting for bit 4 to signal ready.

As printed, the FOR loop in line 40 reads 141 values but the DATA holds 140, so the loader ends with E Out of DATA after POKEing the whole routine; the code is complete. Line 999 (PRINT #4: SAVE “Copy.B1”) saves to a Larken disk and is not needed on tape. The listing also has the author’s disassembly, in which the LD A,31 at 5F67 is struck out by hand while the DATA keeps it.

Published in Sinc-Link March-April 1988 (Screen Copy for Gemini 10X).

Related Articles

Program to dump screen images to the Gemini 10X dot matrix printer.

Image Gallery

Source Code

Loader
5 REM By Renato Zannese
10 REM 2068 Screen Copy For
20 REM Gemeni 10X printer
25 REM To copy =>
30 REM RANDOMIZE USR 24320
40 FOR a=24320 TO 24320+140
50 READ x
60 POKE a,x
70 NEXT a
100 DATA 205,083,095,001,000
105 DATA 175,038,026,104,069
110 DATA 022,007,229,245,197
115 DATA 062,175,144,063,048
120 DATA 010,205,009,038,071
125 DATA 004,126,007,016,253
130 DATA 031,203,020,193,241
135 DATA 203,028,225,023,005
140 DATA 021,032,255,230,127
145 DATA 205,065,095,012,032
150 DATA 214,062,010,205,065
155 DATA 095,037,040,070,205
160 DATA 108,095,024,200,000
165 DATA 245,205,009,032,056
170 DATA 002,241,201,219,127
175 DATA 203,103,032,243,241
180 DATA 211,127,201,062,027
185 DATA 205,065,095,062,077
190 DATA 205,065,095,062,020
195 DATA 205,065,095,062,027
200 DATA 205,065,095,062,049
205 DATA 205,065,095,062,027
210 DATA 205,065,095,062,075
215 DATA 205,065,095,062,000
220 DATA 205,065,095,062,001
225 DATA 205,065,095,201,062
230 DATA 027,205,065,095,062
235 DATA 064,205,065,095,201
990 REM
999 PRINT #4: SAVE "Copy.B1"

Disassembly

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.