Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_12.ADF » EXP
EXP
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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_12.ADF |
Filename: | EXP |
Read OK: | ✔ |
File size: | 0E92 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
File contents
10MODE3:VDU23,1,0;0;0;0;:VDU14:PRINT''"PRESS <SHIFT> TO SCROLL"'':PROCtext 20REPEAT:PRINT"PRESS - <T> for TITLE print <H> for HEADING print" 30PRINT" <S> To SET UP CODE <O> Other programs" 40PRINT" <P> to PRINT TEXT <M> for MAIN MENU" 50REPEAT:A%=INSTR("THSPMO",GET$):UNTILA% 60IFA%=1 THEN CHAIN"$.TPRINT" 70IFA%=2 THEN CHAIN"$.HPRINT" 80IFA%=3 THEN CHAIN"$.ASDUMP" 90IFA%=4 THEN VDU15:VDU2:PROCtext:VDU3 100IFA%=6 MODE4 110IFA%=6 THEN PROCmen2 120*FX15 130IFA%=5 THEN CHAIN"$.MENU" 140UNTIL FALSE 150END 160DEF PROCtext 170PRINT" P R O G R A M S Compiled by RICHARD DIMOND" 180PRINT" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" 190PRINT 200PRINT'"SCREEN DUMPS" 210PRINT"************" 220PRINT"Will has mentioned to me that there have been comments that my Screen" 230PRINT"Dump program in Issue 11 gives a negative printout. All the routines" 240PRINT"I have seen do this. The reason seens to be that as the screen is" 250PRINT"normally black, all unused parts of it would also be printed in black" 260PRINT"if a positive printout is used. It is thus more economical in the" 270PRINT"use of the printer to give a negative printout if the screen is" 280PRINT"mostly black." 290PRINT 300PRINT"While it is easy to change to positive printing by changing the" 310PRINT"patterns at the end of the program, to restrict the area printed you" 320PRINT"need to alter all the co-ordinates and the number of dots per line." 330PRINT"I have now made up a program which allows you to enter these and the" 340PRINT"computer will correctly assemble a M/Code routine to dump the screen" 350PRINT"area required. The routine will work in any Mode and print positive" 360PRINT"or negative printouts." 370PRINT 380PRINT"On running the program, first press the key of the Mode No. then P or" 390PRINT"N for the type of printout. This should be followed by the four" 400PRINT"co-ordinates. These are as the Mode 0 TAB numbers, as these are" 410PRINT"easier to use than the graphics co-ords, the computer works out the" 420PRINT"correct graphics co-ords and dots per line. These are inserted into" 430PRINT"the assembler and the code assembled." 440PRINT 450PRINT"The program will then ask for the Filename of the screen to be" 460PRINT"printed. After printing you will be asked if you wish to SAVE the" 470PRINT"code and if so asks for a Filename to SAVE. This allows you to try" 480PRINT"the code to see whether it correctly prints the area required before" 490PRINT"saving it." 500PRINT 510PRINT"One point about the program I should perhaps explain. If you enter" 520PRINT"31 for Y finish to print the last line, Yf% will be -4. As the" 530PRINT"assembler will not accept negative values the coding must return" 540PRINT"to 'BCCend' as in the original program. This is the reason for the" 550PRINT"two PROCS 'pos' and 'neg' which are selected on whether Yf% stays" 560PRINT"positive or goes negative." 570PRINT 580PRINT"I have set up two routines, one for printing the TITLE screen without" 590PRINT"the unused area of the screen and the other prints the heading only." 600PRINT' 610ENDPROC 620DEF PROCmen2 630PROCcapital 640CLS 650PRINT'' 660PRINT" ";CHR$224;CHR$225;CHR$226;CHR$227 670PRINT" ";CHR$228;CHR$229;CHR$230;CHR$231 680PRINT" ";CHR$232;CHR$233;CHR$234;CHR$235;"ENU TWO" 690PRINT'''"PLEASE SELECT:-" 700PRINT''"(A) CUTOUT VIEWER" 710PRINT''"(B) GAME DEMO" 720PRINT''"(C) FERGLED!!" 730REPEAT:A$=GET$:UNTIL A$="A" OR A$="B" OR A$="C" 740IF A$="A" THEN CHAIN"$.CV" 750IF A$="B" THEN CHAIN"$.DEMO" 760IF A$="C" THEN Z%=101 770IF A$="C" THEN CHAIN"$.DLOAD" 780ENDPROC 790 DEF PROCcapital 800 VDU23,224,170,127,245,112,224,119,227,115 810 VDU23,225,170,255,85,0,0,240,240,248 820 VDU23,226,170,255,85,0,0,15,15,31 830 VDU23,227,170,255,94,7,14,231,206,199 840 VDU23,228,227,115,227,115,227,115,227,115 850 VDU23,229,252,254,223,207,199,195,193,195 860 VDU23,230,63,127,251,243,227,195,131,195 870 VDU23,231,206,199,206,199,206,199,206,199 880 VDU23,232,227,115,231,112,224,122,255,85 890 VDU23,233,192,192,224,0,0,170,255,85 900 VDU23,234,3,3,7,0,0,170,255,85 910 VDU23,235,206,199,238,7,14,175,254,85 920 ENDPROC
>�3:�23,1,0;0;0;0;:�14:�''"PRESS <SHIFT> TO SCROLL"'':�text @�:�"PRESS - <T> for TITLE print <H> for HEADING print" ;�" <S> To SET UP CODE <O> Other programs" (:�" <P> to PRINT TEXT <M> for MAIN MENU" 2�:A%=�"THSPMO",�):�A% <�A%=1 � �"$.TPRINT" F�A%=2 � �"$.HPRINT" P�A%=3 � �"$.ASDUMP" Z�A%=4 � �15:�2:�text:�3 d�A%=6 �4 n�A%=6 � �men2 x *FX15 ��A%=5 � �"$.MENU" �� � �� �� �text �B�" P R O G R A M S Compiled by RICHARD DIMOND" �B�" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" �� ��'"SCREEN DUMPS" ��"************" �L�"Will has mentioned to me that there have been comments that my Screen" �L�"Dump program in Issue 11 gives a negative printout. All the routines" �I�"I have seen do this. The reason seens to be that as the screen is" �L�"normally black, all unused parts of it would also be printed in black" I�"if a positive printout is used. It is thus more economical in the" F�"use of the printer to give a negative printout if the screen is" �"mostly black." "� ,F�"While it is easy to change to positive printing by changing the" 6K�"patterns at the end of the program, to restrict the area printed you" @J�"need to alter all the co-ordinates and the number of dots per line." JK�"I have now made up a program which allows you to enter these and the" TK�"computer will correctly assemble a M/Code routine to dump the screen" ^K�"area required. The routine will work in any Mode and print positive" h�"or negative printouts." r� |L�"On running the program, first press the key of the Mode No. then P or" �G�"N for the type of printout. This should be followed by the four" �G�"co-ordinates. These are as the Mode 0 TAB numbers, as these are" �J�"easier to use than the graphics co-ords, the computer works out the" �K�"correct graphics co-ords and dots per line. These are inserted into" �,�"the assembler and the code assembled." �� �E�"The program will then ask for the Filename of the screen to be" �I�"printed. After printing you will be asked if you wish to SAVE the" �J�"code and if so asks for a Filename to SAVE. This allows you to try" �K�"the code to see whether it correctly prints the area required before" ��"saving it." �� �J�"One point about the program I should perhaps explain. If you enter" F�"31 for Y finish to print the last line, Yf% will be -4. As the" G�"assembler will not accept negative values the coding must return" J�"to 'BCCend' as in the original program. This is the reason for the" &I�"two PROCS 'pos' and 'neg' which are selected on whether Yf% stays" 0!�"positive or goes negative." :� DL�"I have set up two routines, one for printing the TITLE screen without" NK�"the unused area of the screen and the other prints the heading only." X�' b� l� �men2 v�capital �� ��'' ��" ";�224;�225;�226;�227 ��" ";�228;�229;�230;�231 �&�" ";�232;�233;�234;�235;"ENU TWO" ��'''"PLEASE SELECT:-" ��''"(A) CUTOUT VIEWER" ��''"(B) GAME DEMO" ��''"(C) FERGLED!!" �%�:A$=�:� A$="A" � A$="B" � A$="C" �� A$="A" � �"$.CV" �� A$="B" � �"$.DEMO" �� A$="C" � Z%=101 � A$="C" � �"$.DLOAD" � � �capital , �23,224,170,127,245,112,224,119,227,115 *' �23,225,170,255,85,0,0,240,240,248 4$ �23,226,170,255,85,0,0,15,15,31 >( �23,227,170,255,94,7,14,231,206,199 H, �23,228,227,115,227,115,227,115,227,115 R, �23,229,252,254,223,207,199,195,193,195 \+ �23,230,63,127,251,243,227,195,131,195 f, �23,231,206,199,206,199,206,199,206,199 p+ �23,232,227,115,231,112,224,122,255,85 z' �23,233,192,192,224,0,0,170,255,85 �! �23,234,3,3,7,0,0,170,255,85 �( �23,235,206,199,238,7,14,175,254,85 � � �
00000000 0d 00 0a 3e eb 33 3a ef 32 33 2c 31 2c 30 3b 30 |...>.3:.23,1,0;0| 00000010 3b 30 3b 30 3b 3a ef 31 34 3a f1 27 27 22 50 52 |;0;0;:.14:.''"PR| 00000020 45 53 53 20 3c 53 48 49 46 54 3e 20 54 4f 20 53 |ESS <SHIFT> TO S| 00000030 43 52 4f 4c 4c 22 27 27 3a f2 74 65 78 74 0d 00 |CROLL"'':.text..| 00000040 14 40 f5 3a f1 22 50 52 45 53 53 20 2d 20 3c 54 |.@.:."PRESS - <T| 00000050 3e 20 66 6f 72 20 54 49 54 4c 45 20 70 72 69 6e |> for TITLE prin| 00000060 74 20 20 20 20 20 20 20 3c 48 3e 20 66 6f 72 20 |t <H> for | 00000070 48 45 41 44 49 4e 47 20 70 72 69 6e 74 22 0d 00 |HEADING print"..| 00000080 1e 3b f1 22 20 20 20 20 20 20 20 20 3c 53 3e 20 |.;." <S> | 00000090 54 6f 20 53 45 54 20 55 50 20 43 4f 44 45 20 20 |To SET UP CODE | 000000a0 20 20 20 20 20 20 3c 4f 3e 20 4f 74 68 65 72 20 | <O> Other | 000000b0 70 72 6f 67 72 61 6d 73 22 0d 00 28 3a f1 22 20 |programs"..(:." | 000000c0 20 20 20 20 20 20 20 3c 50 3e 20 74 6f 20 50 52 | <P> to PR| 000000d0 49 4e 54 20 54 45 58 54 20 20 20 20 20 20 20 20 |INT TEXT | 000000e0 20 3c 4d 3e 20 66 6f 72 20 4d 41 49 4e 20 4d 45 | <M> for MAIN ME| 000000f0 4e 55 22 0d 00 32 19 f5 3a 41 25 3d a7 22 54 48 |NU"..2..:A%=."TH| 00000100 53 50 4d 4f 22 2c be 29 3a fd 41 25 0d 00 3c 17 |SPMO",.):.A%..<.| 00000110 e7 41 25 3d 31 20 8c 20 d7 22 24 2e 54 50 52 49 |.A%=1 . ."$.TPRI| 00000120 4e 54 22 0d 00 46 17 e7 41 25 3d 32 20 8c 20 d7 |NT"..F..A%=2 . .| 00000130 22 24 2e 48 50 52 49 4e 54 22 0d 00 50 17 e7 41 |"$.HPRINT"..P..A| 00000140 25 3d 33 20 8c 20 d7 22 24 2e 41 53 44 55 4d 50 |%=3 . ."$.ASDUMP| 00000150 22 0d 00 5a 1b e7 41 25 3d 34 20 8c 20 ef 31 35 |"..Z..A%=4 . .15| 00000160 3a ef 32 3a f2 74 65 78 74 3a ef 33 0d 00 64 0c |:.2:.text:.3..d.| 00000170 e7 41 25 3d 36 20 eb 34 0d 00 6e 11 e7 41 25 3d |.A%=6 .4..n..A%=| 00000180 36 20 8c 20 f2 6d 65 6e 32 0d 00 78 09 2a 46 58 |6 . .men2..x.*FX| 00000190 31 35 0d 00 82 15 e7 41 25 3d 35 20 8c 20 d7 22 |15.....A%=5 . ."| 000001a0 24 2e 4d 45 4e 55 22 0d 00 8c 07 fd 20 a3 0d 00 |$.MENU"..... ...| 000001b0 96 05 e0 0d 00 a0 0b dd 20 f2 74 65 78 74 0d 00 |........ .text..| 000001c0 aa 42 f1 22 20 20 20 20 20 20 20 20 20 20 20 20 |.B." | 000001d0 20 20 20 20 50 20 52 20 4f 20 47 20 52 20 41 20 | P R O G R A | 000001e0 4d 20 53 20 20 43 6f 6d 70 69 6c 65 64 20 62 79 |M S Compiled by| 000001f0 20 52 49 43 48 41 52 44 20 44 49 4d 4f 4e 44 22 | RICHARD DIMOND"| 00000200 0d 00 b4 42 f1 22 20 20 20 20 20 20 20 20 20 20 |...B." | 00000210 20 20 20 20 20 20 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e | ~~~~~~~~~~| 00000220 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~~~~~~~~~| * 00000240 7e 22 0d 00 be 05 f1 0d 00 c8 14 f1 27 22 53 43 |~"..........'"SC| 00000250 52 45 45 4e 20 44 55 4d 50 53 22 0d 00 d2 13 f1 |REEN DUMPS".....| 00000260 22 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 22 0d 00 |"************"..| 00000270 dc 4c f1 22 57 69 6c 6c 20 68 61 73 20 6d 65 6e |.L."Will has men| 00000280 74 69 6f 6e 65 64 20 74 6f 20 6d 65 20 74 68 61 |tioned to me tha| 00000290 74 20 74 68 65 72 65 20 68 61 76 65 20 62 65 65 |t there have bee| 000002a0 6e 20 63 6f 6d 6d 65 6e 74 73 20 74 68 61 74 20 |n comments that | 000002b0 6d 79 20 53 63 72 65 65 6e 22 0d 00 e6 4c f1 22 |my Screen"...L."| 000002c0 44 75 6d 70 20 70 72 6f 67 72 61 6d 20 69 6e 20 |Dump program in | 000002d0 49 73 73 75 65 20 31 31 20 67 69 76 65 73 20 61 |Issue 11 gives a| 000002e0 20 6e 65 67 61 74 69 76 65 20 70 72 69 6e 74 6f | negative printo| 000002f0 75 74 2e 20 20 41 6c 6c 20 74 68 65 20 72 6f 75 |ut. All the rou| 00000300 74 69 6e 65 73 22 0d 00 f0 49 f1 22 49 20 68 61 |tines"...I."I ha| 00000310 76 65 20 73 65 65 6e 20 64 6f 20 74 68 69 73 2e |ve seen do this.| 00000320 20 20 54 68 65 20 72 65 61 73 6f 6e 20 73 65 65 | The reason see| 00000330 6e 73 20 74 6f 20 62 65 20 74 68 61 74 20 61 73 |ns to be that as| 00000340 20 74 68 65 20 73 63 72 65 65 6e 20 69 73 22 0d | the screen is".| 00000350 00 fa 4c f1 22 6e 6f 72 6d 61 6c 6c 79 20 62 6c |..L."normally bl| 00000360 61 63 6b 2c 20 61 6c 6c 20 75 6e 75 73 65 64 20 |ack, all unused | 00000370 70 61 72 74 73 20 6f 66 20 69 74 20 77 6f 75 6c |parts of it woul| 00000380 64 20 61 6c 73 6f 20 62 65 20 70 72 69 6e 74 65 |d also be printe| 00000390 64 20 69 6e 20 62 6c 61 63 6b 22 0d 01 04 49 f1 |d in black"...I.| 000003a0 22 69 66 20 61 20 70 6f 73 69 74 69 76 65 20 70 |"if a positive p| 000003b0 72 69 6e 74 6f 75 74 20 69 73 20 75 73 65 64 2e |rintout is used.| 000003c0 20 20 49 74 20 69 73 20 74 68 75 73 20 6d 6f 72 | It is thus mor| 000003d0 65 20 65 63 6f 6e 6f 6d 69 63 61 6c 20 69 6e 20 |e economical in | 000003e0 74 68 65 22 0d 01 0e 46 f1 22 75 73 65 20 6f 66 |the"...F."use of| 000003f0 20 74 68 65 20 70 72 69 6e 74 65 72 20 74 6f 20 | the printer to | 00000400 67 69 76 65 20 61 20 6e 65 67 61 74 69 76 65 20 |give a negative | 00000410 70 72 69 6e 74 6f 75 74 20 69 66 20 74 68 65 20 |printout if the | 00000420 73 63 72 65 65 6e 20 69 73 22 0d 01 18 14 f1 22 |screen is"....."| 00000430 6d 6f 73 74 6c 79 20 62 6c 61 63 6b 2e 22 0d 01 |mostly black."..| 00000440 22 05 f1 0d 01 2c 46 f1 22 57 68 69 6c 65 20 69 |"....,F."While i| 00000450 74 20 69 73 20 65 61 73 79 20 74 6f 20 63 68 61 |t is easy to cha| 00000460 6e 67 65 20 74 6f 20 70 6f 73 69 74 69 76 65 20 |nge to positive | 00000470 70 72 69 6e 74 69 6e 67 20 62 79 20 63 68 61 6e |printing by chan| 00000480 67 69 6e 67 20 74 68 65 22 0d 01 36 4b f1 22 70 |ging the"..6K."p| 00000490 61 74 74 65 72 6e 73 20 61 74 20 74 68 65 20 65 |atterns at the e| 000004a0 6e 64 20 6f 66 20 74 68 65 20 70 72 6f 67 72 61 |nd of the progra| 000004b0 6d 2c 20 74 6f 20 72 65 73 74 72 69 63 74 20 74 |m, to restrict t| 000004c0 68 65 20 61 72 65 61 20 70 72 69 6e 74 65 64 20 |he area printed | 000004d0 79 6f 75 22 0d 01 40 4a f1 22 6e 65 65 64 20 74 |you"..@J."need t| 000004e0 6f 20 61 6c 74 65 72 20 61 6c 6c 20 74 68 65 20 |o alter all the | 000004f0 63 6f 2d 6f 72 64 69 6e 61 74 65 73 20 61 6e 64 |co-ordinates and| 00000500 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 64 | the number of d| 00000510 6f 74 73 20 70 65 72 20 6c 69 6e 65 2e 22 0d 01 |ots per line."..| 00000520 4a 4b f1 22 49 20 68 61 76 65 20 6e 6f 77 20 6d |JK."I have now m| 00000530 61 64 65 20 75 70 20 61 20 70 72 6f 67 72 61 6d |ade up a program| 00000540 20 77 68 69 63 68 20 61 6c 6c 6f 77 73 20 79 6f | which allows yo| 00000550 75 20 74 6f 20 65 6e 74 65 72 20 74 68 65 73 65 |u to enter these| 00000560 20 61 6e 64 20 74 68 65 22 0d 01 54 4b f1 22 63 | and the"..TK."c| 00000570 6f 6d 70 75 74 65 72 20 77 69 6c 6c 20 63 6f 72 |omputer will cor| 00000580 72 65 63 74 6c 79 20 61 73 73 65 6d 62 6c 65 20 |rectly assemble | 00000590 61 20 4d 2f 43 6f 64 65 20 72 6f 75 74 69 6e 65 |a M/Code routine| 000005a0 20 74 6f 20 64 75 6d 70 20 74 68 65 20 73 63 72 | to dump the scr| 000005b0 65 65 6e 22 0d 01 5e 4b f1 22 61 72 65 61 20 72 |een"..^K."area r| 000005c0 65 71 75 69 72 65 64 2e 20 20 54 68 65 20 72 6f |equired. The ro| 000005d0 75 74 69 6e 65 20 77 69 6c 6c 20 77 6f 72 6b 20 |utine will work | 000005e0 69 6e 20 61 6e 79 20 4d 6f 64 65 20 61 6e 64 20 |in any Mode and | 000005f0 70 72 69 6e 74 20 70 6f 73 69 74 69 76 65 22 0d |print positive".| 00000600 01 68 1d f1 22 6f 72 20 6e 65 67 61 74 69 76 65 |.h.."or negative| 00000610 20 70 72 69 6e 74 6f 75 74 73 2e 22 0d 01 72 05 | printouts."..r.| 00000620 f1 0d 01 7c 4c f1 22 4f 6e 20 72 75 6e 6e 69 6e |...|L."On runnin| 00000630 67 20 74 68 65 20 70 72 6f 67 72 61 6d 2c 20 66 |g the program, f| 00000640 69 72 73 74 20 70 72 65 73 73 20 74 68 65 20 6b |irst press the k| 00000650 65 79 20 6f 66 20 74 68 65 20 4d 6f 64 65 20 4e |ey of the Mode N| 00000660 6f 2e 20 74 68 65 6e 20 50 20 6f 72 22 0d 01 86 |o. then P or"...| 00000670 47 f1 22 4e 20 66 6f 72 20 74 68 65 20 74 79 70 |G."N for the typ| 00000680 65 20 6f 66 20 70 72 69 6e 74 6f 75 74 2e 20 20 |e of printout. | 00000690 54 68 69 73 20 73 68 6f 75 6c 64 20 62 65 20 66 |This should be f| 000006a0 6f 6c 6c 6f 77 65 64 20 62 79 20 74 68 65 20 66 |ollowed by the f| 000006b0 6f 75 72 22 0d 01 90 47 f1 22 63 6f 2d 6f 72 64 |our"...G."co-ord| 000006c0 69 6e 61 74 65 73 2e 20 20 54 68 65 73 65 20 61 |inates. These a| 000006d0 72 65 20 61 73 20 74 68 65 20 4d 6f 64 65 20 30 |re as the Mode 0| 000006e0 20 54 41 42 20 6e 75 6d 62 65 72 73 2c 20 61 73 | TAB numbers, as| 000006f0 20 74 68 65 73 65 20 61 72 65 22 0d 01 9a 4a f1 | these are"...J.| 00000700 22 65 61 73 69 65 72 20 74 6f 20 75 73 65 20 74 |"easier to use t| 00000710 68 61 6e 20 74 68 65 20 67 72 61 70 68 69 63 73 |han the graphics| 00000720 20 63 6f 2d 6f 72 64 73 2c 20 74 68 65 20 63 6f | co-ords, the co| 00000730 6d 70 75 74 65 72 20 77 6f 72 6b 73 20 6f 75 74 |mputer works out| 00000740 20 74 68 65 22 0d 01 a4 4b f1 22 63 6f 72 72 65 | the"...K."corre| 00000750 63 74 20 67 72 61 70 68 69 63 73 20 63 6f 2d 6f |ct graphics co-o| 00000760 72 64 73 20 61 6e 64 20 64 6f 74 73 20 70 65 72 |rds and dots per| 00000770 20 6c 69 6e 65 2e 20 20 54 68 65 73 65 20 61 72 | line. These ar| 00000780 65 20 69 6e 73 65 72 74 65 64 20 69 6e 74 6f 22 |e inserted into"| 00000790 0d 01 ae 2c f1 22 74 68 65 20 61 73 73 65 6d 62 |...,."the assemb| 000007a0 6c 65 72 20 61 6e 64 20 74 68 65 20 63 6f 64 65 |ler and the code| 000007b0 20 61 73 73 65 6d 62 6c 65 64 2e 22 0d 01 b8 05 | assembled."....| 000007c0 f1 0d 01 c2 45 f1 22 54 68 65 20 70 72 6f 67 72 |....E."The progr| 000007d0 61 6d 20 77 69 6c 6c 20 74 68 65 6e 20 61 73 6b |am will then ask| 000007e0 20 66 6f 72 20 74 68 65 20 46 69 6c 65 6e 61 6d | for the Filenam| 000007f0 65 20 6f 66 20 74 68 65 20 73 63 72 65 65 6e 20 |e of the screen | 00000800 74 6f 20 62 65 22 0d 01 cc 49 f1 22 70 72 69 6e |to be"...I."prin| 00000810 74 65 64 2e 20 20 41 66 74 65 72 20 70 72 69 6e |ted. After prin| 00000820 74 69 6e 67 20 79 6f 75 20 77 69 6c 6c 20 62 65 |ting you will be| 00000830 20 61 73 6b 65 64 20 69 66 20 79 6f 75 20 77 69 | asked if you wi| 00000840 73 68 20 74 6f 20 53 41 56 45 20 74 68 65 22 0d |sh to SAVE the".| 00000850 01 d6 4a f1 22 63 6f 64 65 20 61 6e 64 20 69 66 |..J."code and if| 00000860 20 73 6f 20 61 73 6b 73 20 66 6f 72 20 61 20 46 | so asks for a F| 00000870 69 6c 65 6e 61 6d 65 20 74 6f 20 53 41 56 45 2e |ilename to SAVE.| 00000880 20 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 79 6f | This allows yo| 00000890 75 20 74 6f 20 74 72 79 22 0d 01 e0 4b f1 22 74 |u to try"...K."t| 000008a0 68 65 20 63 6f 64 65 20 74 6f 20 73 65 65 20 77 |he code to see w| 000008b0 68 65 74 68 65 72 20 69 74 20 63 6f 72 72 65 63 |hether it correc| 000008c0 74 6c 79 20 70 72 69 6e 74 73 20 74 68 65 20 61 |tly prints the a| 000008d0 72 65 61 20 72 65 71 75 69 72 65 64 20 62 65 66 |rea required bef| 000008e0 6f 72 65 22 0d 01 ea 11 f1 22 73 61 76 69 6e 67 |ore"....."saving| 000008f0 20 69 74 2e 22 0d 01 f4 05 f1 0d 01 fe 4a f1 22 | it."........J."| 00000900 4f 6e 65 20 70 6f 69 6e 74 20 61 62 6f 75 74 20 |One point about | 00000910 74 68 65 20 70 72 6f 67 72 61 6d 20 49 20 73 68 |the program I sh| 00000920 6f 75 6c 64 20 70 65 72 68 61 70 73 20 65 78 70 |ould perhaps exp| 00000930 6c 61 69 6e 2e 20 20 49 66 20 79 6f 75 20 65 6e |lain. If you en| 00000940 74 65 72 22 0d 02 08 46 f1 22 33 31 20 66 6f 72 |ter"...F."31 for| 00000950 20 59 20 66 69 6e 69 73 68 20 74 6f 20 70 72 69 | Y finish to pri| 00000960 6e 74 20 74 68 65 20 6c 61 73 74 20 6c 69 6e 65 |nt the last line| 00000970 2c 20 59 66 25 20 77 69 6c 6c 20 62 65 20 2d 34 |, Yf% will be -4| 00000980 2e 20 20 41 73 20 74 68 65 22 0d 02 12 47 f1 22 |. As the"...G."| 00000990 61 73 73 65 6d 62 6c 65 72 20 77 69 6c 6c 20 6e |assembler will n| 000009a0 6f 74 20 61 63 63 65 70 74 20 6e 65 67 61 74 69 |ot accept negati| 000009b0 76 65 20 76 61 6c 75 65 73 20 74 68 65 20 63 6f |ve values the co| 000009c0 64 69 6e 67 20 6d 75 73 74 20 72 65 74 75 72 6e |ding must return| 000009d0 22 0d 02 1c 4a f1 22 74 6f 20 27 42 43 43 65 6e |"...J."to 'BCCen| 000009e0 64 27 20 61 73 20 69 6e 20 74 68 65 20 6f 72 69 |d' as in the ori| 000009f0 67 69 6e 61 6c 20 70 72 6f 67 72 61 6d 2e 20 20 |ginal program. | 00000a00 54 68 69 73 20 69 73 20 74 68 65 20 72 65 61 73 |This is the reas| 00000a10 6f 6e 20 66 6f 72 20 74 68 65 22 0d 02 26 49 f1 |on for the"..&I.| 00000a20 22 74 77 6f 20 50 52 4f 43 53 20 27 70 6f 73 27 |"two PROCS 'pos'| 00000a30 20 61 6e 64 20 27 6e 65 67 27 20 77 68 69 63 68 | and 'neg' which| 00000a40 20 61 72 65 20 73 65 6c 65 63 74 65 64 20 6f 6e | are selected on| 00000a50 20 77 68 65 74 68 65 72 20 20 59 66 25 20 73 74 | whether Yf% st| 00000a60 61 79 73 22 0d 02 30 21 f1 22 70 6f 73 69 74 69 |ays"..0!."positi| 00000a70 76 65 20 6f 72 20 67 6f 65 73 20 6e 65 67 61 74 |ve or goes negat| 00000a80 69 76 65 2e 22 0d 02 3a 05 f1 0d 02 44 4c f1 22 |ive."..:....DL."| 00000a90 49 20 68 61 76 65 20 73 65 74 20 75 70 20 74 77 |I have set up tw| 00000aa0 6f 20 72 6f 75 74 69 6e 65 73 2c 20 6f 6e 65 20 |o routines, one | 00000ab0 66 6f 72 20 70 72 69 6e 74 69 6e 67 20 74 68 65 |for printing the| 00000ac0 20 54 49 54 4c 45 20 73 63 72 65 65 6e 20 77 69 | TITLE screen wi| 00000ad0 74 68 6f 75 74 22 0d 02 4e 4b f1 22 74 68 65 20 |thout"..NK."the | 00000ae0 75 6e 75 73 65 64 20 61 72 65 61 20 6f 66 20 74 |unused area of t| 00000af0 68 65 20 73 63 72 65 65 6e 20 61 6e 64 20 74 68 |he screen and th| 00000b00 65 20 6f 74 68 65 72 20 70 72 69 6e 74 73 20 74 |e other prints t| 00000b10 68 65 20 68 65 61 64 69 6e 67 20 6f 6e 6c 79 2e |he heading only.| 00000b20 22 0d 02 58 06 f1 27 0d 02 62 05 e1 0d 02 6c 0b |"..X..'..b....l.| 00000b30 dd 20 f2 6d 65 6e 32 0d 02 76 0c f2 63 61 70 69 |. .men2..v..capi| 00000b40 74 61 6c 0d 02 80 05 db 0d 02 8a 07 f1 27 27 0d |tal..........''.| 00000b50 02 94 1c f1 22 20 22 3b bd 32 32 34 3b bd 32 32 |...." ";.224;.22| 00000b60 35 3b bd 32 32 36 3b bd 32 32 37 0d 02 9e 1c f1 |5;.226;.227.....| 00000b70 22 20 22 3b bd 32 32 38 3b bd 32 32 39 3b bd 32 |" ";.228;.229;.2| 00000b80 33 30 3b bd 32 33 31 0d 02 a8 26 f1 22 20 22 3b |30;.231...&." ";| 00000b90 bd 32 33 32 3b bd 32 33 33 3b bd 32 33 34 3b bd |.232;.233;.234;.| 00000ba0 32 33 35 3b 22 45 4e 55 20 54 57 4f 22 0d 02 b2 |235;"ENU TWO"...| 00000bb0 19 f1 27 27 27 22 50 4c 45 41 53 45 20 53 45 4c |..'''"PLEASE SEL| 00000bc0 45 43 54 3a 2d 22 0d 02 bc 1a f1 27 27 22 28 41 |ECT:-".....''"(A| 00000bd0 29 20 43 55 54 4f 55 54 20 56 49 45 57 45 52 22 |) CUTOUT VIEWER"| 00000be0 0d 02 c6 16 f1 27 27 22 28 42 29 20 47 41 4d 45 |.....''"(B) GAME| 00000bf0 20 44 45 4d 4f 22 0d 02 d0 16 f1 27 27 22 28 43 | DEMO".....''"(C| 00000c00 29 20 46 45 52 47 4c 45 44 21 21 22 0d 02 da 25 |) FERGLED!!"...%| 00000c10 f5 3a 41 24 3d be 3a fd 20 41 24 3d 22 41 22 20 |.:A$=.:. A$="A" | 00000c20 84 20 41 24 3d 22 42 22 20 84 20 41 24 3d 22 43 |. A$="B" . A$="C| 00000c30 22 0d 02 e4 16 e7 20 41 24 3d 22 41 22 20 8c 20 |"..... A$="A" . | 00000c40 d7 22 24 2e 43 56 22 0d 02 ee 18 e7 20 41 24 3d |."$.CV"..... A$=| 00000c50 22 42 22 20 8c 20 d7 22 24 2e 44 45 4d 4f 22 0d |"B" . ."$.DEMO".| 00000c60 02 f8 15 e7 20 41 24 3d 22 43 22 20 8c 20 5a 25 |.... A$="C" . Z%| 00000c70 3d 31 30 31 0d 03 02 19 e7 20 41 24 3d 22 43 22 |=101..... A$="C"| 00000c80 20 8c 20 d7 22 24 2e 44 4c 4f 41 44 22 0d 03 0c | . ."$.DLOAD"...| 00000c90 05 e1 0d 03 16 0f 20 dd 20 f2 63 61 70 69 74 61 |...... . .capita| 00000ca0 6c 0d 03 20 2c 20 ef 32 33 2c 32 32 34 2c 31 37 |l.. , .23,224,17| 00000cb0 30 2c 31 32 37 2c 32 34 35 2c 31 31 32 2c 32 32 |0,127,245,112,22| 00000cc0 34 2c 31 31 39 2c 32 32 37 2c 31 31 35 0d 03 2a |4,119,227,115..*| 00000cd0 27 20 ef 32 33 2c 32 32 35 2c 31 37 30 2c 32 35 |' .23,225,170,25| 00000ce0 35 2c 38 35 2c 30 2c 30 2c 32 34 30 2c 32 34 30 |5,85,0,0,240,240| 00000cf0 2c 32 34 38 0d 03 34 24 20 ef 32 33 2c 32 32 36 |,248..4$ .23,226| 00000d00 2c 31 37 30 2c 32 35 35 2c 38 35 2c 30 2c 30 2c |,170,255,85,0,0,| 00000d10 31 35 2c 31 35 2c 33 31 0d 03 3e 28 20 ef 32 33 |15,15,31..>( .23| 00000d20 2c 32 32 37 2c 31 37 30 2c 32 35 35 2c 39 34 2c |,227,170,255,94,| 00000d30 37 2c 31 34 2c 32 33 31 2c 32 30 36 2c 31 39 39 |7,14,231,206,199| 00000d40 0d 03 48 2c 20 ef 32 33 2c 32 32 38 2c 32 32 37 |..H, .23,228,227| 00000d50 2c 31 31 35 2c 32 32 37 2c 31 31 35 2c 32 32 37 |,115,227,115,227| 00000d60 2c 31 31 35 2c 32 32 37 2c 31 31 35 0d 03 52 2c |,115,227,115..R,| 00000d70 20 ef 32 33 2c 32 32 39 2c 32 35 32 2c 32 35 34 | .23,229,252,254| 00000d80 2c 32 32 33 2c 32 30 37 2c 31 39 39 2c 31 39 35 |,223,207,199,195| 00000d90 2c 31 39 33 2c 31 39 35 0d 03 5c 2b 20 ef 32 33 |,193,195..\+ .23| 00000da0 2c 32 33 30 2c 36 33 2c 31 32 37 2c 32 35 31 2c |,230,63,127,251,| 00000db0 32 34 33 2c 32 32 37 2c 31 39 35 2c 31 33 31 2c |243,227,195,131,| 00000dc0 31 39 35 0d 03 66 2c 20 ef 32 33 2c 32 33 31 2c |195..f, .23,231,| 00000dd0 32 30 36 2c 31 39 39 2c 32 30 36 2c 31 39 39 2c |206,199,206,199,| 00000de0 32 30 36 2c 31 39 39 2c 32 30 36 2c 31 39 39 0d |206,199,206,199.| 00000df0 03 70 2b 20 ef 32 33 2c 32 33 32 2c 32 32 37 2c |.p+ .23,232,227,| 00000e00 31 31 35 2c 32 33 31 2c 31 31 32 2c 32 32 34 2c |115,231,112,224,| 00000e10 31 32 32 2c 32 35 35 2c 38 35 0d 03 7a 27 20 ef |122,255,85..z' .| 00000e20 32 33 2c 32 33 33 2c 31 39 32 2c 31 39 32 2c 32 |23,233,192,192,2| 00000e30 32 34 2c 30 2c 30 2c 31 37 30 2c 32 35 35 2c 38 |24,0,0,170,255,8| 00000e40 35 0d 03 84 21 20 ef 32 33 2c 32 33 34 2c 33 2c |5...! .23,234,3,| 00000e50 33 2c 37 2c 30 2c 30 2c 31 37 30 2c 32 35 35 2c |3,7,0,0,170,255,| 00000e60 38 35 0d 03 8e 28 20 ef 32 33 2c 32 33 35 2c 32 |85...( .23,235,2| 00000e70 30 36 2c 31 39 39 2c 32 33 38 2c 37 2c 31 34 2c |06,199,238,7,14,| 00000e80 31 37 35 2c 32 35 34 2c 38 35 0d 03 98 06 20 e1 |175,254,85.... .| 00000e90 0d ff |..| 00000e92