home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / demos / sphere / !Sphere / !RunImage < prev    next >
Unknown  |  1993-02-11  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% xdgMime image/x-tga default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 0d f4 20 3e 53 | 70 68 65 72 65 0d 00 14 |..... >S|phere...|
|00000010| 21 f4 20 42 79 20 47 61 | 72 79 20 48 75 6e 74 2c |!. By Ga|ry Hunt,|
|00000020| 20 43 68 72 69 73 74 6d | 61 73 20 27 39 32 0d 00 | Christm|as '92..|
|00000030| 1e 2b 73 72 25 3d 36 34 | 3a f4 20 54 68 69 73 20 |.+sr%=64|:. This |
|00000040| 69 73 20 74 68 65 20 73 | 69 7a 65 20 6f 66 20 74 |is the s|ize of t|
|00000050| 68 65 20 73 70 68 65 72 | 65 0d 00 28 15 2a 44 69 |he spher|e..(.*Di|
|00000060| 72 20 3c 53 70 68 65 72 | 65 24 44 69 72 3e 0d 00 |r <Spher|e$Dir>..|
|00000070| 32 08 eb 20 31 33 0d 00 | 3c 05 87 0d 00 46 17 de |2.. 13..|<....F..|
|00000080| 20 61 72 65 61 20 32 35 | 36 2a 32 35 36 2b 31 30 | area 25|6*256+10|
|00000090| 32 34 0d 00 50 17 21 61 | 72 65 61 3d 31 34 39 3a |24..P.!a|rea=149:|
|000000a0| 61 72 65 61 21 34 3d 2d | 31 0d 00 5a 26 c8 99 20 |area!4=-|1..Z&.. |
|000000b0| 22 4f 53 5f 52 65 61 64 | 56 64 75 56 61 72 69 61 |"OS_Read|VduVaria|
|000000c0| 62 6c 65 73 22 2c 61 72 | 65 61 2c 61 72 65 61 0d |bles",ar|ea,area.|
|000000d0| 00 64 2d 76 64 75 25 3d | 21 61 72 65 61 3a e7 20 |.d-vdu%=|!area:. |
|000000e0| eb 3d 31 35 20 8c 20 6c | 69 6e 65 25 3d 36 34 30 |.=15 . l|ine%=640|
|000000f0| 20 8b 20 6c 69 6e 65 25 | 3d 33 32 30 0d 00 6e 23 | . line%|=320..n#|
|00000100| c8 99 20 22 4f 53 5f 46 | 69 6c 65 22 2c 26 46 46 |.. "OS_F|ile",&FF|
|00000110| 2c 22 49 6d 61 67 65 22 | 2c 61 72 65 61 2c 30 0d |,"Image"|,area,0.|
|00000120| 00 78 14 73 70 72 69 74 | 65 25 3d 61 72 65 61 2b |.x.sprit|e%=area+|
|00000130| 26 33 38 0d 00 82 11 f2 | 63 73 70 68 65 72 65 28 |&38.....|csphere(|
|00000140| 73 72 25 29 0d 00 8c 09 | f2 63 6f 64 65 0d 00 96 |sr%)....|.code...|
|00000150| 05 f5 0d 00 a0 13 e3 20 | 6f 25 3d 30 20 b8 20 32 |....... |o%=0 . 2|
|00000160| 35 35 20 88 31 0d 00 aa | 15 f2 73 70 68 65 72 65 |55 .1...|..sphere|
|00000170| 28 73 72 25 2c 6f 25 2c | 30 29 0d 00 b4 05 ed 0d |(sr%,o%,|0)......|
|00000180| 00 be 06 fd 30 0d 00 c8 | 05 e0 0d 00 d2 05 3a 0d |....0...|......:.|
|00000190| 00 dc 0b dd 20 f2 63 6f | 64 65 0d 00 e6 14 e3 20 |.... .co|de..... |
|000001a0| 70 61 73 73 3d 30 20 b8 | 20 32 20 88 20 32 0d 00 |pass=0 .| 2 . 2..|
|000001b0| f0 0b 50 25 3d 63 6f 64 | 65 0d 00 fa 0d 5b 4f 50 |..P%=cod|e....[OP|
|000001c0| 54 20 70 61 73 73 0d 01 | 04 1a 2e 73 70 72 69 74 |T pass..|...sprit|
|000001d0| 76 20 20 45 51 55 44 20 | 20 73 70 72 69 74 65 25 |v EQUD | sprite%|
|000001e0| 0d 01 0e 24 2e 73 70 68 | 65 72 65 20 20 53 54 4d |...$.sph|ere STM|
|000001f0| 46 44 20 52 31 33 21 2c | 7b 52 33 2d 52 31 32 2c |FD R13!,|{R3-R12,|
|00000200| 52 31 34 7d 0d 01 18 1f | 20 20 20 20 20 20 20 20 |R14}....| |
|00000210| 20 53 54 4d 46 44 20 52 | 31 33 21 2c 7b 52 30 2d | STMFD R|13!,{R0-|
|00000220| 52 32 7d 0d 01 22 19 20 | 20 20 20 20 20 20 20 20 |R2}..". | |
|00000230| 4d 4f 56 20 20 20 52 30 | 2c 23 31 39 0d 01 2c 1c |MOV R0|,#19..,.|
|00000240| 20 20 20 20 20 20 20 20 | 20 53 57 49 20 20 20 22 | | SWI "|
|00000250| 4f 53 5f 42 79 74 65 22 | 0d 01 36 1f 20 20 20 20 |OS_Byte"|..6. |
|00000260| 20 20 20 20 20 4c 44 4d | 49 41 20 52 31 33 21 2c | LDM|IA R13!,|
|00000270| 7b 52 30 2d 52 32 7d 0d | 01 40 1e 20 20 20 20 20 |{R0-R2}.|.@. |
|00000280| 20 20 20 20 4d 4f 56 20 | 20 20 52 30 2c 52 30 2c | MOV | R0,R0,|
|00000290| 4c 53 4c 23 31 0d 01 4a | 1c 20 20 20 20 20 20 20 |LSL#1..J|. |
|000002a0| 20 20 53 55 42 20 20 20 | 52 31 32 2c 52 30 2c 23 | SUB |R12,R0,#|
|000002b0| 31 0d 01 54 1b 20 20 20 | 20 20 20 20 20 20 41 44 |1..T. | AD|
|000002c0| 52 20 20 20 52 33 2c 61 | 63 73 79 72 0d 01 5e 1b |R R3,a|csyr..^.|
|000002d0| 20 20 20 20 20 20 20 20 | 20 41 44 52 20 20 20 52 | | ADR R|
|000002e0| 34 2c 61 63 73 78 72 0d | 01 68 19 20 20 20 20 20 |4,acsxr.|.h. |
|000002f0| 20 20 20 20 41 44 52 20 | 20 20 52 35 2c 76 64 75 | ADR | R5,vdu|
|00000300| 0d 01 72 18 20 20 20 20 | 20 20 20 20 20 41 44 52 |..r. | ADR|
|00000310| 20 20 20 52 36 2c 78 72 | 0d 01 7c 1c 20 20 20 20 | R6,xr|..|. |
|00000320| 20 20 20 20 20 4c 44 52 | 20 20 20 52 37 2c 73 70 | LDR| R7,sp|
|00000330| 72 69 74 76 0d 01 86 1f | 2e 73 6c 6f 6f 70 31 20 |ritv....|.sloop1 |
|00000340| 20 4c 44 52 42 20 20 52 | 31 31 2c 5b 52 33 2c 52 | LDRB R|11,[R3,R|
|00000350| 31 32 5d 0d 01 90 1d 20 | 20 20 20 20 20 20 20 20 |12].... | |
|00000360| 41 44 44 20 20 20 52 31 | 31 2c 52 31 31 2c 52 32 |ADD R1|1,R11,R2|
|00000370| 0d 01 9a 1d 20 20 20 20 | 20 20 20 20 20 80 20 20 |.... | . |
|00000380| 20 52 31 31 2c 52 31 31 | 2c 23 26 46 46 0d 01 a4 | R11,R11|,#&FF...|
|00000390| 23 20 20 20 20 20 20 20 | 20 20 41 44 44 20 20 20 |# | ADD |
|000003a0| 52 31 31 2c 52 37 2c 52 | 31 31 2c 4c 53 4c 23 38 |R11,R7,R|11,LSL#8|
|000003b0| 0d 01 ae 1f 20 20 20 20 | 20 20 20 20 20 4c 44 52 |.... | LDR|
|000003c0| 42 20 20 52 31 30 2c 5b | 52 36 2c 52 31 32 5d 0d |B R10,[|R6,R12].|
|000003d0| 01 b8 20 2e 73 6c 6f 6f | 70 32 20 20 4d 4c 41 20 |.. .sloo|p2 MLA |
|000003e0| 20 20 52 39 2c 52 30 2c | 52 31 32 2c 52 31 30 0d | R9,R0,|R12,R10.|
|000003f0| 01 c2 1d 20 20 20 20 20 | 20 20 20 20 4c 44 52 42 |... | LDRB|
|00000400| 20 20 52 39 2c 5b 52 34 | 2c 52 39 5d 0d 01 cc 1b | R9,[R4|,R9]....|
|00000410| 20 20 20 20 20 20 20 20 | 20 41 44 44 20 20 20 52 | | ADD R|
|00000420| 39 2c 52 39 2c 52 31 0d | 01 d6 1b 20 20 20 20 20 |9,R9,R1.|... |
|00000430| 20 20 20 20 80 20 20 20 | 52 39 2c 52 39 2c 23 26 | . |R9,R9,#&|
|00000440| 46 46 0d 01 e0 1e 20 20 | 20 20 20 20 20 20 20 4c |FF.... | L|
|00000450| 44 52 42 20 20 52 39 2c | 5b 52 31 31 2c 52 39 5d |DRB R9,|[R11,R9]|
|00000460| 0d 01 ea 24 20 20 20 20 | 20 20 20 20 20 4c 44 52 |...$ | LDR|
|00000470| 20 20 20 52 38 2c 5b 52 | 35 2c 52 31 32 2c 4c 53 | R8,[R|5,R12,LS|
|00000480| 4c 23 32 5d 0d 01 f4 23 | 20 20 20 20 20 20 20 20 |L#2]...#| |
|00000490| 20 41 44 44 20 20 20 52 | 38 2c 52 38 2c 23 28 31 | ADD R|8,R8,#(1|
|000004a0| 36 30 2d 73 72 25 29 0d | 01 fe 1e 20 20 20 20 20 |60-sr%).|... |
|000004b0| 20 20 20 20 53 54 52 42 | 20 20 52 39 2c 5b 52 38 | STRB| R9,[R8|
|000004c0| 2c 52 31 30 5d 0d 02 08 | 1d 20 20 20 20 20 20 20 |,R10]...|. |
|000004d0| 20 20 53 55 42 53 20 20 | 52 31 30 2c 52 31 30 2c | SUBS |R10,R10,|
|000004e0| 23 31 0d 02 12 19 20 20 | 20 20 20 20 20 20 20 42 |#1.... | B|
|000004f0| 4e 45 20 20 20 73 6c 6f | 6f 70 32 0d 02 1c 1d 20 |NE slo|op2.... |
|00000500| 20 20 20 20 20 20 20 20 | 53 55 42 53 20 20 52 31 | |SUBS R1|
|00000510| 32 2c 52 31 32 2c 23 31 | 0d 02 26 19 20 20 20 20 |2,R12,#1|..&. |
|00000520| 20 20 20 20 20 42 4e 45 | 20 20 20 73 6c 6f 6f 70 | BNE| sloop|
|00000530| 31 0d 02 30 23 20 20 20 | 20 20 20 20 20 20 4c 44 |1..0# | LD|
|00000540| 4d 49 41 20 52 31 33 21 | 2c 7b 52 33 2d 52 31 32 |MIA R13!|,{R3-R12|
|00000550| 2c 50 43 7d 0d 02 3a 09 | 5d 3a ed 3a e1 0d 02 44 |,PC}..:.|]:.:...D|
|00000560| 05 3a 0d 02 4e 17 dd 20 | f2 73 70 68 65 72 65 28 |.:..N.. |.sphere(|
|00000570| 41 25 2c 42 25 2c 43 25 | 29 0d 02 58 0c d6 20 73 |A%,B%,C%|)..X.. s|
|00000580| 70 68 65 72 65 0d 02 62 | 05 e1 0d 02 6c 04 0d 02 |phere..b|....l...|
|00000590| 76 22 dd 20 f2 73 70 68 | 65 72 65 28 72 61 64 69 |v". .sph|ere(radi|
|000005a0| 75 73 25 2c 6f 66 66 78 | 25 2c 6f 66 66 79 25 29 |us%,offx|%,offy%)|
|000005b0| 0d 02 80 19 20 e3 20 79 | 25 3d 31 20 b8 20 32 2a |.... . y|%=1 . 2*|
|000005c0| 72 61 64 69 75 73 25 2d | 31 0d 02 8a 2d 20 73 25 |radius%-|1...- s%|
|000005d0| 3d 73 70 72 69 74 65 25 | 2b 32 35 36 2a 28 28 6f |=sprite%|+256*((o|
|000005e0| 66 66 79 25 2b 28 61 63 | 73 79 72 3f 79 25 29 29 |ffy%+(ac|syr?y%))|
|000005f0| 20 80 26 46 46 29 0d 02 | 94 14 20 20 e3 20 78 25 | .&FF)..|.. . x%|
|00000600| 3d 31 20 b8 20 78 72 3f | 79 25 0d 02 9e 41 20 20 |=1 . xr?|y%...A |
|00000610| 20 3f 28 76 64 75 21 28 | 34 2a 79 25 29 2b 78 25 | ?(vdu!(|4*y%)+x%|
|00000620| 29 3d 73 25 3f 28 28 61 | 63 73 78 72 3f 28 78 25 |)=s%?((a|csxr?(x%|
|00000630| 2b 32 2a 72 61 64 69 75 | 73 25 2a 79 25 29 2b 6f |+2*radiu|s%*y%)+o|
|00000640| 66 66 78 25 29 20 80 26 | 46 46 29 0d 02 a8 07 20 |ffx%) .&|FF).... |
|00000650| 20 ed 0d 02 b2 06 20 ed | 0d 02 bc 05 e1 0d 02 c6 | ..... .|........|
|00000660| 05 3a 0d 02 d0 17 dd 20 | f2 63 73 70 68 65 72 65 |.:..... |.csphere|
|00000670| 28 72 61 64 69 75 73 25 | 29 0d 02 da 38 de 20 61 |(radius%|)...8. a|
|00000680| 63 73 79 72 20 72 61 64 | 69 75 73 25 2a 32 2d 31 |csyr rad|ius%*2-1|
|00000690| 2c 78 72 20 72 61 64 69 | 75 73 25 2a 32 2d 31 2c |,xr radi|us%*2-1,|
|000006a0| 76 64 75 20 34 2a 72 61 | 64 69 75 73 25 2a 32 2d |vdu 4*ra|dius%*2-|
|000006b0| 31 0d 02 e4 0f de 20 63 | 6f 64 65 20 20 32 32 32 |1..... c|ode 222|
|000006c0| 0d 02 ee 17 de 20 61 63 | 73 78 72 20 34 2a 72 61 |..... ac|sxr 4*ra|
|000006d0| 64 69 75 73 25 5e 32 0d | 02 f8 23 e3 20 79 25 3d |dius%^2.|..#. y%=|
|000006e0| 72 61 64 69 75 73 25 2d | 31 20 b8 20 31 2d 72 61 |radius%-|1 . 1-ra|
|000006f0| 64 69 75 73 25 20 88 20 | 2d 31 0d 03 02 2c 61 63 |dius% . |-1...,ac|
|00000700| 73 79 72 3f 28 79 25 2b | 72 61 64 69 75 73 25 29 |syr?(y%+|radius%)|
|00000710| 3d 32 35 36 2a 28 95 28 | 79 25 2f 72 61 64 69 75 |=256*(.(|y%/radiu|
|00000720| 73 25 29 29 2f af 0d 03 | 0c 19 78 72 25 3d b6 28 |s%))/...|..xr%=.(|
|00000730| 72 61 64 69 75 73 25 5e | 32 2d 79 25 5e 32 29 0d |radius%^|2-y%^2).|
|00000740| 03 16 1b 78 72 3f 28 79 | 25 2b 72 61 64 69 75 73 |...xr?(y|%+radius|
|00000750| 25 29 3d 78 72 25 2a 32 | 2d 31 0d 03 20 45 76 64 |%)=xr%*2|-1.. Evd|
|00000760| 75 21 28 34 2a 28 79 25 | 2b 72 61 64 69 75 73 25 |u!(4*(y%|+radius%|
|00000770| 29 29 3d 76 64 75 25 2b | 28 72 61 64 69 75 73 25 |))=vdu%+|(radius%|
|00000780| 2d 79 25 29 2a 6c 69 6e | 65 25 2b 72 61 64 69 75 |-y%)*lin|e%+radiu|
|00000790| 73 25 2d 78 72 25 2b 35 | 30 2a 6c 69 6e 65 25 0d |s%-xr%+5|0*line%.|
|000007a0| 03 2a 16 e3 20 78 25 3d | 31 2d 78 72 25 20 b8 20 |.*.. x%=|1-xr% . |
|000007b0| 78 72 25 2d 31 0d 03 34 | 3d 61 63 73 78 72 3f 28 |xr%-1..4|=acsxr?(|
|000007c0| 78 25 2b 78 72 25 2b 72 | 61 64 69 75 73 25 2a 32 |x%+xr%+r|adius%*2|
|000007d0| 2a 28 79 25 2b 72 61 64 | 69 75 73 25 29 29 3d 32 |*(y%+rad|ius%))=2|
|000007e0| 35 36 2a 28 95 28 78 25 | 2f 78 72 25 29 2f af 29 |56*(.(x%|/xr%)/.)|
|000007f0| 2f 32 0d 03 3e 05 ed 0d | 03 48 05 ed 0d 03 52 05 |/2..>...|.H....R.|
|00000800| e1 0d ff | |... | |
+--------+-------------------------+-------------------------+--------+--------+