Home » CEEFAX disks » telesoftware1.adl » General/VIEWPRE

General/VIEWPRE

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware1.adl
Filename: General/VIEWPRE
Read OK:
File size: 09D4 bytes
Load address: 1900
Exec address: 8023
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10 REM Preview printer driver
   20 REM for VIEW
   30 REM By Pete Johnson
   40 REM (c) The Micro User
   50 DIM code &200
   60 origin=&400
   70 sx      = 8
   80 sy      = 16
   90 maxy    = 1020
  100 oswrch  = &FFEE
  110 osrdch  = &FFE0
  120 white   = 3
  130 cls     = 12
  140 cr      = 13
  150 gcol    = 18
  160 mode    = 22
  170 plot    = 25
  180 moveRel = 0
  190 drawRel = 1
  200 moveAbs = 4
  210 maxHt   = 144
  220 lines   = &26
  230 chars   = 90
  240 FOR pass=4 TO 6 STEP 2
  250 P%=origin
  260 O%=code
  270 [ opt pass
  280   jmp printChar
  290   jmp printerOn
  300 .printerOff
  310   rts
  320 .savex
  330   EQUB 0
  340 .savea
  350   EQUB 0
  360 .setOpt
  370   rts
  380 .col
  390   EQUB 0
  400 .lcount
  410   EQUB 0
  420 .getHmi
  430   rts
  440 .y
  450   EQUW 0
  460 .printerOn
  470   lda #white
  480   jsr doGcol
  490 .page
  500   lda #0
  510   sta lcount
  520   lda #cls
  530   jsr oswrch
  540   ldx #maxy MOD &100
  550   lda #maxy DIV &100
  560   jsr move0y
  570   ldx #0
  580 .pageLp
  590   lda plotTab,X
  600   jsr oswrch
  610   inx
  620   cpx #endTab-plotTab
  630   bne pageLp
  640   rts
  650 .doPlot
  660   lda #plot
  670   jmp oswrch
  680 .move0y
  690   stx y
  700   sta y+1
  710   jsr doPlot
  720   lda #moveAbs
  730   jsr oswrch
  740   jsr nulwrch2
  750   txa
  760   jsr oswrch
  770   lda y+1
  780   jmp oswrch
  790 .doGcol
  800   sta col
  810   lda #gcol
  820   jsr oswrch
  830   jsr nulwrch
  840   lda col
  850   jmp oswrch
  860 .nulwrch2
  870   jsr nulwrch
  880 .nulwrch
  890   lda #0
  900   jmp oswrch
  910 .printChar
  920   sta savea
  930   stx savex
  940   cmp #cr
  950   beq doCr
  960   cmp #ASC" "
  970   beq doSpace
  980   tax
  990   bpl doChar
 1000 .doHt
 1010   cmp #maxHt
 1020   bcs printRet
 1030   and #1
 1040   bne doHt1
 1050   lda #2
 1060 .doHt1
 1070   eor col
 1080   jsr doGcol
 1090   jmp printRet
 1100 .doSheet
 1110   jsr osrdch
 1120   jsr page
 1130 .printRet
 1140   lda savea
 1150   ldx savex
 1160   rts
 1170 .doCr
 1180   inc lcount
 1190   lda lcount
 1200   cmp lines
 1210   beq doSheet
 1220   sec
 1230   lda y
 1240   sbc #sy
 1250   tax
 1260   lda y+1
 1270   sbc #0
 1280   jsr move0y
 1290   jmp printRet
 1300 .doSpace
 1310   ldx #moveRel
 1320   beq doSpace1 ;Always
 1330 .doChar
 1340   ldx #drawRel
 1350 .doSpace1
 1360   jsr doPlot
 1370   txa
 1380   jsr oswrch
 1390   lda #sx
 1400   jsr oswrch
 1410   jsr nulwrch2
 1420   jsr nulwrch
 1430   jmp printRet
 1440 .plotTab
 1450   EQUS FNplot2(sx*chars,0)+FNplot2(0,-maxy)+FNplot2(-sx*chars,0)+FNplot2(0,maxy)
 1460 .endTab
 1470 ]
 1480 NEXT
 1490 PRINT"(";~P%-origin")"
 1500 IF P%-origin>&100 THEN PRINT"Too big..."
 1510 OSCLI"SAVE PREVIEW "+STR$~code+" "+STR$~O%
 1520 END
 1530 DEF FNplot2(x%,y%)=CHR$plot+CHR$2+CHR$x%+CHR$((x%AND&FFFF)/&100)+CHR$y%+CHR$((y%AND&FFFF)/&100)

 � Preview printer driver
 � for VIEW
 � By Pete Johnson
( � (c) The Micro User
2 � code &200
< origin=&400
F sx      = 8
P sy      = 16
Z maxy    = 1020
d oswrch  = &FFEE
n osrdch  = &FFE0
x white   = 3
� cls     = 12
� cr      = 13
� gcol    = 18
� mode    = 22
� plot    = 25
� moveRel = 0
� drawRel = 1
� moveAbs = 4
� maxHt   = 144
� lines   = &26
� chars   = 90
� � pass=4 � 6 � 2
� P%=origin
 O%=code
 [ opt pass
   jmp printChar
"   jmp printerOn
, .printerOff
6
   rts
@ .savex
J
   EQUB 0
T .savea
^
   EQUB 0
h .setOpt
r
   rts
|	 .col
�
   EQUB 0
� .lcount
�
   EQUB 0
� .getHmi
�
   rts
� .y
�
   EQUW 0
� .printerOn
�   lda #white
�   jsr doGcol
�
 .page
�
   lda #0
�   sta lcount
   lda #cls
   jsr oswrch
   ldx #maxy � &100
&   lda #maxy � &100
0   jsr move0y
:
   ldx #0
D .pageLp
N   lda plotTab,X
X   jsr oswrch
b
   inx
l   cpx #endTab-plotTab
v   bne pageLp
�
   rts
� .doPlot
�   lda #plot
�   jmp oswrch
� .move0y
�   stx y
�   sta y+1
�   jsr doPlot
�   lda #moveAbs
�   jsr oswrch
�   jsr nulwrch2
�
   txa
�   jsr oswrch
   lda y+1
   jmp oswrch
 .doGcol
    sta col
*   lda #gcol
4   jsr oswrch
>   jsr nulwrch
H   lda col
R   jmp oswrch
\ .nulwrch2
f   jsr nulwrch
p
 .nulwrch
z
   lda #0
�   jmp oswrch
� .printChar
�   sta savea
�   stx savex
�   cmp #cr
�   beq doCr
�   cmp #�" "
�   beq doSpace
�
   tax
�   bpl doChar
�
 .doHt
�   cmp #maxHt
�   bcs printRet

   and #1
   bne doHt1

   lda #2
$ .doHt1
.   eor col
8   jsr doGcol
B   jmp printRet
L
 .doSheet
V   jsr osrdch
`   jsr page
j .printRet
t   lda savea
~   ldx savex
�
   rts
�
 .doCr
�   inc lcount
�   lda lcount
�   cmp lines
�   beq doSheet
�
   sec
�   lda y
�   sbc #sy
�
   tax
�   lda y+1
�
   sbc #0
   jsr move0y

   jmp printRet

 .doSpace
   ldx #moveRel
(   beq doSpace1 ;Always
2 .doChar
<   ldx #drawRel
F .doSpace1
P   jsr doPlot
Z
   txa
d   jsr oswrch
n   lda #sx
x   jsr oswrch
�   jsr nulwrch2
�   jsr nulwrch
�   jmp printRet
�
 .plotTab
�Q   EQUS �plot2(sx*chars,0)+�plot2(0,-maxy)+�plot2(-sx*chars,0)+�plot2(0,maxy)
� .endTab
� ]
� �
� �"(";~P%-origin")"
�% � P%-origin>&100 � �"Too big..."
�% �"SAVE PREVIEW "+�~code+" "+�~O%
� �
�K � �plot2(x%,y%)=�plot+�2+�x%+�((x%�&FFFF)/&100)+�y%+�((y%�&FFFF)/&100)
�
00000000  0d 00 0a 1d 20 f4 20 50  72 65 76 69 65 77 20 70  |.... . Preview p|
00000010  72 69 6e 74 65 72 20 64  72 69 76 65 72 0d 00 14  |rinter driver...|
00000020  0f 20 f4 20 66 6f 72 20  56 49 45 57 0d 00 1e 16  |. . for VIEW....|
00000030  20 f4 20 42 79 20 50 65  74 65 20 4a 6f 68 6e 73  | . By Pete Johns|
00000040  6f 6e 0d 00 28 19 20 f4  20 28 63 29 20 54 68 65  |on..(. . (c) The|
00000050  20 4d 69 63 72 6f 20 55  73 65 72 0d 00 32 10 20  | Micro User..2. |
00000060  de 20 63 6f 64 65 20 26  32 30 30 0d 00 3c 10 20  |. code &200..<. |
00000070  6f 72 69 67 69 6e 3d 26  34 30 30 0d 00 46 10 20  |origin=&400..F. |
00000080  73 78 20 20 20 20 20 20  3d 20 38 0d 00 50 11 20  |sx      = 8..P. |
00000090  73 79 20 20 20 20 20 20  3d 20 31 36 0d 00 5a 13  |sy      = 16..Z.|
000000a0  20 6d 61 78 79 20 20 20  20 3d 20 31 30 32 30 0d  | maxy    = 1020.|
000000b0  00 64 14 20 6f 73 77 72  63 68 20 20 3d 20 26 46  |.d. oswrch  = &F|
000000c0  46 45 45 0d 00 6e 14 20  6f 73 72 64 63 68 20 20  |FEE..n. osrdch  |
000000d0  3d 20 26 46 46 45 30 0d  00 78 10 20 77 68 69 74  |= &FFE0..x. whit|
000000e0  65 20 20 20 3d 20 33 0d  00 82 11 20 63 6c 73 20  |e   = 3.... cls |
000000f0  20 20 20 20 3d 20 31 32  0d 00 8c 11 20 63 72 20  |    = 12.... cr |
00000100  20 20 20 20 20 3d 20 31  33 0d 00 96 11 20 67 63  |     = 13.... gc|
00000110  6f 6c 20 20 20 20 3d 20  31 38 0d 00 a0 11 20 6d  |ol    = 18.... m|
00000120  6f 64 65 20 20 20 20 3d  20 32 32 0d 00 aa 11 20  |ode    = 22.... |
00000130  70 6c 6f 74 20 20 20 20  3d 20 32 35 0d 00 b4 10  |plot    = 25....|
00000140  20 6d 6f 76 65 52 65 6c  20 3d 20 30 0d 00 be 10  | moveRel = 0....|
00000150  20 64 72 61 77 52 65 6c  20 3d 20 31 0d 00 c8 10  | drawRel = 1....|
00000160  20 6d 6f 76 65 41 62 73  20 3d 20 34 0d 00 d2 12  | moveAbs = 4....|
00000170  20 6d 61 78 48 74 20 20  20 3d 20 31 34 34 0d 00  | maxHt   = 144..|
00000180  dc 12 20 6c 69 6e 65 73  20 20 20 3d 20 26 32 36  |.. lines   = &26|
00000190  0d 00 e6 11 20 63 68 61  72 73 20 20 20 3d 20 39  |.... chars   = 9|
000001a0  30 0d 00 f0 15 20 e3 20  70 61 73 73 3d 34 20 b8  |0.... . pass=4 .|
000001b0  20 36 20 88 20 32 0d 00  fa 0e 20 50 25 3d 6f 72  | 6 . 2.... P%=or|
000001c0  69 67 69 6e 0d 01 04 0c  20 4f 25 3d 63 6f 64 65  |igin.... O%=code|
000001d0  0d 01 0e 0f 20 5b 20 6f  70 74 20 70 61 73 73 0d  |.... [ opt pass.|
000001e0  01 18 14 20 20 20 6a 6d  70 20 70 72 69 6e 74 43  |...   jmp printC|
000001f0  68 61 72 0d 01 22 14 20  20 20 6a 6d 70 20 70 72  |har..".   jmp pr|
00000200  69 6e 74 65 72 4f 6e 0d  01 2c 10 20 2e 70 72 69  |interOn..,. .pri|
00000210  6e 74 65 72 4f 66 66 0d  01 36 0a 20 20 20 72 74  |nterOff..6.   rt|
00000220  73 0d 01 40 0b 20 2e 73  61 76 65 78 0d 01 4a 0d  |s..@. .savex..J.|
00000230  20 20 20 45 51 55 42 20  30 0d 01 54 0b 20 2e 73  |   EQUB 0..T. .s|
00000240  61 76 65 61 0d 01 5e 0d  20 20 20 45 51 55 42 20  |avea..^.   EQUB |
00000250  30 0d 01 68 0c 20 2e 73  65 74 4f 70 74 0d 01 72  |0..h. .setOpt..r|
00000260  0a 20 20 20 72 74 73 0d  01 7c 09 20 2e 63 6f 6c  |.   rts..|. .col|
00000270  0d 01 86 0d 20 20 20 45  51 55 42 20 30 0d 01 90  |....   EQUB 0...|
00000280  0c 20 2e 6c 63 6f 75 6e  74 0d 01 9a 0d 20 20 20  |. .lcount....   |
00000290  45 51 55 42 20 30 0d 01  a4 0c 20 2e 67 65 74 48  |EQUB 0.... .getH|
000002a0  6d 69 0d 01 ae 0a 20 20  20 72 74 73 0d 01 b8 07  |mi....   rts....|
000002b0  20 2e 79 0d 01 c2 0d 20  20 20 45 51 55 57 20 30  | .y....   EQUW 0|
000002c0  0d 01 cc 0f 20 2e 70 72  69 6e 74 65 72 4f 6e 0d  |.... .printerOn.|
000002d0  01 d6 11 20 20 20 6c 64  61 20 23 77 68 69 74 65  |...   lda #white|
000002e0  0d 01 e0 11 20 20 20 6a  73 72 20 64 6f 47 63 6f  |....   jsr doGco|
000002f0  6c 0d 01 ea 0a 20 2e 70  61 67 65 0d 01 f4 0d 20  |l.... .page.... |
00000300  20 20 6c 64 61 20 23 30  0d 01 fe 11 20 20 20 73  |  lda #0....   s|
00000310  74 61 20 6c 63 6f 75 6e  74 0d 02 08 0f 20 20 20  |ta lcount....   |
00000320  6c 64 61 20 23 63 6c 73  0d 02 12 11 20 20 20 6a  |lda #cls....   j|
00000330  73 72 20 6f 73 77 72 63  68 0d 02 1c 17 20 20 20  |sr oswrch....   |
00000340  6c 64 78 20 23 6d 61 78  79 20 83 20 26 31 30 30  |ldx #maxy . &100|
00000350  0d 02 26 17 20 20 20 6c  64 61 20 23 6d 61 78 79  |..&.   lda #maxy|
00000360  20 81 20 26 31 30 30 0d  02 30 11 20 20 20 6a 73  | . &100..0.   js|
00000370  72 20 6d 6f 76 65 30 79  0d 02 3a 0d 20 20 20 6c  |r move0y..:.   l|
00000380  64 78 20 23 30 0d 02 44  0c 20 2e 70 61 67 65 4c  |dx #0..D. .pageL|
00000390  70 0d 02 4e 14 20 20 20  6c 64 61 20 70 6c 6f 74  |p..N.   lda plot|
000003a0  54 61 62 2c 58 0d 02 58  11 20 20 20 6a 73 72 20  |Tab,X..X.   jsr |
000003b0  6f 73 77 72 63 68 0d 02  62 0a 20 20 20 69 6e 78  |oswrch..b.   inx|
000003c0  0d 02 6c 1a 20 20 20 63  70 78 20 23 65 6e 64 54  |..l.   cpx #endT|
000003d0  61 62 2d 70 6c 6f 74 54  61 62 0d 02 76 11 20 20  |ab-plotTab..v.  |
000003e0  20 62 6e 65 20 70 61 67  65 4c 70 0d 02 80 0a 20  | bne pageLp.... |
000003f0  20 20 72 74 73 0d 02 8a  0c 20 2e 64 6f 50 6c 6f  |  rts.... .doPlo|
00000400  74 0d 02 94 10 20 20 20  6c 64 61 20 23 70 6c 6f  |t....   lda #plo|
00000410  74 0d 02 9e 11 20 20 20  6a 6d 70 20 6f 73 77 72  |t....   jmp oswr|
00000420  63 68 0d 02 a8 0c 20 2e  6d 6f 76 65 30 79 0d 02  |ch.... .move0y..|
00000430  b2 0c 20 20 20 73 74 78  20 79 0d 02 bc 0e 20 20  |..   stx y....  |
00000440  20 73 74 61 20 79 2b 31  0d 02 c6 11 20 20 20 6a  | sta y+1....   j|
00000450  73 72 20 64 6f 50 6c 6f  74 0d 02 d0 13 20 20 20  |sr doPlot....   |
00000460  6c 64 61 20 23 6d 6f 76  65 41 62 73 0d 02 da 11  |lda #moveAbs....|
00000470  20 20 20 6a 73 72 20 6f  73 77 72 63 68 0d 02 e4  |   jsr oswrch...|
00000480  13 20 20 20 6a 73 72 20  6e 75 6c 77 72 63 68 32  |.   jsr nulwrch2|
00000490  0d 02 ee 0a 20 20 20 74  78 61 0d 02 f8 11 20 20  |....   txa....  |
000004a0  20 6a 73 72 20 6f 73 77  72 63 68 0d 03 02 0e 20  | jsr oswrch.... |
000004b0  20 20 6c 64 61 20 79 2b  31 0d 03 0c 11 20 20 20  |  lda y+1....   |
000004c0  6a 6d 70 20 6f 73 77 72  63 68 0d 03 16 0c 20 2e  |jmp oswrch.... .|
000004d0  64 6f 47 63 6f 6c 0d 03  20 0e 20 20 20 73 74 61  |doGcol.. .   sta|
000004e0  20 63 6f 6c 0d 03 2a 10  20 20 20 6c 64 61 20 23  | col..*.   lda #|
000004f0  67 63 6f 6c 0d 03 34 11  20 20 20 6a 73 72 20 6f  |gcol..4.   jsr o|
00000500  73 77 72 63 68 0d 03 3e  12 20 20 20 6a 73 72 20  |swrch..>.   jsr |
00000510  6e 75 6c 77 72 63 68 0d  03 48 0e 20 20 20 6c 64  |nulwrch..H.   ld|
00000520  61 20 63 6f 6c 0d 03 52  11 20 20 20 6a 6d 70 20  |a col..R.   jmp |
00000530  6f 73 77 72 63 68 0d 03  5c 0e 20 2e 6e 75 6c 77  |oswrch..\. .nulw|
00000540  72 63 68 32 0d 03 66 12  20 20 20 6a 73 72 20 6e  |rch2..f.   jsr n|
00000550  75 6c 77 72 63 68 0d 03  70 0d 20 2e 6e 75 6c 77  |ulwrch..p. .nulw|
00000560  72 63 68 0d 03 7a 0d 20  20 20 6c 64 61 20 23 30  |rch..z.   lda #0|
00000570  0d 03 84 11 20 20 20 6a  6d 70 20 6f 73 77 72 63  |....   jmp oswrc|
00000580  68 0d 03 8e 0f 20 2e 70  72 69 6e 74 43 68 61 72  |h.... .printChar|
00000590  0d 03 98 10 20 20 20 73  74 61 20 73 61 76 65 61  |....   sta savea|
000005a0  0d 03 a2 10 20 20 20 73  74 78 20 73 61 76 65 78  |....   stx savex|
000005b0  0d 03 ac 0e 20 20 20 63  6d 70 20 23 63 72 0d 03  |....   cmp #cr..|
000005c0  b6 0f 20 20 20 62 65 71  20 64 6f 43 72 0d 03 c0  |..   beq doCr...|
000005d0  10 20 20 20 63 6d 70 20  23 97 22 20 22 0d 03 ca  |.   cmp #." "...|
000005e0  12 20 20 20 62 65 71 20  64 6f 53 70 61 63 65 0d  |.   beq doSpace.|
000005f0  03 d4 0a 20 20 20 74 61  78 0d 03 de 11 20 20 20  |...   tax....   |
00000600  62 70 6c 20 64 6f 43 68  61 72 0d 03 e8 0a 20 2e  |bpl doChar.... .|
00000610  64 6f 48 74 0d 03 f2 11  20 20 20 63 6d 70 20 23  |doHt....   cmp #|
00000620  6d 61 78 48 74 0d 03 fc  13 20 20 20 62 63 73 20  |maxHt....   bcs |
00000630  70 72 69 6e 74 52 65 74  0d 04 06 0d 20 20 20 61  |printRet....   a|
00000640  6e 64 20 23 31 0d 04 10  10 20 20 20 62 6e 65 20  |nd #1....   bne |
00000650  64 6f 48 74 31 0d 04 1a  0d 20 20 20 6c 64 61 20  |doHt1....   lda |
00000660  23 32 0d 04 24 0b 20 2e  64 6f 48 74 31 0d 04 2e  |#2..$. .doHt1...|
00000670  0e 20 20 20 65 6f 72 20  63 6f 6c 0d 04 38 11 20  |.   eor col..8. |
00000680  20 20 6a 73 72 20 64 6f  47 63 6f 6c 0d 04 42 13  |  jsr doGcol..B.|
00000690  20 20 20 6a 6d 70 20 70  72 69 6e 74 52 65 74 0d  |   jmp printRet.|
000006a0  04 4c 0d 20 2e 64 6f 53  68 65 65 74 0d 04 56 11  |.L. .doSheet..V.|
000006b0  20 20 20 6a 73 72 20 6f  73 72 64 63 68 0d 04 60  |   jsr osrdch..`|
000006c0  0f 20 20 20 6a 73 72 20  70 61 67 65 0d 04 6a 0e  |.   jsr page..j.|
000006d0  20 2e 70 72 69 6e 74 52  65 74 0d 04 74 10 20 20  | .printRet..t.  |
000006e0  20 6c 64 61 20 73 61 76  65 61 0d 04 7e 10 20 20  | lda savea..~.  |
000006f0  20 6c 64 78 20 73 61 76  65 78 0d 04 88 0a 20 20  | ldx savex....  |
00000700  20 72 74 73 0d 04 92 0a  20 2e 64 6f 43 72 0d 04  | rts.... .doCr..|
00000710  9c 11 20 20 20 69 6e 63  20 6c 63 6f 75 6e 74 0d  |..   inc lcount.|
00000720  04 a6 11 20 20 20 6c 64  61 20 6c 63 6f 75 6e 74  |...   lda lcount|
00000730  0d 04 b0 10 20 20 20 63  6d 70 20 6c 69 6e 65 73  |....   cmp lines|
00000740  0d 04 ba 12 20 20 20 62  65 71 20 64 6f 53 68 65  |....   beq doShe|
00000750  65 74 0d 04 c4 0a 20 20  20 73 65 63 0d 04 ce 0c  |et....   sec....|
00000760  20 20 20 6c 64 61 20 79  0d 04 d8 0e 20 20 20 73  |   lda y....   s|
00000770  62 63 20 23 73 79 0d 04  e2 0a 20 20 20 74 61 78  |bc #sy....   tax|
00000780  0d 04 ec 0e 20 20 20 6c  64 61 20 79 2b 31 0d 04  |....   lda y+1..|
00000790  f6 0d 20 20 20 73 62 63  20 23 30 0d 05 00 11 20  |..   sbc #0.... |
000007a0  20 20 6a 73 72 20 6d 6f  76 65 30 79 0d 05 0a 13  |  jsr move0y....|
000007b0  20 20 20 6a 6d 70 20 70  72 69 6e 74 52 65 74 0d  |   jmp printRet.|
000007c0  05 14 0d 20 2e 64 6f 53  70 61 63 65 0d 05 1e 13  |... .doSpace....|
000007d0  20 20 20 6c 64 78 20 23  6d 6f 76 65 52 65 6c 0d  |   ldx #moveRel.|
000007e0  05 28 1b 20 20 20 62 65  71 20 64 6f 53 70 61 63  |.(.   beq doSpac|
000007f0  65 31 20 3b 41 6c 77 61  79 73 0d 05 32 0c 20 2e  |e1 ;Always..2. .|
00000800  64 6f 43 68 61 72 0d 05  3c 13 20 20 20 6c 64 78  |doChar..<.   ldx|
00000810  20 23 64 72 61 77 52 65  6c 0d 05 46 0e 20 2e 64  | #drawRel..F. .d|
00000820  6f 53 70 61 63 65 31 0d  05 50 11 20 20 20 6a 73  |oSpace1..P.   js|
00000830  72 20 64 6f 50 6c 6f 74  0d 05 5a 0a 20 20 20 74  |r doPlot..Z.   t|
00000840  78 61 0d 05 64 11 20 20  20 6a 73 72 20 6f 73 77  |xa..d.   jsr osw|
00000850  72 63 68 0d 05 6e 0e 20  20 20 6c 64 61 20 23 73  |rch..n.   lda #s|
00000860  78 0d 05 78 11 20 20 20  6a 73 72 20 6f 73 77 72  |x..x.   jsr oswr|
00000870  63 68 0d 05 82 13 20 20  20 6a 73 72 20 6e 75 6c  |ch....   jsr nul|
00000880  77 72 63 68 32 0d 05 8c  12 20 20 20 6a 73 72 20  |wrch2....   jsr |
00000890  6e 75 6c 77 72 63 68 0d  05 96 13 20 20 20 6a 6d  |nulwrch....   jm|
000008a0  70 20 70 72 69 6e 74 52  65 74 0d 05 a0 0d 20 2e  |p printRet.... .|
000008b0  70 6c 6f 74 54 61 62 0d  05 aa 51 20 20 20 45 51  |plotTab...Q   EQ|
000008c0  55 53 20 a4 70 6c 6f 74  32 28 73 78 2a 63 68 61  |US .plot2(sx*cha|
000008d0  72 73 2c 30 29 2b a4 70  6c 6f 74 32 28 30 2c 2d  |rs,0)+.plot2(0,-|
000008e0  6d 61 78 79 29 2b a4 70  6c 6f 74 32 28 2d 73 78  |maxy)+.plot2(-sx|
000008f0  2a 63 68 61 72 73 2c 30  29 2b a4 70 6c 6f 74 32  |*chars,0)+.plot2|
00000900  28 30 2c 6d 61 78 79 29  0d 05 b4 0c 20 2e 65 6e  |(0,maxy).... .en|
00000910  64 54 61 62 0d 05 be 06  20 5d 0d 05 c8 06 20 ed  |dTab.... ].... .|
00000920  0d 05 d2 17 20 f1 22 28  22 3b 7e 50 25 2d 6f 72  |.... ."(";~P%-or|
00000930  69 67 69 6e 22 29 22 0d  05 dc 25 20 e7 20 50 25  |igin")"...% . P%|
00000940  2d 6f 72 69 67 69 6e 3e  26 31 30 30 20 8c 20 f1  |-origin>&100 . .|
00000950  22 54 6f 6f 20 62 69 67  2e 2e 2e 22 0d 05 e6 25  |"Too big..."...%|
00000960  20 ff 22 53 41 56 45 20  50 52 45 56 49 45 57 20  | ."SAVE PREVIEW |
00000970  22 2b c3 7e 63 6f 64 65  2b 22 20 22 2b c3 7e 4f  |"+.~code+" "+.~O|
00000980  25 0d 05 f0 06 20 e0 0d  05 fa 4b 20 dd 20 a4 70  |%.... ....K . .p|
00000990  6c 6f 74 32 28 78 25 2c  79 25 29 3d bd 70 6c 6f  |lot2(x%,y%)=.plo|
000009a0  74 2b bd 32 2b bd 78 25  2b bd 28 28 78 25 80 26  |t+.2+.x%+.((x%.&|
000009b0  46 46 46 46 29 2f 26 31  30 30 29 2b bd 79 25 2b  |FFFF)/&100)+.y%+|
000009c0  bd 28 28 79 25 80 26 46  46 46 46 29 2f 26 31 30  |.((y%.&FFFF)/&10|
000009d0  30 29 0d ff                                       |0)..|
000009d4
General/VIEWPRE.m0
General/VIEWPRE.m1
General/VIEWPRE.m2
General/VIEWPRE.m4
General/VIEWPRE.m5