home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Basic / bb_ext.dms / in.adf / LibsDev.lha / userlibprogs / JoyTest.bb2 < prev    next >
Unknown  |  1995-11-11  |  776 b 

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |;#######|########|
|00000010| 23 23 23 23 23 23 23 23 | 23 23 23 00 3b 23 20 45 |########|###.;# E|
|00000020| 78 61 6d 70 6c 65 20 31 | 2e 33 20 2d 20 4a 6f 79 |xample 1|.3 - Joy|
|00000030| 73 74 69 63 6b 20 23 00 | 3b 23 23 23 23 23 23 23 |stick #.|;#######|
|00000040| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000050| 23 23 23 00 3b 42 79 20 | 53 74 65 76 65 6e 20 4d |###.;By |Steven M|
|00000060| 61 74 74 79 00 00 3b 54 | 68 69 73 20 70 72 6f 67 |atty..;T|his prog|
|00000070| 72 61 6d 20 77 69 6c 6c | 20 70 72 69 6e 74 20 75 |ram will| print u|
|00000080| 70 20 6a 6f 79 73 74 69 | 63 6b 20 6d 6f 76 65 6d |p joysti|ck movem|
|00000090| 65 6e 74 73 20 66 6f 72 | 20 73 70 65 63 69 66 69 |ents for| specifi|
|000000a0| 65 64 20 6a 6f 79 73 74 | 69 63 6b 00 3b 70 6f 72 |ed joyst|ick.;por|
|000000b0| 74 73 20 28 31 3d 4a 6f | 79 73 74 69 63 6b 20 31 |ts (1=Jo|ystick 1|
|000000c0| 2c 20 32 3d 4d 6f 75 73 | 65 20 50 6f 72 74 2c 20 |, 2=Mous|e Port, |
|000000d0| 33 3d 34 2d 50 6c 61 79 | 65 72 28 50 6f 72 74 31 |3=4-Play|er(Port1|
|000000e0| 29 20 34 3d 34 2d 50 6c | 61 79 65 72 28 50 6f 72 |) 4=4-Pl|ayer(Por|
|000000f0| 74 32 29 00 3b 54 6f 20 | 71 75 69 74 2c 20 70 72 |t2).;To |quit, pr|
|00000100| 65 73 73 20 74 68 65 20 | 66 69 72 65 20 62 75 74 |ess the |fire but|
|00000110| 74 6f 6e 20 6f 6e 20 61 | 6c 6c 20 73 70 65 63 69 |ton on a|ll speci|
|00000120| 66 69 65 64 20 6a 6f 79 | 73 74 69 63 6b 73 00 00 |fied joy|sticks..|
|00000130| dd 82 20 22 45 6e 74 65 | 72 20 44 45 43 49 4d 41 |.. "Ente|r DECIMA|
|00000140| 4c 20 76 61 6c 75 65 20 | 46 6f 72 20 6a 6f 79 73 |L value |For joys|
|00000150| 74 69 63 6b 73 20 54 6f | 20 74 65 73 74 20 28 31 |ticks To| test (1|
|00000160| 35 3d 41 6c 6c 29 22 00 | 62 69 74 70 61 74 74 65 |5=All)".|bitpatte|
|00000170| 72 6e 2e 62 3d dd 03 28 | 31 35 2c 34 29 00 80 bb |rn.b=..(|15,4)...|
|00000180| 00 20 20 80 16 20 6e 3d | 31 20 80 18 20 34 00 20 |. .. n=|1 .. 4. |
|00000190| 20 20 20 80 0b 20 62 69 | 74 70 61 74 74 65 72 6e | .. bi|tpattern|
|000001a0| 20 80 cd 20 28 6e 2d 31 | 29 00 20 20 20 20 20 20 | .. (n-1|). |
|000001b0| 80 0b 20 a0 06 28 6e 29 | 20 80 21 20 dd 82 20 22 |.. ..(n)| .! .. "|
|000001c0| 50 6c 61 79 65 72 20 22 | 2c 6e 2c 22 20 70 72 65 |Player "|,n," pre|
|000001d0| 73 73 65 64 20 66 69 72 | 65 21 22 00 20 20 20 20 |ssed fir|e!". |
|000001e0| 20 20 80 0b 20 a0 08 28 | 6e 29 3d 2d 31 20 80 21 | .. ..(|n)=-1 .!|
|000001f0| 20 dd 82 20 22 50 6c 61 | 79 65 72 20 22 2c 6e 2c | .. "Pla|yer ",n,|
|00000200| 22 20 70 72 65 73 73 65 | 64 20 6c 65 66 74 21 22 |" presse|d left!"|
|00000210| 00 20 20 20 20 20 20 80 | 0b 20 a0 08 28 6e 29 3d |. .|. ..(n)=|
|00000220| 31 20 80 21 20 dd 82 20 | 22 50 6c 61 79 65 72 20 |1 .! .. |"Player |
|00000230| 22 2c 6e 2c 22 20 70 72 | 65 73 73 65 64 20 72 69 |",n," pr|essed ri|
|00000240| 67 68 74 21 22 00 20 20 | 20 20 20 20 80 0b 20 a0 |ght!". | .. .|
|00000250| 07 28 6e 29 3d 2d 31 20 | 80 21 20 dd 82 20 22 50 |.(n)=-1 |.! .. "P|
|00000260| 6c 61 79 65 72 20 22 2c | 6e 2c 22 20 70 72 65 73 |layer ",|n," pres|
|00000270| 73 65 64 20 75 70 21 22 | 00 20 20 20 20 20 20 80 |sed up!"|. .|
|00000280| 0b 20 a0 07 28 6e 29 3d | 31 20 80 21 20 dd 82 20 |. ..(n)=|1 .! .. |
|00000290| 22 50 6c 61 79 65 72 20 | 22 2c 6e 2c 22 20 70 72 |"Player |",n," pr|
|000002a0| 65 73 73 65 64 20 64 6f | 77 6e 21 22 00 20 20 20 |essed do|wn!". |
|000002b0| 20 80 02 20 80 0b 00 20 | 20 80 17 20 6e 00 80 bc | .. ... | .. n...|
|000002c0| 20 a0 09 28 62 69 74 70 | 61 74 74 65 72 6e 29 3d | ..(bitp|attern)=|
|000002d0| 62 69 74 70 61 74 74 65 | 72 6e 20 20 3b 20 55 6e |bitpatte|rn ; Un|
|000002e0| 74 69 6c 20 4a 46 69 72 | 65 28 31 29 20 61 6e 64 |til JFir|e(1) and|
|000002f0| 20 4a 46 69 72 65 28 32 | 29 20 3d 20 50 52 45 53 | JFire(2|) = PRES|
|00000300| 53 45 44 21 00 80 02 00 | |SED!....| |
+--------+-------------------------+-------------------------+--------+--------+