/ Mac Power 1997 January
/ macpower199701.bin / AMUG / Programming_10 / ICPAppSource+ICprogKit / ICAppSourceKit 1.3.sit / ICAppSourceKit1.3 / OSSubs.p ![]() | < prev | next > |
MacBinary | 1995-11-07 | 1.9 KB | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | ZX81 Sinclair BASIC (image/sinclairBASIC) | ext | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Applause Picture (image/applausePicture) | ext | Unsupported |
1% | dexvert | bsdiff patch (other/bsdiffPatch) | ext | Unsupported |
1% | dexvert | imgdiff patch (other/imgdiffPatch) | ext | Unsupported |
1% | dexvert | MATLAB p-code (other/matlabPCode) | ext | Unsupported |
1% | dexvert | WSUS Patch Storage File (other/wsusPatchStorageFile) | ext | Unsupported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Nov 7 10:12:25 1995, modified Tue Nov 7 10:12:25 1995, creator 'CWIE', type ASCII, 1166 bytes "OSSubs.p" , at 0x50e 410 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 | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 4f 53 53 75 62 73 | 2e 70 00 00 00 00 00 00 |..OSSubs|.p......|
|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 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 8e 00 | 00 01 9a ac c5 27 d9 ac |........|.....'..|
|00000060| c5 27 d9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.'......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8b 1a 00 00 |........|........|
|00000080| 75 6e 69 74 20 4f 53 53 | 75 62 73 3b 0d 0d 69 6e |unit OSS|ubs;..in|
|00000090| 74 65 72 66 61 63 65 0d | 0d 09 75 73 65 73 0d 09 |terface.|..uses..|
|000000a0| 09 54 79 70 65 73 2c 20 | 4f 53 55 74 69 6c 73 3b |.Types, |OSUtils;|
|000000b0| 0d 09 09 0d 09 66 75 6e | 63 74 69 6f 6e 20 4e 75 |.....fun|ction Nu|
|000000c0| 6d 54 6f 6f 6c 62 6f 78 | 54 72 61 70 73 3a 20 69 |mToolbox|Traps: i|
|000000d0| 6e 74 65 67 65 72 3b 0d | 09 66 75 6e 63 74 69 6f |nteger;.|.functio|
|000000e0| 6e 20 47 65 74 54 72 61 | 70 54 79 70 65 20 28 74 |n GetTra|pType (t|
|000000f0| 68 65 54 72 61 70 3a 20 | 49 6e 74 65 67 65 72 29 |heTrap: |Integer)|
|00000100| 3a 20 54 72 61 70 54 79 | 70 65 3b 0d 09 66 75 6e |: TrapTy|pe;..fun|
|00000110| 63 74 69 6f 6e 20 4f 75 | 72 54 72 61 70 41 76 61 |ction Ou|rTrapAva|
|00000120| 69 6c 61 62 6c 65 20 28 | 74 68 65 54 72 61 70 3a |ilable (|theTrap:|
|00000130| 20 69 6e 74 65 67 65 72 | 29 3a 20 62 6f 6f 6c 65 | integer|): boole|
|00000140| 61 6e 3b 0d 0d 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |an;..imp|lementat|
|00000150| 69 6f 6e 0d 0d 09 75 73 | 65 73 0d 09 09 54 72 61 |ion...us|es...Tra|
|00000160| 70 73 3b 0d 0d 09 66 75 | 6e 63 74 69 6f 6e 20 4e |ps;...fu|nction N|
|00000170| 75 6d 54 6f 6f 6c 62 6f | 78 54 72 61 70 73 3a 20 |umToolbo|xTraps: |
|00000180| 69 6e 74 65 67 65 72 3b | 0d 09 62 65 67 69 6e 0d |integer;|..begin.|
|00000190| 09 09 69 66 20 4e 47 65 | 74 54 72 61 70 41 64 64 |..if NGe|tTrapAdd|
|000001a0| 72 65 73 73 28 5f 49 6e | 69 74 47 72 61 66 2c 20 |ress(_In|itGraf, |
|000001b0| 54 6f 6f 6c 54 72 61 70 | 29 20 3d 20 4e 47 65 74 |ToolTrap|) = NGet|
|000001c0| 54 72 61 70 41 64 64 72 | 65 73 73 28 24 41 41 36 |TrapAddr|ess($AA6|
|000001d0| 45 2c 20 54 6f 6f 6c 54 | 72 61 70 29 20 74 68 65 |E, ToolT|rap) the|
|000001e0| 6e 20 62 65 67 69 6e 0d | 09 09 09 4e 75 6d 54 6f |n begin.|...NumTo|
|000001f0| 6f 6c 62 6f 78 54 72 61 | 70 73 20 3a 3d 20 24 32 |olboxTra|ps := $2|
|00000200| 30 30 0d 09 09 65 6e 64 | 20 65 6c 73 65 20 62 65 |00...end| else be|
|00000210| 67 69 6e 0d 09 09 09 4e | 75 6d 54 6f 6f 6c 62 6f |gin....N|umToolbo|
|00000220| 78 54 72 61 70 73 20 3a | 3d 20 24 34 30 30 3b 0d |xTraps :|= $400;.|
|00000230| 09 09 65 6e 64 3b 20 28 | 2a 20 69 66 20 2a 29 0d |..end; (|* if *).|
|00000240| 09 65 6e 64 3b 20 28 2a | 20 4e 75 6d 54 6f 6f 6c |.end; (*| NumTool|
|00000250| 62 6f 78 54 72 61 70 73 | 20 2a 29 0d 0d 09 66 75 |boxTraps| *)...fu|
|00000260| 6e 63 74 69 6f 6e 20 47 | 65 74 54 72 61 70 54 79 |nction G|etTrapTy|
|00000270| 70 65 20 28 74 68 65 54 | 72 61 70 3a 20 69 6e 74 |pe (theT|rap: int|
|00000280| 65 67 65 72 29 3a 20 54 | 72 61 70 54 79 70 65 3b |eger): T|rapType;|
|00000290| 0d 09 09 63 6f 6e 73 74 | 0d 09 09 09 54 72 61 70 |...const|....Trap|
|000002a0| 4d 61 73 6b 20 3d 20 24 | 30 38 30 30 3b 0d 09 62 |Mask = $|0800;..b|
|000002b0| 65 67 69 6e 0d 09 09 69 | 66 20 62 61 6e 64 28 74 |egin...i|f band(t|
|000002c0| 68 65 54 72 61 70 2c 20 | 54 72 61 70 4d 61 73 6b |heTrap, |TrapMask|
|000002d0| 29 20 3e 20 30 20 74 68 | 65 6e 20 62 65 67 69 6e |) > 0 th|en begin|
|000002e0| 0d 09 09 09 47 65 74 54 | 72 61 70 54 79 70 65 20 |....GetT|rapType |
|000002f0| 3a 3d 20 54 6f 6f 6c 54 | 72 61 70 0d 09 09 65 6e |:= ToolT|rap...en|
|00000300| 64 20 65 6c 73 65 20 62 | 65 67 69 6e 0d 09 09 09 |d else b|egin....|
|00000310| 47 65 74 54 72 61 70 54 | 79 70 65 20 3a 3d 20 4f |GetTrapT|ype := O|
|00000320| 53 54 72 61 70 3b 0d 09 | 09 65 6e 64 3b 20 28 2a |STrap;..|.end; (*|
|00000330| 20 69 66 20 2a 29 0d 09 | 65 6e 64 3b 20 28 2a 20 | if *)..|end; (* |
|00000340| 47 65 74 54 72 61 70 54 | 79 70 65 20 2a 29 0d 0d |GetTrapT|ype *)..|
|00000350| 09 66 75 6e 63 74 69 6f | 6e 20 4f 75 72 54 72 61 |.functio|n OurTra|
|00000360| 70 41 76 61 69 6c 61 62 | 6c 65 20 28 74 68 65 54 |pAvailab|le (theT|
|00000370| 72 61 70 3a 20 69 6e 74 | 65 67 65 72 29 3a 20 62 |rap: int|eger): b|
|00000380| 6f 6f 6c 65 61 6e 3b 0d | 09 09 76 61 72 0d 09 09 |oolean;.|..var...|
|00000390| 09 74 54 79 70 65 3a 20 | 54 72 61 70 54 79 70 65 |.tType: |TrapType|
|000003a0| 3b 0d 09 62 65 67 69 6e | 0d 09 09 74 54 79 70 65 |;..begin|...tType|
|000003b0| 20 3a 3d 20 47 65 74 54 | 72 61 70 54 79 70 65 28 | := GetT|rapType(|
|000003c0| 74 68 65 54 72 61 70 29 | 3b 0d 09 09 69 66 20 74 |theTrap)|;...if t|
|000003d0| 54 79 70 65 20 3d 20 54 | 6f 6f 6c 54 72 61 70 20 |Type = T|oolTrap |
|000003e0| 74 68 65 6e 20 62 65 67 | 69 6e 0d 09 09 09 74 68 |then beg|in....th|
|000003f0| 65 54 72 61 70 20 3a 3d | 20 62 61 6e 64 28 74 68 |eTrap :=| band(th|
|00000400| 65 54 72 61 70 2c 20 24 | 30 37 46 46 29 3b 0d 09 |eTrap, $|07FF);..|
|00000410| 09 09 69 66 20 74 68 65 | 54 72 61 70 20 3e 3d 20 |..if the|Trap >= |
|00000420| 4e 75 6d 54 6f 6f 6c 62 | 6f 78 54 72 61 70 73 20 |NumToolb|oxTraps |
|00000430| 74 68 65 6e 20 62 65 67 | 69 6e 0d 09 09 09 09 74 |then beg|in.....t|
|00000440| 68 65 54 72 61 70 20 3a | 3d 20 5f 55 6e 69 6d 70 |heTrap :|= _Unimp|
|00000450| 6c 65 6d 65 6e 74 65 64 | 3b 0d 09 09 09 65 6e 64 |lemented|;....end|
|00000460| 3b 20 28 2a 20 69 66 20 | 2a 29 0d 09 09 65 6e 64 |; (* if |*)...end|
|00000470| 3b 20 28 2a 20 69 66 20 | 2a 29 0d 09 09 4f 75 72 |; (* if |*)...Our|
|00000480| 54 72 61 70 41 76 61 69 | 6c 61 62 6c 65 20 3a 3d |TrapAvai|lable :=|
|00000490| 20 4e 47 65 74 54 72 61 | 70 41 64 64 72 65 73 73 | NGetTra|pAddress|
|000004a0| 28 74 68 65 54 72 61 70 | 2c 20 74 54 79 70 65 29 |(theTrap|, tType)|
|000004b0| 20 3c 3e 20 4e 47 65 74 | 54 72 61 70 41 64 64 72 | <> NGet|TrapAddr|
|000004c0| 65 73 73 28 5f 55 6e 69 | 6d 70 6c 65 6d 65 6e 74 |ess(_Uni|mplement|
|000004d0| 65 64 2c 20 54 6f 6f 6c | 54 72 61 70 29 3b 0d 09 |ed, Tool|Trap);..|
|000004e0| 65 6e 64 3b 20 28 2a 20 | 4f 75 72 54 72 61 70 41 |end; (* |OurTrapA|
|000004f0| 76 61 69 6c 61 62 6c 65 | 20 2a 29 0d 0d 65 6e 64 |vailable| *)..end|
|00000500| 2e 20 28 2a 20 4f 53 53 | 75 62 73 20 2a 29 00 00 |. (* OSS|ubs *)..|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000590| 00 00 5d 1b 09 44 6f 6c | 6f 6d 65 64 65 73 02 00 |..]..Dol|omedes..|
|000005a0| 02 00 73 72 76 72 4d 41 | 43 53 85 00 00 64 01 80 |..srvrMA|CS...d..|
|000005b0| 08 4f 53 53 75 62 73 2e | 70 00 02 00 00 00 54 45 |.OSSubs.|p.....TE|
|000005c0| 58 54 43 57 49 45 00 00 | 01 d4 00 c0 00 00 00 00 |XTCWIE..|........|
|000005d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 01 d4 00 c0 |..TEXTCW|IE......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 a7 0c 72 67 00 00 | 04 8e 00 00 01 9a 00 00 |....rg..|........|
|00000600| 00 00 00 00 0f 00 00 00 | 5d 1b 09 45 2e 54 2e 4f |........|]..E.T.O|
|00000610| 2e 20 23 37 02 00 00 00 | 73 72 76 72 4d 41 43 53 |. #7....|srvrMACS|
|00000620| 85 00 00 3c 04 e0 00 00 | 00 00 78 15 00 00 00 00 |...<....|..x.....|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 04 34 00 00 08 00 |........|...4....|
|00000640| a6 b5 43 fe a6 f1 b9 5d | 00 00 00 00 00 00 00 00 |..C....]|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 03 fd 00 01 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 12 00 00 00 5d 1b |........|......].|
|00000680| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 03 | 00 02 00 3e 00 0a 01 d7 |........|...>....|
|000006b0| 02 80 00 3e 00 0a 01 d7 | 02 80 ae 0e ab 29 00 00 |...>....|.....)..|
|000006c0| 02 29 00 00 02 2c 00 00 | 01 68 01 00 00 00 00 04 |.)...,..|.h......|
|000006d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000006e0| 00 00 00 46 00 65 49 d0 | 15 ac 00 00 00 1c 00 46 |...F.eI.|.......F|
|000006f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000700| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000710| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+