Home » Archimedes archive » Acorn User » AU 1997-02 B.adf » Regulars » StarInfo/Smale/!Globes/SET_SMALL
StarInfo/Smale/!Globes/SET_SMALL
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 » Archimedes archive » Acorn User » AU 1997-02 B.adf » Regulars |
Filename: | StarInfo/Smale/!Globes/SET_SMALL |
Read OK: | ✔ |
File size: | 0796 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10MODE0 20ON ERROR PROCerr 40MODE13 50DIM block% 15,b2% 15,A%(320,256) 60block%!0=148 70block%!4=7 80block%!8=6 90block%!12=-1 100SYS "OS_ReadVduVariables",block%,b2% 110size%=b2%!4 120block%!0=148 130block%!4=7 140block%!8=6 150block%!12=-1 160SYS "OS_ReadVduVariables",block%,b2% 170screen%=b2%!0 180size%=b2%!4 190A%=screen% 200OSCLI("SAVE FILE "+STR$~screen%+" +2644") 210*DELETE FILE 220GOTO 280 230ON ERROR PROCerr2 240*DELETE POSDATA2 250OSCLI("SAVE FILE "+STR$~screen%+" +2644") 260*DELETE FILE 270 280OFF 290ON ERROR REPORT:PRINT" at line ";ERL:END 300CLOSE#0 310R%=100 320H%=400 DIV 4 330width%=320 340height%=256*1.26 350 360ASX=9*8 370SY%=0 380bY%=0 390SAY=PI/8 400FAY=PI-PI/4 410TAY=FAY-SAY 420FOR AY=PI/8 TO PI-PI/5 STEP PI/height% 430SX%=0 440bX%=0 450FOR AX=.75*PI TO 1.25*PI STEP PI/width% 460X=R%*SIN(AX)*SIN(AY) 470Y=R%*COS(AY) 480Z=R%*COS(AX)*SIN(AY) 490Z+=320 500IF Z=0 Z=0.01 510XX%=X/Z*H% 520YY%=Y/Z*H% 530XX%+=80 540YY%+=80 550ASX%=SX% 560IF SX%>80 ASX%-=2 570A%(XX%,YY%)=ASX%+SY%*320 580SX%+=1 590NEXT 600SY%+=1 610PRINTTAB(2,2);INT(((AY-SAY)/TAY)*100);"%" 620NEXT 630CLS 640 650I%=screen% 660Y=0 670FOR Y=0 TO 255 680X=-1:REPEAT X+=1:UNTIL A%(X,Y)<>0 OR X=320 690IF X<320 THEN 700!I%=X+320*Y:I%+=4 710 720REPEAT 730A=A%(X,Y) 740B=A%(X+1,Y) 750!I%=(A<<16)+B:I%+=4 760X+=2 770UNTIL A=0 OR B=0 OR X>=318 780IF X>=318 !I%=0:I%+=4 790ENDIF 800NEXT 810!I%=0 820I%+=4 830 840OSCLI("SAVE POSDATA2 "+STR$~screen%+" "+STR$~I%) 850END 860 870DEFPROCerr 880ON ERROR OFF 890E%=0 900IF ERR=71622 GOTO 230 910 920IF ERR=214 THEN 930IF MID$(REPORT$,7,3)="RAM" THEN MODE0:PRINT'" To run this, you need a RamDisc with at least 10k free (preferably more). "''" Please create one and try again.":END 940ENDIF 950IF E% GOTO 230 960 970REPORT:PRINT" at line ";ERL:END 980END 990 1000DEFPROCerr2 1010ON ERROR OFF 1020IF ERR=71622 MODE0:PRINT'" I'm afraid that there is insufficient room on the ramdisc for me to fit the setup file. Can you increase available space to 21k?"':END 1030IF MID$(REPORT$,7,3)="POS" MODE0:PRINT'" I'm afraid that there is insufficient room on the ramdisc for me to fit the setup file. Can you increase available space to 10k? (Preferably more)"':END 1040REPORT:PRINT" at line ";ERL:END 1050END
�0 � � �err (�13 2"� block% 15,b2% 15,A%(320,256) <block%!0=148 Fblock%!4=7 Pblock%!8=6 Zblock%!12=-1 d'ș "OS_ReadVduVariables",block%,b2% nsize%=b2%!4 xblock%!0=148 �block%!4=7 �block%!8=6 �block%!12=-1 �'ș "OS_ReadVduVariables",block%,b2% �screen%=b2%!0 �size%=b2%!4 �A%=screen% �&�("SAVE FILE "+�~screen%+" +2644") �*DELETE FILE � � �TXA � � � �err2 �*DELETE POSDATA2 �&�("SAVE FILE "+�~screen%+" +2644") *DELETE FILE � "� � �:�" at line ";�:� ,�#0 6 R%=100 @H%=400 � 4 Jwidth%=320 Theight%=256*1.26 ^ hASX=9*8 r SY%=0 | bY%=0 �SAY=�/8 � FAY=�-�/4 �TAY=FAY-SAY � � AY=�/8 � �-�/5 � �/height% � SX%=0 � bX%=0 �"� AX=.75*� � 1.25*� � �/width% �X=R%*�(AX)*�(AY) �Y=R%*�(AY) �Z=R%*�(AX)*�(AY) � Z+=320 �� Z=0 Z=0.01 �XX%=X/Z*H% YY%=Y/Z*H% XX%+=80 YY%+=80 &ASX%=SX% 0� SX%>80 ASX%-=2 :A%(XX%,YY%)=ASX%+SY%*320 D SX%+=1 N� X SY%+=1 b$�2,2);�(((AY-SAY)/TAY)*100);"%" l� v� � �I%=screen% �Y=0 �� Y=0 � 255 �$X=-1:� X+=1:� A%(X,Y)<>0 � X=320 � � X<320 � �!I%=X+320*Y:I%+=4 � �� � A=A%(X,Y) �B=A%(X+1,Y) �!I%=(A<<16)+B:I%+=4 �X+=2 � A=0 � B=0 � X>=318 � X>=318 !I%=0:I%+=4 � � * !I%=0 4 I%+=4 > H*�("SAVE POSDATA2 "+�~screen%+" "+�~I%) R� \ f ��err p � � � zE%=0 �� �=71622 � �df@ � � � �=214 � ��� ��$,7,3)="RAM" � �0:�'" To run this, you need a RamDisc with at least 10k free (preferably more). "''" Please create one and try again.":� �� �� E% � �df@ � ��:�" at line ";�:� �� � � ��err2 � � � � ��� �=71622 �0:�'" I'm afraid that there is insufficient room on the ramdisc for me to fit the setup file. Can you increase available space to 21k?"':� �� ��$,7,3)="POS" �0:�'" I'm afraid that there is insufficient room on the ramdisc for me to fit the setup file. Can you increase available space to 10k? (Preferably more)"':� �:�" at line ";�:� � �
00000000 0d 00 0a 06 eb 30 0d 00 14 0c ee 20 85 20 f2 65 |.....0..... . .e| 00000010 72 72 0d 00 28 07 eb 31 33 0d 00 32 22 de 20 62 |rr..(..13..2". b| 00000020 6c 6f 63 6b 25 20 31 35 2c 62 32 25 20 31 35 2c |lock% 15,b2% 15,| 00000030 41 25 28 33 32 30 2c 32 35 36 29 0d 00 3c 10 62 |A%(320,256)..<.b| 00000040 6c 6f 63 6b 25 21 30 3d 31 34 38 0d 00 46 0e 62 |lock%!0=148..F.b| 00000050 6c 6f 63 6b 25 21 34 3d 37 0d 00 50 0e 62 6c 6f |lock%!4=7..P.blo| 00000060 63 6b 25 21 38 3d 36 0d 00 5a 10 62 6c 6f 63 6b |ck%!8=6..Z.block| 00000070 25 21 31 32 3d 2d 31 0d 00 64 27 c8 99 20 22 4f |%!12=-1..d'.. "O| 00000080 53 5f 52 65 61 64 56 64 75 56 61 72 69 61 62 6c |S_ReadVduVariabl| 00000090 65 73 22 2c 62 6c 6f 63 6b 25 2c 62 32 25 0d 00 |es",block%,b2%..| 000000a0 6e 0f 73 69 7a 65 25 3d 62 32 25 21 34 0d 00 78 |n.size%=b2%!4..x| 000000b0 10 62 6c 6f 63 6b 25 21 30 3d 31 34 38 0d 00 82 |.block%!0=148...| 000000c0 0e 62 6c 6f 63 6b 25 21 34 3d 37 0d 00 8c 0e 62 |.block%!4=7....b| 000000d0 6c 6f 63 6b 25 21 38 3d 36 0d 00 96 10 62 6c 6f |lock%!8=6....blo| 000000e0 63 6b 25 21 31 32 3d 2d 31 0d 00 a0 27 c8 99 20 |ck%!12=-1...'.. | 000000f0 22 4f 53 5f 52 65 61 64 56 64 75 56 61 72 69 61 |"OS_ReadVduVaria| 00000100 62 6c 65 73 22 2c 62 6c 6f 63 6b 25 2c 62 32 25 |bles",block%,b2%| 00000110 0d 00 aa 11 73 63 72 65 65 6e 25 3d 62 32 25 21 |....screen%=b2%!| 00000120 30 0d 00 b4 0f 73 69 7a 65 25 3d 62 32 25 21 34 |0....size%=b2%!4| 00000130 0d 00 be 0e 41 25 3d 73 63 72 65 65 6e 25 0d 00 |....A%=screen%..| 00000140 c8 26 ff 28 22 53 41 56 45 20 46 49 4c 45 20 22 |.&.("SAVE FILE "| 00000150 2b c3 7e 73 63 72 65 65 6e 25 2b 22 20 2b 32 36 |+.~screen%+" +26| 00000160 34 34 22 29 0d 00 d2 10 2a 44 45 4c 45 54 45 20 |44")....*DELETE | 00000170 46 49 4c 45 0d 00 dc 0a e5 20 8d 54 58 41 0d 00 |FILE..... .TXA..| 00000180 e6 0d ee 20 85 20 f2 65 72 72 32 0d 00 f0 14 2a |... . .err2....*| 00000190 44 45 4c 45 54 45 20 50 4f 53 44 41 54 41 32 0d |DELETE POSDATA2.| 000001a0 00 fa 26 ff 28 22 53 41 56 45 20 46 49 4c 45 20 |..&.("SAVE FILE | 000001b0 22 2b c3 7e 73 63 72 65 65 6e 25 2b 22 20 2b 32 |"+.~screen%+" +2| 000001c0 36 34 34 22 29 0d 01 04 10 2a 44 45 4c 45 54 45 |644")....*DELETE| 000001d0 20 46 49 4c 45 0d 01 0e 04 0d 01 18 05 87 0d 01 | FILE...........| 000001e0 22 1a ee 20 85 20 f6 3a f1 22 20 61 74 20 6c 69 |".. . .:." at li| 000001f0 6e 65 20 22 3b 9e 3a e0 0d 01 2c 07 d9 23 30 0d |ne ";.:...,..#0.| 00000200 01 36 0a 52 25 3d 31 30 30 0d 01 40 0e 48 25 3d |.6.R%=100..@.H%=| 00000210 34 30 30 20 81 20 34 0d 01 4a 0e 77 69 64 74 68 |400 . 4..J.width| 00000220 25 3d 33 32 30 0d 01 54 14 68 65 69 67 68 74 25 |%=320..T.height%| 00000230 3d 32 35 36 2a 31 2e 32 36 0d 01 5e 04 0d 01 68 |=256*1.26..^...h| 00000240 0b 41 53 58 3d 39 2a 38 0d 01 72 09 53 59 25 3d |.ASX=9*8..r.SY%=| 00000250 30 0d 01 7c 09 62 59 25 3d 30 0d 01 86 0b 53 41 |0..|.bY%=0....SA| 00000260 59 3d af 2f 38 0d 01 90 0d 46 41 59 3d af 2d af |Y=./8....FAY=.-.| 00000270 2f 34 0d 01 9a 0f 54 41 59 3d 46 41 59 2d 53 41 |/4....TAY=FAY-SA| 00000280 59 0d 01 a4 20 e3 20 41 59 3d af 2f 38 20 b8 20 |Y... . AY=./8 . | 00000290 af 2d af 2f 35 20 88 20 af 2f 68 65 69 67 68 74 |.-./5 . ./height| 000002a0 25 0d 01 ae 09 53 58 25 3d 30 0d 01 b8 09 62 58 |%....SX%=0....bX| 000002b0 25 3d 30 0d 01 c2 22 e3 20 41 58 3d 2e 37 35 2a |%=0...". AX=.75*| 000002c0 af 20 b8 20 31 2e 32 35 2a af 20 88 20 af 2f 77 |. . 1.25*. . ./w| 000002d0 69 64 74 68 25 0d 01 cc 14 58 3d 52 25 2a b5 28 |idth%....X=R%*.(| 000002e0 41 58 29 2a b5 28 41 59 29 0d 01 d6 0e 59 3d 52 |AX)*.(AY)....Y=R| 000002f0 25 2a 9b 28 41 59 29 0d 01 e0 14 5a 3d 52 25 2a |%*.(AY)....Z=R%*| 00000300 9b 28 41 58 29 2a b5 28 41 59 29 0d 01 ea 0a 5a |.(AX)*.(AY)....Z| 00000310 2b 3d 33 32 30 0d 01 f4 10 e7 20 5a 3d 30 20 5a |+=320..... Z=0 Z| 00000320 3d 30 2e 30 31 0d 01 fe 0e 58 58 25 3d 58 2f 5a |=0.01....XX%=X/Z| 00000330 2a 48 25 0d 02 08 0e 59 59 25 3d 59 2f 5a 2a 48 |*H%....YY%=Y/Z*H| 00000340 25 0d 02 12 0b 58 58 25 2b 3d 38 30 0d 02 1c 0b |%....XX%+=80....| 00000350 59 59 25 2b 3d 38 30 0d 02 26 0c 41 53 58 25 3d |YY%+=80..&.ASX%=| 00000360 53 58 25 0d 02 30 14 e7 20 53 58 25 3e 38 30 20 |SX%..0.. SX%>80 | 00000370 41 53 58 25 2d 3d 32 0d 02 3a 1c 41 25 28 58 58 |ASX%-=2..:.A%(XX| 00000380 25 2c 59 59 25 29 3d 41 53 58 25 2b 53 59 25 2a |%,YY%)=ASX%+SY%*| 00000390 33 32 30 0d 02 44 0a 53 58 25 2b 3d 31 0d 02 4e |320..D.SX%+=1..N| 000003a0 05 ed 0d 02 58 0a 53 59 25 2b 3d 31 0d 02 62 24 |....X.SY%+=1..b$| 000003b0 f1 8a 32 2c 32 29 3b a8 28 28 28 41 59 2d 53 41 |..2,2);.(((AY-SA| 000003c0 59 29 2f 54 41 59 29 2a 31 30 30 29 3b 22 25 22 |Y)/TAY)*100);"%"| 000003d0 0d 02 6c 05 ed 0d 02 76 05 db 0d 02 80 04 0d 02 |..l....v........| 000003e0 8a 0e 49 25 3d 73 63 72 65 65 6e 25 0d 02 94 07 |..I%=screen%....| 000003f0 59 3d 30 0d 02 9e 0f e3 20 59 3d 30 20 b8 20 32 |Y=0..... Y=0 . 2| 00000400 35 35 0d 02 a8 24 58 3d 2d 31 3a f5 20 58 2b 3d |55...$X=-1:. X+=| 00000410 31 3a fd 20 41 25 28 58 2c 59 29 3c 3e 30 20 84 |1:. A%(X,Y)<>0 .| 00000420 20 58 3d 33 32 30 0d 02 b2 0d e7 20 58 3c 33 32 | X=320..... X<32| 00000430 30 20 8c 0d 02 bc 15 21 49 25 3d 58 2b 33 32 30 |0 .....!I%=X+320| 00000440 2a 59 3a 49 25 2b 3d 34 0d 02 c6 04 0d 02 d0 05 |*Y:I%+=4........| 00000450 f5 0d 02 da 0d 41 3d 41 25 28 58 2c 59 29 0d 02 |.....A=A%(X,Y)..| 00000460 e4 0f 42 3d 41 25 28 58 2b 31 2c 59 29 0d 02 ee |..B=A%(X+1,Y)...| 00000470 17 21 49 25 3d 28 41 3c 3c 31 36 29 2b 42 3a 49 |.!I%=(A<<16)+B:I| 00000480 25 2b 3d 34 0d 02 f8 08 58 2b 3d 32 0d 03 02 18 |%+=4....X+=2....| 00000490 fd 20 41 3d 30 20 84 20 42 3d 30 20 84 20 58 3e |. A=0 . B=0 . X>| 000004a0 3d 33 31 38 0d 03 0c 18 e7 20 58 3e 3d 33 31 38 |=318..... X>=318| 000004b0 20 21 49 25 3d 30 3a 49 25 2b 3d 34 0d 03 16 05 | !I%=0:I%+=4....| 000004c0 cd 0d 03 20 05 ed 0d 03 2a 09 21 49 25 3d 30 0d |... ....*.!I%=0.| 000004d0 03 34 09 49 25 2b 3d 34 0d 03 3e 04 0d 03 48 2a |.4.I%+=4..>...H*| 000004e0 ff 28 22 53 41 56 45 20 50 4f 53 44 41 54 41 32 |.("SAVE POSDATA2| 000004f0 20 22 2b c3 7e 73 63 72 65 65 6e 25 2b 22 20 22 | "+.~screen%+" "| 00000500 2b c3 7e 49 25 29 0d 03 52 05 e0 0d 03 5c 04 0d |+.~I%)..R....\..| 00000510 03 66 09 dd f2 65 72 72 0d 03 70 09 ee 20 85 20 |.f...err..p.. . | 00000520 87 0d 03 7a 08 45 25 3d 30 0d 03 84 14 e7 20 9f |...z.E%=0..... .| 00000530 3d 37 31 36 32 32 20 e5 20 8d 64 66 40 0d 03 8e |=71622 . .df@...| 00000540 04 0d 03 98 0d e7 20 9f 3d 32 31 34 20 8c 0d 03 |...... .=214 ...| 00000550 a2 92 e7 20 c1 f6 24 2c 37 2c 33 29 3d 22 52 41 |... ..$,7,3)="RA| 00000560 4d 22 20 8c 20 eb 30 3a f1 27 22 20 20 54 6f 20 |M" . .0:.'" To | 00000570 72 75 6e 20 74 68 69 73 2c 20 79 6f 75 20 6e 65 |run this, you ne| 00000580 65 64 20 61 20 52 61 6d 44 69 73 63 20 77 69 74 |ed a RamDisc wit| 00000590 68 20 61 74 20 6c 65 61 73 74 20 31 30 6b 20 66 |h at least 10k f| 000005a0 72 65 65 20 28 70 72 65 66 65 72 61 62 6c 79 20 |ree (preferably | 000005b0 6d 6f 72 65 29 2e 20 22 27 27 22 20 20 50 6c 65 |more). "''" Ple| 000005c0 61 73 65 20 63 72 65 61 74 65 20 6f 6e 65 20 61 |ase create one a| 000005d0 6e 64 20 74 72 79 20 61 67 61 69 6e 2e 22 3a e0 |nd try again.":.| 000005e0 0d 03 ac 05 cd 0d 03 b6 0f e7 20 45 25 20 e5 20 |.......... E% . | 000005f0 8d 64 66 40 0d 03 c0 04 0d 03 ca 16 f6 3a f1 22 |.df@.........:."| 00000600 20 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 0d 03 | at line ";.:...| 00000610 d4 05 e0 0d 03 de 04 0d 03 e8 0a dd f2 65 72 72 |.............err| 00000620 32 0d 03 f2 09 ee 20 85 20 87 0d 03 fc 9a e7 20 |2..... . ...... | 00000630 9f 3d 37 31 36 32 32 20 eb 30 3a f1 27 22 20 20 |.=71622 .0:.'" | 00000640 49 27 6d 20 61 66 72 61 69 64 20 74 68 61 74 20 |I'm afraid that | 00000650 74 68 65 72 65 20 69 73 20 69 6e 73 75 66 66 69 |there is insuffi| 00000660 63 69 65 6e 74 20 72 6f 6f 6d 20 6f 6e 20 74 68 |cient room on th| 00000670 65 20 72 61 6d 64 69 73 63 20 66 6f 72 20 6d 65 |e ramdisc for me| 00000680 20 74 6f 20 66 69 74 20 74 68 65 20 73 65 74 75 | to fit the setu| 00000690 70 20 66 69 6c 65 2e 20 43 61 6e 20 79 6f 75 20 |p file. Can you | 000006a0 69 6e 63 72 65 61 73 65 20 61 76 61 69 6c 61 62 |increase availab| 000006b0 6c 65 20 73 70 61 63 65 20 74 6f 20 32 31 6b 3f |le space to 21k?| 000006c0 22 27 3a e0 0d 04 06 b5 e7 20 c1 f6 24 2c 37 2c |"':...... ..$,7,| 000006d0 33 29 3d 22 50 4f 53 22 20 eb 30 3a f1 27 22 20 |3)="POS" .0:.'" | 000006e0 20 49 27 6d 20 61 66 72 61 69 64 20 74 68 61 74 | I'm afraid that| 000006f0 20 74 68 65 72 65 20 69 73 20 69 6e 73 75 66 66 | there is insuff| 00000700 69 63 69 65 6e 74 20 72 6f 6f 6d 20 6f 6e 20 74 |icient room on t| 00000710 68 65 20 72 61 6d 64 69 73 63 20 66 6f 72 20 6d |he ramdisc for m| 00000720 65 20 74 6f 20 66 69 74 20 74 68 65 20 20 20 73 |e to fit the s| 00000730 65 74 75 70 20 66 69 6c 65 2e 20 43 61 6e 20 79 |etup file. Can y| 00000740 6f 75 20 69 6e 63 72 65 61 73 65 20 61 76 61 69 |ou increase avai| 00000750 6c 61 62 6c 65 20 73 70 61 63 65 20 74 6f 20 31 |lable space to 1| 00000760 30 6b 3f 20 28 50 72 65 66 65 72 61 62 6c 79 20 |0k? (Preferably | 00000770 6d 6f 72 65 29 22 27 3a e0 0d 04 10 16 f6 3a f1 |more)"':......:.| 00000780 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 0d |" at line ";.:..| 00000790 04 1a 05 e0 0d ff |......| 00000796