Home » Archimedes archive » Archimedes World » AW-1993-02.adf » AWFeb93 » !AWFeb93/Goodies/Imagery/!TinyImage/Overlays/43
!AWFeb93/Goodies/Imagery/!TinyImage/Overlays/43
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 » Archimedes World » AW-1993-02.adf » AWFeb93 |
Filename: | !AWFeb93/Goodies/Imagery/!TinyImage/Overlays/43 |
Read OK: | ✔ |
File size: | 0249 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Acorn Computing » 1993 01 Mega Disk.adf » !_93_01 » Imagery/!TinyImage/Overlays/43
- Archimedes archive » Archimedes World » AW-1993-02.adf » AWFeb93 » !AWFeb93/Goodies/Imagery/!TinyImage/Overlays/43
File contents
40000REM><Imagery$Dir>.Overlays.43 40010DEFPROCpoll_43 40020IF FUST%<2 THEN PROCrectpoll:ENDPROC 40030PROCsupixtrans:CONL%=VALFNgi(26,18):CONH%=VALFNgi(26,20) 40040FORL%=0 TO 255:SYS "ColourTrans_ColourNumberToGCOL",L% TO G% 40050RC%=G%AND%1111:GC%=((G%AND48)>>2)+(G%AND3):BC%=((G%AND192)>>4)+(G%AND3) 40060PROCcontrast(RC%):PROCcontrast(GC%):PROCcontrast(BC%) 40070TC%=((RC%AND3)+(GC%AND3)+(BC%AND3))DIV3:RC%=RC%>>2:GC%=GC%>>2:BC%=BC%>>2 40080TC%=TC%+(RC%<<2)+(GC%<<4)+(BC%<<6):SYS"ColourTrans_GCOLToColourNumber",TC% TO TC% 40090TRANSTAB%?L%=TC%:NEXT 40100A%=VARS:CALL transarea:SYS "Hourglass_Off":FUST%=0:PROCforcedrawmain 40110ENDPROC 40120 40130DEFPROCkill_43 40140PROCclosewind(26):PROCmeoc 40150ENDPROC
�@�><Imagery$Dir>.Overlays.43 �J ��poll_43 �T� FUST%<2 � �rectpoll:� �^3�supixtrans:CONL%=��gi(26,18):CONH%=��gi(26,20) �h;�L%=0 � 255:ș "ColourTrans_ColourNumberToGCOL",L% � G% �rARC%=G%�%1111:GC%=((G%�48)>>2)+(G%�3):BC%=((G%�192)>>4)+(G%�3) �|0�contrast(RC%):�contrast(GC%):�contrast(BC%) ��DTC%=((RC%�3)+(GC%�3)+(BC%�3))�3:RC%=RC%>>2:GC%=GC%>>2:BC%=BC%>>2 ��STC%=TC%+(RC%<<2)+(GC%<<4)+(BC%<<6):ș"ColourTrans_GCOLToColourNumber",TC% � TC% ��TRANSTAB%?L%=TC%:� ��AA%=VARS:� transarea:ș "Hourglass_Off":FUST%=0:�forcedrawmain ��� �� �� ��kill_43 ���closewind(26):�meoc ��� �
00000000 0d 9c 40 1f f4 3e 3c 49 6d 61 67 65 72 79 24 44 |..@..><Imagery$D| 00000010 69 72 3e 2e 4f 76 65 72 6c 61 79 73 2e 34 33 0d |ir>.Overlays.43.| 00000020 9c 4a 0d dd f2 70 6f 6c 6c 5f 34 33 0d 9c 54 1b |.J...poll_43..T.| 00000030 e7 20 46 55 53 54 25 3c 32 20 8c 20 f2 72 65 63 |. FUST%<2 . .rec| 00000040 74 70 6f 6c 6c 3a e1 0d 9c 5e 33 f2 73 75 70 69 |tpoll:...^3.supi| 00000050 78 74 72 61 6e 73 3a 43 4f 4e 4c 25 3d bb a4 67 |xtrans:CONL%=..g| 00000060 69 28 32 36 2c 31 38 29 3a 43 4f 4e 48 25 3d bb |i(26,18):CONH%=.| 00000070 a4 67 69 28 32 36 2c 32 30 29 0d 9c 68 3b e3 4c |.gi(26,20)..h;.L| 00000080 25 3d 30 20 b8 20 32 35 35 3a c8 99 20 22 43 6f |%=0 . 255:.. "Co| 00000090 6c 6f 75 72 54 72 61 6e 73 5f 43 6f 6c 6f 75 72 |lourTrans_Colour| 000000a0 4e 75 6d 62 65 72 54 6f 47 43 4f 4c 22 2c 4c 25 |NumberToGCOL",L%| 000000b0 20 b8 20 47 25 0d 9c 72 41 52 43 25 3d 47 25 80 | . G%..rARC%=G%.| 000000c0 25 31 31 31 31 3a 47 43 25 3d 28 28 47 25 80 34 |%1111:GC%=((G%.4| 000000d0 38 29 3e 3e 32 29 2b 28 47 25 80 33 29 3a 42 43 |8)>>2)+(G%.3):BC| 000000e0 25 3d 28 28 47 25 80 31 39 32 29 3e 3e 34 29 2b |%=((G%.192)>>4)+| 000000f0 28 47 25 80 33 29 0d 9c 7c 30 f2 63 6f 6e 74 72 |(G%.3)..|0.contr| 00000100 61 73 74 28 52 43 25 29 3a f2 63 6f 6e 74 72 61 |ast(RC%):.contra| 00000110 73 74 28 47 43 25 29 3a f2 63 6f 6e 74 72 61 73 |st(GC%):.contras| 00000120 74 28 42 43 25 29 0d 9c 86 44 54 43 25 3d 28 28 |t(BC%)...DTC%=((| 00000130 52 43 25 80 33 29 2b 28 47 43 25 80 33 29 2b 28 |RC%.3)+(GC%.3)+(| 00000140 42 43 25 80 33 29 29 81 33 3a 52 43 25 3d 52 43 |BC%.3)).3:RC%=RC| 00000150 25 3e 3e 32 3a 47 43 25 3d 47 43 25 3e 3e 32 3a |%>>2:GC%=GC%>>2:| 00000160 42 43 25 3d 42 43 25 3e 3e 32 0d 9c 90 53 54 43 |BC%=BC%>>2...STC| 00000170 25 3d 54 43 25 2b 28 52 43 25 3c 3c 32 29 2b 28 |%=TC%+(RC%<<2)+(| 00000180 47 43 25 3c 3c 34 29 2b 28 42 43 25 3c 3c 36 29 |GC%<<4)+(BC%<<6)| 00000190 3a c8 99 22 43 6f 6c 6f 75 72 54 72 61 6e 73 5f |:.."ColourTrans_| 000001a0 47 43 4f 4c 54 6f 43 6f 6c 6f 75 72 4e 75 6d 62 |GCOLToColourNumb| 000001b0 65 72 22 2c 54 43 25 20 b8 20 54 43 25 0d 9c 9a |er",TC% . TC%...| 000001c0 16 54 52 41 4e 53 54 41 42 25 3f 4c 25 3d 54 43 |.TRANSTAB%?L%=TC| 000001d0 25 3a ed 0d 9c a4 41 41 25 3d 56 41 52 53 3a d6 |%:....AA%=VARS:.| 000001e0 20 74 72 61 6e 73 61 72 65 61 3a c8 99 20 22 48 | transarea:.. "H| 000001f0 6f 75 72 67 6c 61 73 73 5f 4f 66 66 22 3a 46 55 |ourglass_Off":FU| 00000200 53 54 25 3d 30 3a f2 66 6f 72 63 65 64 72 61 77 |ST%=0:.forcedraw| 00000210 6d 61 69 6e 0d 9c ae 05 e1 0d 9c b8 04 0d 9c c2 |main............| 00000220 0d dd f2 6b 69 6c 6c 5f 34 33 0d 9c cc 18 f2 63 |...kill_43.....c| 00000230 6c 6f 73 65 77 69 6e 64 28 32 36 29 3a f2 6d 65 |losewind(26):.me| 00000240 6f 63 0d 9c d6 05 e1 0d ff |oc.......| 00000249