/ Carousel Volume 2 #1
/ carousel.iso / mactosh / code / p_serlib.sit / Serial Library Source Code / get_port.h ![]() | < prev | next > |
MacBinary | 1989-07-27 | 1.3 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Thu Jul 27 18:52:36 1989, modified Thu Jul 27 18:52:36 1989, creator 'MPS ', type ASCII, 645 bytes "get_port.h" , at 0x305 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 | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 67 65 74 5f 70 6f | 72 74 2e 68 00 00 00 00 |..get_po|rt.h....|
|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 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 02 85 00 | 00 01 7e a0 f5 42 b4 a0 |........|..~..B..|
|00000060| f5 42 b4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.B......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 90 65 00 00 |........|.....e..|
|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 | 2f 0d 2f 2a 09 0d 2f 2a |********|/./*../*|
|000000d0| 09 67 65 74 5f 70 6f 72 | 74 2e 68 0d 2f 2a 09 62 |.get_por|t.h./*.b|
|000000e0| 79 20 41 74 75 6c 20 42 | 75 74 74 65 0d 2f 2a 09 |y Atul B|utte./*.|
|000000f0| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 38 39 |Copyrigh|t . 1989|
|00000100| 20 62 79 20 4d 69 63 72 | 6f 73 6f 66 74 20 43 6f | by Micr|osoft Co|
|00000110| 72 70 6f 72 61 74 69 6f | 6e 0d 2f 2a 09 41 6c 6c |rporatio|n./*.All|
|00000120| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|00000130| 0d 2f 2a 0d 2f 2a 09 76 | 65 72 73 69 6f 6e 20 31 |./*./*.v|ersion 1|
|00000140| 2e 30 0d 2f 2a 09 0d 2f | 2a 09 0d 2f 2a 09 54 68 |.0./*../|*../*.Th|
|00000150| 69 73 20 6d 6f 64 75 6c | 65 20 70 72 6f 76 69 64 |is modul|e provid|
|00000160| 65 73 20 61 20 72 6f 75 | 74 69 6e 65 20 77 68 69 |es a rou|tine whi|
|00000170| 63 68 20 77 69 6c 6c 20 | 63 6f 6e 76 65 72 74 20 |ch will |convert |
|00000180| 74 68 65 20 70 6f 72 74 | 20 6e 75 6d 62 65 72 0d |the port| number.|
|00000190| 2f 2a 09 69 6e 74 6f 20 | 74 68 65 20 69 6e 70 75 |/*.into |the inpu|
|000001a0| 74 20 61 6e 64 20 6f 75 | 74 70 75 74 20 64 72 69 |t and ou|tput dri|
|000001b0| 76 65 72 20 72 65 66 65 | 72 65 6e 63 65 20 6e 75 |ver refe|rence nu|
|000001c0| 6d 62 65 72 73 2e 0d 2f | 2a 09 0d 2f 2a 2a 2a 2a |mbers../|*../****|
|000001d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000210| 2a 2a 2a 2f 0d 0d 2f 2a | 2a 2a 2a 2a 2a 2a 2a 2a |***/../*|********|
|00000220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000230| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2f 0d |********|******/.|
|00000260| 2f 2a 0d 2f 2a 09 50 20 | 52 20 4f 20 54 20 4f 20 |/*./*.P |R O T O |
|00000270| 54 20 59 20 50 20 45 20 | 53 0d 2f 2a 0d 2f 2a 2a |T Y P E |S./*./**|
|00000280| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000290| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002c0| 2a 2a 2a 2a 2a 2f 0d 0d | 4f 53 45 72 72 20 67 65 |*****/..|OSErr ge|
|000002d0| 74 5f 70 6f 72 74 28 20 | 73 68 6f 72 74 20 70 6f |t_port( |short po|
|000002e0| 72 74 2c 20 73 68 6f 72 | 74 20 2a 70 72 65 66 49 |rt, shor|t *prefI|
|000002f0| 6e 2c 20 73 68 6f 72 74 | 20 2a 70 72 65 66 4f 75 |n, short| *prefOu|
|00000300| 74 20 29 3b 0d 00 00 00 | 00 00 00 00 00 00 00 00 |t );....|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000003a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000003b0| 0a 67 65 74 5f 70 6f 72 | 74 2e 68 70 02 00 00 00 |.get_por|t.hp....|
|000003c0| 54 45 58 54 4d 50 53 20 | 00 00 01 40 01 20 00 00 |TEXTMPS |...@. ..|
|000003d0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 01 40 01 20 |..TEXTMP|S ...@. |
|000003e0| 00 00 4b 33 00 00 00 00 | 00 00 00 00 00 00 00 00 |..K3....|........|
|000003f0| 00 00 a0 d5 48 31 00 00 | 02 85 00 00 01 7e 2a 09 |....H1..|.....~*.|
|00000400| 0d 2f 2a 2a 09 54 68 69 | 73 20 43 41 4c 4c 2f 52 |./**.Thi|s CALL/R|
|00000410| 45 47 49 53 54 45 52 20 | 77 69 6c 6c 20 63 6f 6e |EGISTER |will con|
|00000420| 66 69 67 75 72 65 20 74 | 68 65 20 6d 6f 64 65 6d |figure t|he modem|
|00000430| 20 70 6f 72 74 20 61 66 | 74 65 72 20 69 74 d5 73 | port af|ter it.s|
|00000440| 20 6f 70 65 6e 2e 0d 2f | 2a 2a 09 55 73 65 20 4c | open../|**.Use L|
|00000450| 69 67 68 74 73 70 65 65 | 64 20 43 20 74 6f 20 63 |ightspee|d C to c|
|00000460| 6f 6d 70 69 6c 65 2e 0d | 2f 2a 2a 09 0d 2f 2a 2a |ompile..|/**../**|
|00000470| 09 45 78 63 65 6c 20 75 | 73 61 67 65 3a 0d 2f 2a |.Excel u|sage:./*|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 07 00 75 |...H..Mo|naco...u|
|00000490| 00 00 00 14 00 01 37 1c | 00 0a 00 50 00 81 00 d8 |......7.|...P....|
|000004a0| 01 ff 00 00 00 00 00 06 | 00 04 00 66 00 23 01 97 |........|...f.#..|
|000004b0| 02 37 00 66 00 23 01 97 | 02 37 a0 f4 c9 f9 00 00 |.7.f.#..|.7......|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 28 ed 7c |...L...L|...2.(.||
|000004e0| 0a a8 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+