home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-10-14 | 1.5 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Oct 14 13:12:54 1994, modified Fri Oct 14 13:12:54 1994, creator Think C, type ASCII, 1016 bytes "MyTraps.c" , at 0x478 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 4d 79 54 72 61 70 | 73 2e 63 00 00 00 00 00 |..MyTrap|s.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 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 03 f8 00 | 00 01 7e aa c4 6c 96 aa |........|..~..l..|
|00000060| c4 6c 96 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.l......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 27 79 00 00 |........|....'y..|
|00000080| 2f 2f 20 53 69 6d 70 6c | 65 20 66 72 61 6d 65 77 |// Simpl|e framew|
|00000090| 6f 72 6b 20 66 6f 72 20 | 4d 61 63 69 6e 74 6f 73 |ork for |Macintos|
|000000a0| 68 20 73 61 6d 70 6c 65 | 20 63 6f 64 65 0d 2f 2f |h sample| code.//|
|000000b0| 0d 2f 2f 20 4e 69 63 6b | 20 54 68 6f 6d 70 73 6f |.// Nick| Thompso|
|000000c0| 6e 2c 20 44 45 56 53 55 | 50 50 4f 52 54 0d 2f 2f |n, DEVSU|PPORT.//|
|000000d0| 0d 2f 2f 20 54 68 69 73 | 20 66 69 6c 65 20 63 6f |.// This| file co|
|000000e0| 6e 74 61 69 6e 73 20 74 | 68 65 20 74 72 61 70 20 |ntains t|he trap |
|000000f0| 64 65 74 65 63 74 69 6f | 6e 20 72 65 6c 61 74 65 |detectio|n relate|
|00000100| 64 20 63 6f 64 65 20 63 | 6f 64 65 20 66 6f 72 20 |d code c|ode for |
|00000110| 74 68 65 20 66 72 61 6d | 65 77 6f 72 6b 2e 0d 2f |the fram|ework../|
|00000120| 2f 20 0d 2f 2f 20 39 2f | 31 36 2f 39 34 09 6e 69 |/ .// 9/|16/94.ni|
|00000130| 63 6b 09 66 69 72 73 74 | 20 63 75 74 0d 2f 2f 0d |ck.first| cut.//.|
|00000140| 2f 2f 09 43 6f 70 79 72 | 69 67 68 74 3a 09 a9 20 |//.Copyr|ight:.. |
|00000150| 31 39 39 32 2d 34 20 62 | 79 20 41 70 70 6c 65 20 |1992-4 b|y Apple |
|00000160| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 0d |Computer|, Inc...|
|00000170| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|00000180| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 72 |.h>.#inc|lude <Tr|
|00000190| 61 70 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |aps.h>.#|include |
|000001a0| 3c 4f 53 55 74 69 6c 73 | 2e 68 3e 0d 23 69 6e 63 |<OSUtils|.h>.#inc|
|000001b0| 6c 75 64 65 20 3c 47 65 | 73 74 61 6c 74 45 71 75 |lude <Ge|staltEqu|
|000001c0| 2e 68 3e 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 4d |.h>..#in|clude "M|
|000001d0| 79 54 72 61 70 73 2e 68 | 22 0d 0d 73 68 6f 72 74 |yTraps.h|"..short|
|000001e0| 20 4e 75 6d 54 6f 6f 6c | 62 6f 78 54 72 61 70 73 | NumTool|boxTraps|
|000001f0| 28 76 6f 69 64 29 3b 0d | 54 72 61 70 54 79 70 65 |(void);.|TrapType|
|00000200| 20 47 65 74 54 72 61 70 | 54 79 70 65 28 73 68 6f | GetTrap|Type(sho|
|00000210| 72 74 20 74 68 65 54 72 | 61 70 29 3b 0d 09 0d 73 |rt theTr|ap);...s|
|00000220| 68 6f 72 74 20 4e 75 6d | 54 6f 6f 6c 62 6f 78 54 |hort Num|ToolboxT|
|00000230| 72 61 70 73 28 76 6f 69 | 64 29 0d 7b 0d 09 69 66 |raps(voi|d).{..if|
|00000240| 20 28 4e 47 65 74 54 72 | 61 70 41 64 64 72 65 73 | (NGetTr|apAddres|
|00000250| 73 28 5f 49 6e 69 74 47 | 72 61 66 2c 20 54 6f 6f |s(_InitG|raf, Too|
|00000260| 6c 54 72 61 70 29 20 3d | 3d 20 4e 47 65 74 54 72 |lTrap) =|= NGetTr|
|00000270| 61 70 41 64 64 72 65 73 | 73 28 30 78 41 41 36 45 |apAddres|s(0xAA6E|
|00000280| 2c 54 6f 6f 6c 54 72 61 | 70 29 29 0d 09 09 72 65 |,ToolTra|p))...re|
|00000290| 74 75 72 6e 20 30 78 30 | 32 30 30 3b 0d 09 65 6c |turn 0x0|200;..el|
|000002a0| 73 65 0d 09 09 72 65 74 | 75 72 6e 20 30 78 30 34 |se...ret|urn 0x04|
|000002b0| 30 30 3b 0d 7d 0d 0d 54 | 72 61 70 54 79 70 65 20 |00;.}..T|rapType |
|000002c0| 47 65 74 54 72 61 70 54 | 79 70 65 28 73 68 6f 72 |GetTrapT|ype(shor|
|000002d0| 74 20 74 68 65 54 72 61 | 70 29 0d 7b 0d 09 69 66 |t theTra|p).{..if|
|000002e0| 20 28 28 74 68 65 54 72 | 61 70 20 26 20 30 78 30 | ((theTr|ap & 0x0|
|000002f0| 38 30 30 29 20 3e 20 30 | 29 0d 09 09 72 65 74 75 |800) > 0|)...retu|
|00000300| 72 6e 20 54 6f 6f 6c 54 | 72 61 70 3b 0d 09 65 6c |rn ToolT|rap;..el|
|00000310| 73 65 0d 09 09 72 65 74 | 75 72 6e 20 4f 53 54 72 |se...ret|urn OSTr|
|00000320| 61 70 3b 0d 7d 0d 0d 42 | 6f 6f 6c 65 61 6e 09 54 |ap;.}..B|oolean.T|
|00000330| 72 61 70 41 76 61 69 6c | 61 62 6c 65 28 73 68 6f |rapAvail|able(sho|
|00000340| 72 74 20 74 68 65 54 72 | 61 70 29 0d 7b 0d 09 54 |rt theTr|ap).{..T|
|00000350| 72 61 70 54 79 70 65 20 | 74 54 79 70 65 3b 0d 09 |rapType |tType;..|
|00000360| 42 6f 6f 6c 65 61 6e 20 | 69 73 41 76 61 69 6c 3b |Boolean |isAvail;|
|00000370| 0d 09 0d 09 74 54 79 70 | 65 20 3d 20 47 65 74 54 |....tTyp|e = GetT|
|00000380| 72 61 70 54 79 70 65 28 | 74 68 65 54 72 61 70 29 |rapType(|theTrap)|
|00000390| 3b 0d 09 69 66 20 28 74 | 54 79 70 65 20 3d 3d 20 |;..if (t|Type == |
|000003a0| 54 6f 6f 6c 54 72 61 70 | 29 0d 09 09 7b 0d 09 09 |ToolTrap|)...{...|
|000003b0| 09 74 68 65 54 72 61 70 | 20 26 3d 20 30 78 30 37 |.theTrap| &= 0x07|
|000003c0| 46 46 3b 0d 09 09 09 69 | 66 20 28 74 68 65 54 72 |FF;....i|f (theTr|
|000003d0| 61 70 20 3e 3d 20 4e 75 | 6d 54 6f 6f 6c 62 6f 78 |ap >= Nu|mToolbox|
|000003e0| 54 72 61 70 73 28 29 29 | 0d 09 09 09 09 74 68 65 |Traps())|.....the|
|000003f0| 54 72 61 70 20 3d 20 5f | 55 6e 69 6d 70 6c 65 6d |Trap = _|Unimplem|
|00000400| 65 6e 74 65 64 3b 0d 09 | 09 7d 0d 09 0d 09 69 73 |ented;..|.}....is|
|00000410| 41 76 61 69 6c 20 3d 20 | 4e 47 65 74 54 72 61 70 |Avail = |NGetTrap|
|00000420| 41 64 64 72 65 73 73 28 | 74 68 65 54 72 61 70 2c |Address(|theTrap,|
|00000430| 20 74 54 79 70 65 29 20 | 21 3d 20 4e 47 65 74 54 | tType) |!= NGetT|
|00000440| 72 61 70 41 64 64 72 65 | 73 73 28 5f 55 6e 69 6d |rapAddre|ss(_Unim|
|00000450| 70 6c 65 6d 65 6e 74 65 | 64 2c 20 54 6f 6f 6c 54 |plemente|d, ToolT|
|00000460| 72 61 70 29 3b 0d 09 72 | 65 74 75 72 6e 20 69 73 |rap);..r|eturn is|
|00000470| 41 76 61 69 6c 3b 0d 7d | 00 00 00 00 00 00 00 00 |Avail;.}|........|
|00000480| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000490| 04 54 cb 00 00 00 00 f0 | 30 ff ff 60 04 58 cf 00 |.T......|0..`.X..|
|000004a0| 00 00 00 f0 1e ff ff 20 | 04 76 14 00 00 00 00 f0 |....... |.v......|
|000004b0| 09 4d 79 54 72 61 70 73 | 2e 63 02 00 00 00 54 45 |.MyTraps|.c....TE|
|000004c0| 58 54 4b 41 48 4c 01 00 | 00 28 01 20 00 00 00 00 |XTKAHL..|.(. ....|
|000004d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 28 01 20 |..TEXTKA|HL...(. |
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 aa 61 3c 67 00 00 | 03 f8 00 00 01 7e 73 00 |...a<g..|.....~s.|
|00000500| 00 00 00 f0 2e ff ff 60 | 05 87 7f 00 00 00 00 f0 |.......`|........|
|00000510| 20 ff ff 00 04 5c d3 00 | 00 00 00 f0 37 ff ff 00 | ....\..|....7...|
|00000520| 04 5e d7 00 00 00 00 f0 | 38 01 97 00 04 60 db 00 |.^......|8....`..|
|00000530| 00 00 00 f0 3c ff ff 20 | 04 62 df 00 00 00 00 f0 |....<.. |.b......|
|00000540| 30 ff ff 60 04 64 e3 00 | 00 00 00 f0 1e ff ff 20 |0..`.d..|....... |
|00000550| 04 74 10 00 00 00 00 f0 | 29 ff ff 60 05 47 93 00 |.t......|)..`.G..|
|00000560| 00 00 00 f0 2a ff ff 60 | 05 49 97 00 00 00 00 f0 |....*..`|.I......|
|00000570| 2b ff ff 00 05 4b 9b 00 | 00 00 00 f0 2c ff ff 60 |+....K..|....,..`|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 03 | 00 04 00 51 00 09 01 dc |........|...Q....|
|000005b0| 02 7c 00 51 00 09 01 dc | 02 7c aa c4 34 59 00 00 |.|.Q....|.|..4Y..|
|000005c0| 00 ee 00 00 00 ee 00 00 | 00 c0 00 00 00 00 01 00 |........|........|
|000005d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 ed 56 74 |...L...L|...2..Vt|
|000005e0| 28 66 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |(f.....2|..MPSR..|
|000005f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+