Home » Archimedes archive » Acorn Computing » 1995 02 subscription disc.adf » 9502s » Mike'sbits/PsychoSlid/Psyche/Addition
Mike'sbits/PsychoSlid/Psyche/Addition
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 » 1995 02 subscription disc.adf » 9502s |
Filename: | Mike'sbits/PsychoSlid/Psyche/Addition |
Read OK: | ✔ |
File size: | 019E bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM Mods By Mike Cook Acorn Computing 20DEF PROC_GPAL 30LOCAL A% 40FOR A%=0 TO 255 50SYS"OS_ReadPalette",A%,16 TO ,,C1%,C2% 60PAL%!(A%*4)=C1% 70PAL%!(A%*4+1024)=C1% 80NEXT 90ENDPROC 100 110DEF PROC_SPIN 120LOCAL A%,B%,P%,C1%,C2%,R%,G%,B%,E%,S% 130 140PROC_GPAL 150 160FOR E%=0 TO 128 STEP 2 170FOR A% = 0 TO 255 180C1%=PAL%!((A%+E%)*4) 190R%=(C1%>>8) AND 255 200G%=(C1%>>16) AND 255 210B%=C1%>>24 220GCOL R%,G%,B% 230COLOUR A%,R%,G%,B% 240NEXT 250NEXT 260 270ENDPROC 280
'� Mods By Mike Cook Acorn Computing � �_GPAL � A% (� A%=0 � 255 2(ș"OS_ReadPalette",A%,16 � ,,C1%,C2% <PAL%!(A%*4)=C1% FPAL%!(A%*4+1024)=C1% P� Z� d n� �_SPIN x%� A%,B%,P%,C1%,C2%,R%,G%,B%,E%,S% � � �_GPAL � �� E%=0 � 128 � 2 �� A% = 0 � 255 �C1%=PAL%!((A%+E%)*4) �R%=(C1%>>8) � 255 �G%=(C1%>>16) � 255 �B%=C1%>>24 �� R%,G%,B% �� A%,R%,G%,B% �� �� � �
00000000 0d 00 0a 27 f4 20 4d 6f 64 73 20 42 79 20 4d 69 |...'. Mods By Mi| 00000010 6b 65 20 43 6f 6f 6b 20 41 63 6f 72 6e 20 43 6f |ke Cook Acorn Co| 00000020 6d 70 75 74 69 6e 67 0d 00 14 0c dd 20 f2 5f 47 |mputing..... ._G| 00000030 50 41 4c 0d 00 1e 08 ea 20 41 25 0d 00 28 10 e3 |PAL..... A%..(..| 00000040 20 41 25 3d 30 20 b8 20 32 35 35 0d 00 32 28 c8 | A%=0 . 255..2(.| 00000050 99 22 4f 53 5f 52 65 61 64 50 61 6c 65 74 74 65 |."OS_ReadPalette| 00000060 22 2c 41 25 2c 31 36 20 b8 20 2c 2c 43 31 25 2c |",A%,16 . ,,C1%,| 00000070 43 32 25 0d 00 3c 13 50 41 4c 25 21 28 41 25 2a |C2%..<.PAL%!(A%*| 00000080 34 29 3d 43 31 25 0d 00 46 18 50 41 4c 25 21 28 |4)=C1%..F.PAL%!(| 00000090 41 25 2a 34 2b 31 30 32 34 29 3d 43 31 25 0d 00 |A%*4+1024)=C1%..| 000000a0 50 05 ed 0d 00 5a 05 e1 0d 00 64 04 0d 00 6e 0c |P....Z....d...n.| 000000b0 dd 20 f2 5f 53 50 49 4e 0d 00 78 25 ea 20 41 25 |. ._SPIN..x%. A%| 000000c0 2c 42 25 2c 50 25 2c 43 31 25 2c 43 32 25 2c 52 |,B%,P%,C1%,C2%,R| 000000d0 25 2c 47 25 2c 42 25 2c 45 25 2c 53 25 0d 00 82 |%,G%,B%,E%,S%...| 000000e0 04 0d 00 8c 0a f2 5f 47 50 41 4c 0d 00 96 04 0d |......_GPAL.....| 000000f0 00 a0 14 e3 20 45 25 3d 30 20 b8 20 31 32 38 20 |.... E%=0 . 128 | 00000100 88 20 32 0d 00 aa 12 e3 20 41 25 20 3d 20 30 20 |. 2..... A% = 0 | 00000110 b8 20 32 35 35 0d 00 b4 18 43 31 25 3d 50 41 4c |. 255....C1%=PAL| 00000120 25 21 28 28 41 25 2b 45 25 29 2a 34 29 0d 00 be |%!((A%+E%)*4)...| 00000130 15 52 25 3d 28 43 31 25 3e 3e 38 29 20 80 20 32 |.R%=(C1%>>8) . 2| 00000140 35 35 0d 00 c8 16 47 25 3d 28 43 31 25 3e 3e 31 |55....G%=(C1%>>1| 00000150 36 29 20 80 20 32 35 35 0d 00 d2 0e 42 25 3d 43 |6) . 255....B%=C| 00000160 31 25 3e 3e 32 34 0d 00 dc 0e e6 20 52 25 2c 47 |1%>>24..... R%,G| 00000170 25 2c 42 25 0d 00 e6 11 fb 20 41 25 2c 52 25 2c |%,B%..... A%,R%,| 00000180 47 25 2c 42 25 0d 00 f0 05 ed 0d 00 fa 05 ed 0d |G%,B%...........| 00000190 01 04 04 0d 01 0e 05 e1 0d 01 18 04 0d ff |..............| 0000019e