Home » Archimedes archive » Acorn User » AU 1997-02 B.adf » Regulars » StarInfo/Smale/!Globes/SET_NORMAL
StarInfo/Smale/!Globes/SET_NORMAL
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_NORMAL |
Read OK: | ✔ |
File size: | 0794 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%+" +518A") 210*DELETE FILE 220GOTO 280 230ON ERROR PROCerr2 240*DELETE POSDATA 250OSCLI("SAVE FILE "+STR$~screen%+" +518A") 260*DELETE FILE 270 280OFF 290ON ERROR REPORT:PRINT" at line ";ERL:END 300CLOSE#0 310R%=160 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 POSDATA "+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 21k free (preferbaly 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 21k? (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%+" +518A") �*DELETE FILE � � �TXA � � � �err2 �*DELETE POSDATA �&�("SAVE FILE "+�~screen%+" +518A") *DELETE FILE � "� � �:�" at line ";�:� ,�#0 6 R%=160 @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 POSDATA "+�~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 21k free (preferbaly 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 21k? (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 35 31 |+.~screen%+" +51| 00000160 38 41 22 29 0d 00 d2 10 2a 44 45 4c 45 54 45 20 |8A")....*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 13 2a |... . .err2....*| 00000190 44 45 4c 45 54 45 20 50 4f 53 44 41 54 41 0d 00 |DELETE POSDATA..| 000001a0 fa 26 ff 28 22 53 41 56 45 20 46 49 4c 45 20 22 |.&.("SAVE FILE "| 000001b0 2b c3 7e 73 63 72 65 65 6e 25 2b 22 20 2b 35 31 |+.~screen%+" +51| 000001c0 38 41 22 29 0d 01 04 10 2a 44 45 4c 45 54 45 20 |8A")....*DELETE | 000001d0 46 49 4c 45 0d 01 0e 04 0d 01 18 05 87 0d 01 22 |FILE..........."| 000001e0 1a ee 20 85 20 f6 3a f1 22 20 61 74 20 6c 69 6e |.. . .:." at lin| 000001f0 65 20 22 3b 9e 3a e0 0d 01 2c 07 d9 23 30 0d 01 |e ";.:...,..#0..| 00000200 36 0a 52 25 3d 31 36 30 0d 01 40 0e 48 25 3d 34 |6.R%=160..@.H%=4| 00000210 30 30 20 81 20 34 0d 01 4a 0e 77 69 64 74 68 25 |00 . 4..J.width%| 00000220 3d 33 32 30 0d 01 54 14 68 65 69 67 68 74 25 3d |=320..T.height%=| 00000230 32 35 36 2a 31 2e 32 36 0d 01 5e 04 0d 01 68 0b |256*1.26..^...h.| 00000240 41 53 58 3d 39 2a 38 0d 01 72 09 53 59 25 3d 30 |ASX=9*8..r.SY%=0| 00000250 0d 01 7c 09 62 59 25 3d 30 0d 01 86 0b 53 41 59 |..|.bY%=0....SAY| 00000260 3d af 2f 38 0d 01 90 0d 46 41 59 3d af 2d af 2f |=./8....FAY=.-./| 00000270 34 0d 01 9a 0f 54 41 59 3d 46 41 59 2d 53 41 59 |4....TAY=FAY-SAY| 00000280 0d 01 a4 20 e3 20 41 59 3d af 2f 38 20 b8 20 af |... . AY=./8 . .| 00000290 2d af 2f 35 20 88 20 af 2f 68 65 69 67 68 74 25 |-./5 . ./height%| 000002a0 0d 01 ae 09 53 58 25 3d 30 0d 01 b8 09 62 58 25 |....SX%=0....bX%| 000002b0 3d 30 0d 01 c2 22 e3 20 41 58 3d 2e 37 35 2a af |=0...". AX=.75*.| 000002c0 20 b8 20 31 2e 32 35 2a af 20 88 20 af 2f 77 69 | . 1.25*. . ./wi| 000002d0 64 74 68 25 0d 01 cc 14 58 3d 52 25 2a b5 28 41 |dth%....X=R%*.(A| 000002e0 58 29 2a b5 28 41 59 29 0d 01 d6 0e 59 3d 52 25 |X)*.(AY)....Y=R%| 000002f0 2a 9b 28 41 59 29 0d 01 e0 14 5a 3d 52 25 2a 9b |*.(AY)....Z=R%*.| 00000300 28 41 58 29 2a b5 28 41 59 29 0d 01 ea 0a 5a 2b |(AX)*.(AY)....Z+| 00000310 3d 33 32 30 0d 01 f4 10 e7 20 5a 3d 30 20 5a 3d |=320..... Z=0 Z=| 00000320 30 2e 30 31 0d 01 fe 0e 58 58 25 3d 58 2f 5a 2a |0.01....XX%=X/Z*| 00000330 48 25 0d 02 08 0e 59 59 25 3d 59 2f 5a 2a 48 25 |H%....YY%=Y/Z*H%| 00000340 0d 02 12 0b 58 58 25 2b 3d 38 30 0d 02 1c 0b 59 |....XX%+=80....Y| 00000350 59 25 2b 3d 38 30 0d 02 26 0c 41 53 58 25 3d 53 |Y%+=80..&.ASX%=S| 00000360 58 25 0d 02 30 14 e7 20 53 58 25 3e 38 30 20 41 |X%..0.. SX%>80 A| 00000370 53 58 25 2d 3d 32 0d 02 3a 1c 41 25 28 58 58 25 |SX%-=2..:.A%(XX%| 00000380 2c 59 59 25 29 3d 41 53 58 25 2b 53 59 25 2a 33 |,YY%)=ASX%+SY%*3| 00000390 32 30 0d 02 44 0a 53 58 25 2b 3d 31 0d 02 4e 05 |20..D.SX%+=1..N.| 000003a0 ed 0d 02 58 0a 53 59 25 2b 3d 31 0d 02 62 24 f1 |...X.SY%+=1..b$.| 000003b0 8a 32 2c 32 29 3b a8 28 28 28 41 59 2d 53 41 59 |.2,2);.(((AY-SAY| 000003c0 29 2f 54 41 59 29 2a 31 30 30 29 3b 22 25 22 0d |)/TAY)*100);"%".| 000003d0 02 6c 05 ed 0d 02 76 05 db 0d 02 80 04 0d 02 8a |.l....v.........| 000003e0 0e 49 25 3d 73 63 72 65 65 6e 25 0d 02 94 07 59 |.I%=screen%....Y| 000003f0 3d 30 0d 02 9e 0f e3 20 59 3d 30 20 b8 20 32 35 |=0..... Y=0 . 25| 00000400 35 0d 02 a8 24 58 3d 2d 31 3a f5 20 58 2b 3d 31 |5...$X=-1:. X+=1| 00000410 3a fd 20 41 25 28 58 2c 59 29 3c 3e 30 20 84 20 |:. A%(X,Y)<>0 . | 00000420 58 3d 33 32 30 0d 02 b2 0d e7 20 58 3c 33 32 30 |X=320..... X<320| 00000430 20 8c 0d 02 bc 15 21 49 25 3d 58 2b 33 32 30 2a | .....!I%=X+320*| 00000440 59 3a 49 25 2b 3d 34 0d 02 c6 04 0d 02 d0 05 f5 |Y:I%+=4.........| 00000450 0d 02 da 0d 41 3d 41 25 28 58 2c 59 29 0d 02 e4 |....A=A%(X,Y)...| 00000460 0f 42 3d 41 25 28 58 2b 31 2c 59 29 0d 02 ee 17 |.B=A%(X+1,Y)....| 00000470 21 49 25 3d 28 41 3c 3c 31 36 29 2b 42 3a 49 25 |!I%=(A<<16)+B:I%| 00000480 2b 3d 34 0d 02 f8 08 58 2b 3d 32 0d 03 02 18 fd |+=4....X+=2.....| 00000490 20 41 3d 30 20 84 20 42 3d 30 20 84 20 58 3e 3d | A=0 . B=0 . X>=| 000004a0 33 31 38 0d 03 0c 18 e7 20 58 3e 3d 33 31 38 20 |318..... X>=318 | 000004b0 21 49 25 3d 30 3a 49 25 2b 3d 34 0d 03 16 05 cd |!I%=0:I%+=4.....| 000004c0 0d 03 20 05 ed 0d 03 2a 09 21 49 25 3d 30 0d 03 |.. ....*.!I%=0..| 000004d0 34 09 49 25 2b 3d 34 0d 03 3e 04 0d 03 48 29 ff |4.I%+=4..>...H).| 000004e0 28 22 53 41 56 45 20 50 4f 53 44 41 54 41 20 22 |("SAVE POSDATA "| 000004f0 2b c3 7e 73 63 72 65 65 6e 25 2b 22 20 22 2b c3 |+.~screen%+" "+.| 00000500 7e 49 25 29 0d 03 52 05 e0 0d 03 5c 04 0d 03 66 |~I%)..R....\...f| 00000510 09 dd f2 65 72 72 0d 03 70 09 ee 20 85 20 87 0d |...err..p.. . ..| 00000520 03 7a 08 45 25 3d 30 0d 03 84 14 e7 20 9f 3d 37 |.z.E%=0..... .=7| 00000530 31 36 32 32 20 e5 20 8d 64 66 40 0d 03 8e 04 0d |1622 . .df@.....| 00000540 03 98 0d e7 20 9f 3d 32 31 34 20 8c 0d 03 a2 92 |.... .=214 .....| 00000550 e7 20 c1 f6 24 2c 37 2c 33 29 3d 22 52 41 4d 22 |. ..$,7,3)="RAM"| 00000560 20 8c 20 eb 30 3a f1 27 22 20 20 54 6f 20 72 75 | . .0:.'" To ru| 00000570 6e 20 74 68 69 73 2c 20 79 6f 75 20 6e 65 65 64 |n this, you need| 00000580 20 61 20 52 61 6d 44 69 73 63 20 77 69 74 68 20 | a RamDisc with | 00000590 61 74 20 6c 65 61 73 74 20 32 31 6b 20 66 72 65 |at least 21k fre| 000005a0 65 20 28 70 72 65 66 65 72 62 61 6c 79 20 6d 6f |e (preferbaly mo| 000005b0 72 65 29 2e 20 22 27 27 22 20 20 50 6c 65 61 73 |re). "''" Pleas| 000005c0 65 20 63 72 65 61 74 65 20 6f 6e 65 20 61 6e 64 |e create one and| 000005d0 20 74 72 79 20 61 67 61 69 6e 2e 22 3a e0 0d 03 | try again.":...| 000005e0 ac 05 cd 0d 03 b6 0f e7 20 45 25 20 e5 20 8d 64 |........ E% . .d| 000005f0 66 40 0d 03 c0 04 0d 03 ca 16 f6 3a f1 22 20 61 |f@.........:." a| 00000600 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 0d 03 d4 05 |t line ";.:.....| 00000610 e0 0d 03 de 04 0d 03 e8 0a dd f2 65 72 72 32 0d |...........err2.| 00000620 03 f2 09 ee 20 85 20 87 0d 03 fc 9a e7 20 9f 3d |.... . ...... .=| 00000630 37 31 36 32 32 20 eb 30 3a f1 27 22 20 20 49 27 |71622 .0:.'" I'| 00000640 6d 20 61 66 72 61 69 64 20 74 68 61 74 20 74 68 |m afraid that th| 00000650 65 72 65 20 69 73 20 69 6e 73 75 66 66 69 63 69 |ere is insuffici| 00000660 65 6e 74 20 72 6f 6f 6d 20 6f 6e 20 74 68 65 20 |ent room on the | 00000670 72 61 6d 64 69 73 63 20 66 6f 72 20 6d 65 20 74 |ramdisc for me t| 00000680 6f 20 66 69 74 20 74 68 65 20 73 65 74 75 70 20 |o fit the setup | 00000690 66 69 6c 65 2e 20 43 61 6e 20 79 6f 75 20 69 6e |file. Can you in| 000006a0 63 72 65 61 73 65 20 61 76 61 69 6c 61 62 6c 65 |crease available| 000006b0 20 73 70 61 63 65 20 74 6f 20 32 31 6b 3f 22 27 | space to 21k?"'| 000006c0 3a e0 0d 04 06 b5 e7 20 c1 f6 24 2c 37 2c 33 29 |:...... ..$,7,3)| 000006d0 3d 22 50 4f 53 22 20 eb 30 3a f1 27 22 20 20 49 |="POS" .0:.'" I| 000006e0 27 6d 20 61 66 72 61 69 64 20 74 68 61 74 20 74 |'m afraid that t| 000006f0 68 65 72 65 20 69 73 20 69 6e 73 75 66 66 69 63 |here is insuffic| 00000700 69 65 6e 74 20 72 6f 6f 6d 20 6f 6e 20 74 68 65 |ient room on the| 00000710 20 72 61 6d 64 69 73 63 20 66 6f 72 20 6d 65 20 | ramdisc for me | 00000720 74 6f 20 66 69 74 20 74 68 65 20 20 20 73 65 74 |to fit the set| 00000730 75 70 20 66 69 6c 65 2e 20 43 61 6e 20 79 6f 75 |up file. Can you| 00000740 20 69 6e 63 72 65 61 73 65 20 61 76 61 69 6c 61 | increase availa| 00000750 62 6c 65 20 73 70 61 63 65 20 74 6f 20 32 31 6b |ble space to 21k| 00000760 3f 20 28 50 72 65 66 65 72 61 62 6c 79 20 6d 6f |? (Preferably mo| 00000770 72 65 29 22 27 3a e0 0d 04 10 16 f6 3a f1 22 20 |re)"':......:." | 00000780 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 0d 04 1a |at line ";.:....| 00000790 05 e0 0d ff |....| 00000794