home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / luschsrc.sit / noise.c.bin < prev    next >
MacBinary  |  1990-05-23  |  1.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: noise.c.bin

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert AMOS Picture Packer (image/amosPicturePacker) ext Supported
1% dexvert Debian floppy split (archive/debianFloppySplit) ext Unsupported
1% dexvert Sound Images sound sample (audio/soundImagesSoundSample) ext Unsupported
1% dexvert DESI-III drawing (image/desiIIIDrawing) ext Unsupported
1% dexvert MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) ext Unsupported
1% dexvert Alien Trilogytextures (other/alienTrilogyTextures) ext Unsupported
1% dexvert APT cache data (other/aptCacheData) ext Unsupported
1% dexvert CorelTRACE configuration (other/corelTRACEConfiguration) ext Unsupported
1% dexvert Dreamcast Disc (other/dreamcastDisc) ext Unsupported
1% dexvert EST flat binary (other/estFlatBinary) ext Unsupported
1% dexvert Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat) ext Unsupported
1% dexvert Sega Genesis/Megadrive/32x ROM (other/genesisROM) ext Unsupported
1% dexvert Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive) ext Unsupported
1% dexvert Sound Images Sound Driver (other/soundImagesSoundDriver) ext Unsupported
1% dexvert Symantec/Norton Config (other/symantecNortonConfig) ext Unsupported
1% dexvert Vectrex ROM (other/vectrexROM) ext Unsupported
1% dexvert BIS raP encoded format (other/bisraPEncoded) ext Unsupported
1% dexvert Pascal Script binary (other/pascalScriptBinary) ext Unsupported
1% dexvert 7th Level game data archive (other/seventhLevelGameDataArchive) ext Unsupported
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary, Sun Jun 11 16:56:59 1989, modified Fri Jan 26 14:43:46 1990, creator Think C, type ASCII, 871 bytes "noise.c" default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 1 default (weak)
100% lsar MacBinary default
100% gt2 MAC Bilddatei default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 6e 6f 69 73 65 2e | 63 00 00 00 00 00 00 00 |..noise.|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 03 67 00 | 00 00 00 a0 b8 82 9b a1 |......g.|........|
|00000060| e6 58 f2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.X......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000d0| 2a 0d 20 2a 09 6e 6f 69 | 73 65 2e 63 0d 20 2a 0d |*. *.noi|se.c. *.|
|000000e0| 20 2a 09 4e 6f 69 73 65 | 20 50 6c 61 79 69 6e 67 | *.Noise| Playing|
|000000f0| 20 50 61 63 6b 61 67 65 | 0d 20 2a 0d 20 2a 09 57 | Package|. *. *.W|
|00000100| 72 69 74 74 65 6e 20 62 | 79 20 50 61 63 6f 20 58 |ritten b|y Paco X|
|00000110| 61 6e 64 65 72 20 4e 61 | 74 68 61 6e 0d 20 2a 09 |ander Na|than. *.|
|00000120| a9 31 39 39 30 2c 20 4d | 6f 74 6f 72 6f 6c 61 20 |.1990, M|otorola |
|00000130| 49 6e 63 2e 20 20 50 75 | 62 6c 69 63 20 64 6f 6d |Inc. Pu|blic dom|
|00000140| 61 69 6e 20 73 6f 75 72 | 63 65 20 63 6f 64 65 2e |ain sour|ce code.|
|00000150| 0d 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |. ******|********|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2f 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 61 |**/..#in|clude "a|
|000001b0| 70 70 6c 69 63 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |pplic.h"|.#includ|
|000001c0| 65 20 22 6e 6f 69 73 65 | 2e 68 22 0d 23 69 6e 63 |e "noise|.h".#inc|
|000001d0| 6c 75 64 65 20 3c 53 6f | 75 6e 64 4d 67 72 2e 68 |lude <So|undMgr.h|
|000001e0| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 4f 53 55 74 |>.#inclu|de <OSUt|
|000001f0| 69 6c 2e 68 3e 0d 0d 0d | 2f 2a 20 45 78 74 65 72 |il.h>...|/* Exter|
|00000200| 6e 61 6c 20 44 61 74 61 | 20 53 74 72 75 63 74 75 |nal Data| Structu|
|00000210| 72 65 73 0d 20 2a 2f 0d | 42 6f 6f 6c 65 61 6e 0d |res. */.|Boolean.|
|00000220| 09 6e 6f 69 73 65 44 6f | 6e 65 20 3d 20 46 41 4c |.noiseDo|ne = FAL|
|00000230| 53 45 3b 0d 0d 0d 2f 2a | 20 4c 6f 63 61 6c 20 44 |SE;.../*| Local D|
|00000240| 61 74 61 20 53 74 72 75 | 63 74 75 72 65 73 0d 20 |ata Stru|ctures. |
|00000250| 2a 2f 0d 73 74 61 74 69 | 63 20 42 6f 6f 6c 65 61 |*/.stati|c Boolea|
|00000260| 6e 0d 09 6e 6f 69 73 65 | 53 74 61 72 74 65 64 20 |n..noise|Started |
|00000270| 3d 20 46 41 4c 53 45 3b | 0d 0d 73 74 61 74 69 63 |= FALSE;|..static|
|00000280| 20 53 6e 64 43 68 61 6e | 6e 65 6c 50 74 72 0d 09 | SndChan|nelPtr..|
|00000290| 6e 6f 69 73 65 43 68 61 | 6e 3b 0d 0d 0d 2f 2a 20 |noiseCha|n;.../* |
|000002a0| 50 6c 61 79 20 74 68 65 | 20 73 70 65 63 69 66 69 |Play the| specifi|
|000002b0| 65 64 20 70 69 65 63 65 | 20 6f 66 20 6e 6f 69 73 |ed piece| of nois|
|000002c0| 65 0d 20 2a 2f 0d 76 6f | 69 64 0d 4e 6f 69 73 65 |e. */.vo|id.Noise|
|000002d0| 50 6c 61 79 20 28 74 68 | 65 4e 6f 69 73 65 29 20 |Play (th|eNoise) |
|000002e0| 0d 09 72 65 67 69 73 74 | 65 72 20 73 68 6f 72 74 |..regist|er short|
|000002f0| 20 74 68 65 4e 6f 69 73 | 65 3b 0d 7b 0d 09 72 65 | theNois|e;.{..re|
|00000300| 67 69 73 74 65 72 20 48 | 61 6e 64 6c 65 20 6e 6f |gister H|andle no|
|00000310| 69 73 65 48 64 6c 3b 0d | 0d 09 69 66 20 28 6c 61 |iseHdl;.|..if (la|
|00000320| 4d 61 63 68 69 6e 65 2e | 68 61 73 53 6f 75 6e 64 |Machine.|hasSound|
|00000330| 29 20 7b 0d 09 09 69 66 | 20 28 6e 6f 69 73 65 48 |) {...if| (noiseH|
|00000340| 64 6c 20 3d 20 47 65 74 | 52 65 73 6f 75 72 63 65 |dl = Get|Resource|
|00000350| 28 27 73 6e 64 20 27 2c | 20 74 68 65 4e 6f 69 73 |('snd ',| theNois|
|00000360| 65 29 29 20 7b 0d 09 09 | 09 69 66 20 28 21 6e 6f |e)) {...|.if (!no|
|00000370| 69 73 65 53 74 61 72 74 | 65 64 29 0d 09 09 09 09 |iseStart|ed).....|
|00000380| 53 6e 64 50 6c 61 79 28 | 4e 55 4c 4c 2c 20 6e 6f |SndPlay(|NULL, no|
|00000390| 69 73 65 48 64 6c 2c 20 | 54 52 55 45 29 3b 0d 09 |iseHdl, |TRUE);..|
|000003a0| 09 09 0d 09 09 09 52 65 | 6c 65 61 73 65 52 65 73 |......Re|leaseRes|
|000003b0| 6f 75 72 63 65 28 28 48 | 61 6e 64 6c 65 29 20 6e |ource((H|andle) n|
|000003c0| 6f 69 73 65 48 64 6c 29 | 3b 0d 09 09 7d 0d 09 7d |oiseHdl)|;...}..}|
|000003d0| 0d 09 65 6c 73 65 0d 09 | 09 53 79 73 42 65 65 70 |..else..|.SysBeep|
|000003e0| 28 35 29 3b 0d 7d 0d 00 | 00 00 00 00 00 00 00 00 |(5);.}..|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+