Home » Archimedes archive » Acorn Computing » 1993 09 Mega Disk.adf » 93_09 » Imagery/!Install/Overlays/38

Imagery/!Install/Overlays/38

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 Computing » 1993 09 Mega Disk.adf » 93_09
Filename: Imagery/!Install/Overlays/38
Read OK:
File size: 0217 bytes
Load address: 0000
Exec address: 0000
File contents
40000DEFPROCCL
40010IFBS%<2THENPROCBu:ENDPROC
40020PROCCP
40030EN%=VALFNH(21,13):EO%=VALFNH(21,15):EP%=VALFNH(21,17)
40040EN%=EN%*2:EO%=EO%*2:EP%=EP%*2
40050FORL%=0TO255:SYS"ColourTrans_ColourNumberToGCOL",L%TOG%
40060EQ%=((G%AND%1111)*EN%)DIV100:ER%=((((G%AND48)>>2)+(G%AND3))*EO%)DIV100:ES%=((((G%AND192)>>4)+(G%AND3))*EP%)DIV100
40070IFEQ%>15THENEQ%=15
40080IFER%>15THENER%=15
40090IFES%>15THENES%=15
40100Dg%=(((EQ%AND3)+(ER%AND3)+(ES%AND3))DIV3):Dg%=Dg%+(EQ%AND12)+((ER%AND12)<<2)+((ES%AND12)<<4):SYS"ColourTrans_GCOLToColourNumber",Dg%TODg%
40110q%?L%=Dg%:NEXT
40120A%=B:CALLS:SYS"Hourglass_Off":BS%=0:PROCBE
40130ENDPROC
40140DEFPROCCg
40150PROCCI(21):PROCCk
40160ENDPROC
�@��CL
�J�BS%<2��Bu:�
�T�CP
�^0EN%=��H(21,13):EO%=��H(21,15):EP%=��H(21,17)
�h!EN%=EN%*2:EO%=EO%*2:EP%=EP%*2
�r6�L%=0�255:ș"ColourTrans_ColourNumberToGCOL",L%�G%
�|eEQ%=((G%�%1111)*EN%)�100:ER%=((((G%�48)>>2)+(G%�3))*EO%)�100:ES%=((((G%�192)>>4)+(G%�3))*EP%)�100
���EQ%>15�EQ%=15
���ER%>15�ER%=15
���ES%>15�ES%=15
��}Dg%=(((EQ%�3)+(ER%�3)+(ES%�3))�3):Dg%=Dg%+(EQ%�12)+((ER%�12)<<2)+((ES%�12)<<4):ș"ColourTrans_GCOLToColourNumber",Dg%�Dg%
��q%?L%=Dg%:�
��'A%=B:�S:ș"Hourglass_Off":BS%=0:�BE
���
����Cg
���CI(21):�Ck
���
�
00000000  0d 9c 40 08 dd f2 43 4c  0d 9c 4a 10 e7 42 53 25  |..@...CL..J..BS%|
00000010  3c 32 8c f2 42 75 3a e1  0d 9c 54 07 f2 43 50 0d  |<2..Bu:...T..CP.|
00000020  9c 5e 30 45 4e 25 3d bb  a4 48 28 32 31 2c 31 33  |.^0EN%=..H(21,13|
00000030  29 3a 45 4f 25 3d bb a4  48 28 32 31 2c 31 35 29  |):EO%=..H(21,15)|
00000040  3a 45 50 25 3d bb a4 48  28 32 31 2c 31 37 29 0d  |:EP%=..H(21,17).|
00000050  9c 68 21 45 4e 25 3d 45  4e 25 2a 32 3a 45 4f 25  |.h!EN%=EN%*2:EO%|
00000060  3d 45 4f 25 2a 32 3a 45  50 25 3d 45 50 25 2a 32  |=EO%*2:EP%=EP%*2|
00000070  0d 9c 72 36 e3 4c 25 3d  30 b8 32 35 35 3a c8 99  |..r6.L%=0.255:..|
00000080  22 43 6f 6c 6f 75 72 54  72 61 6e 73 5f 43 6f 6c  |"ColourTrans_Col|
00000090  6f 75 72 4e 75 6d 62 65  72 54 6f 47 43 4f 4c 22  |ourNumberToGCOL"|
000000a0  2c 4c 25 b8 47 25 0d 9c  7c 65 45 51 25 3d 28 28  |,L%.G%..|eEQ%=((|
000000b0  47 25 80 25 31 31 31 31  29 2a 45 4e 25 29 81 31  |G%.%1111)*EN%).1|
000000c0  30 30 3a 45 52 25 3d 28  28 28 28 47 25 80 34 38  |00:ER%=((((G%.48|
000000d0  29 3e 3e 32 29 2b 28 47  25 80 33 29 29 2a 45 4f  |)>>2)+(G%.3))*EO|
000000e0  25 29 81 31 30 30 3a 45  53 25 3d 28 28 28 28 47  |%).100:ES%=((((G|
000000f0  25 80 31 39 32 29 3e 3e  34 29 2b 28 47 25 80 33  |%.192)>>4)+(G%.3|
00000100  29 29 2a 45 50 25 29 81  31 30 30 0d 9c 86 12 e7  |))*EP%).100.....|
00000110  45 51 25 3e 31 35 8c 45  51 25 3d 31 35 0d 9c 90  |EQ%>15.EQ%=15...|
00000120  12 e7 45 52 25 3e 31 35  8c 45 52 25 3d 31 35 0d  |..ER%>15.ER%=15.|
00000130  9c 9a 12 e7 45 53 25 3e  31 35 8c 45 53 25 3d 31  |....ES%>15.ES%=1|
00000140  35 0d 9c a4 7d 44 67 25  3d 28 28 28 45 51 25 80  |5...}Dg%=(((EQ%.|
00000150  33 29 2b 28 45 52 25 80  33 29 2b 28 45 53 25 80  |3)+(ER%.3)+(ES%.|
00000160  33 29 29 81 33 29 3a 44  67 25 3d 44 67 25 2b 28  |3)).3):Dg%=Dg%+(|
00000170  45 51 25 80 31 32 29 2b  28 28 45 52 25 80 31 32  |EQ%.12)+((ER%.12|
00000180  29 3c 3c 32 29 2b 28 28  45 53 25 80 31 32 29 3c  |)<<2)+((ES%.12)<|
00000190  3c 34 29 3a c8 99 22 43  6f 6c 6f 75 72 54 72 61  |<4):.."ColourTra|
000001a0  6e 73 5f 47 43 4f 4c 54  6f 43 6f 6c 6f 75 72 4e  |ns_GCOLToColourN|
000001b0  75 6d 62 65 72 22 2c 44  67 25 b8 44 67 25 0d 9c  |umber",Dg%.Dg%..|
000001c0  ae 0f 71 25 3f 4c 25 3d  44 67 25 3a ed 0d 9c b8  |..q%?L%=Dg%:....|
000001d0  27 41 25 3d 42 3a d6 53  3a c8 99 22 48 6f 75 72  |'A%=B:.S:.."Hour|
000001e0  67 6c 61 73 73 5f 4f 66  66 22 3a 42 53 25 3d 30  |glass_Off":BS%=0|
000001f0  3a f2 42 45 0d 9c c2 05  e1 0d 9c cc 08 dd f2 43  |:.BE...........C|
00000200  67 0d 9c d6 0f f2 43 49  28 32 31 29 3a f2 43 6b  |g.....CI(21):.Ck|
00000210  0d 9c e0 05 e1 0d ff                              |.......|
00000217