home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-01-05 | 4.5 KB | [TEXT/MMCC] |
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, Thu Jan 5 04:27:45 1995, modified Thu Jan 5 04:27:45 1995, creator 'MMCC', type ASCII, 3896 bytes "ATMInterface.c" , at 0xfb8 512 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 | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 54 4d 49 6e 74 | 65 72 66 61 63 65 2e 63 |..ATMInt|erface.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 4d 4d 43 | 43 00 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 0f 38 00 | 00 02 00 ab 31 6c 11 ab |......8.|....1l..|
|00000060| 31 6c 11 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |1l......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e8 6e 00 00 |........|.....n..|
|00000080| 2f 2a 0d 20 2a 20 41 54 | 4d 49 6e 74 65 72 66 61 |/*. * AT|MInterfa|
|00000090| 63 65 2e 63 0d 20 2a 0d | 20 2a 20 56 65 72 73 69 |ce.c. *.| * Versi|
|000000a0| 6f 6e 20 31 2e 30 31 0d | 20 2a 0d 20 2a 20 41 64 |on 1.01.| *. * Ad|
|000000b0| 6f 62 65 20 54 79 70 65 | 20 4d 61 6e 61 67 65 72 |obe Type| Manager|
|000000c0| 20 69 73 20 61 20 74 72 | 61 64 65 6d 61 72 6b 20 | is a tr|ademark |
|000000d0| 0d 20 2a 20 6f 66 20 41 | 64 6f 62 65 20 53 79 73 |. * of A|dobe Sys|
|000000e0| 74 65 6d 73 20 49 6e 63 | 6f 72 70 6f 72 61 74 65 |tems Inc|orporate|
|000000f0| 64 2e 0d 0d 41 73 20 70 | 72 6f 76 69 64 65 64 20 |d...As p|rovided |
|00000100| 62 79 20 41 64 6f 62 65 | 2c 20 41 54 4d 49 6e 74 |by Adobe|, ATMInt|
|00000110| 65 72 66 61 63 65 2e 63 | 20 6f 6e 6c 79 20 77 6f |erface.c| only wo|
|00000120| 72 6b 65 64 20 69 66 20 | 63 6f 6d 70 69 6c 65 64 |rked if |compiled|
|00000130| 20 61 73 20 36 38 6b 20 | 63 6f 64 65 2e 20 49 27 | as 68k |code. I'|
|00000140| 76 65 0d 65 6e 68 61 6e | 63 65 64 20 69 74 2c 20 |ve.enhan|ced it, |
|00000150| 62 79 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 20 |by chang|ing the |
|00000160| 64 69 72 65 63 74 20 63 | 61 6c 6c 73 20 74 6f 20 |direct c|alls to |
|00000170| 41 54 4d 20 74 6f 20 69 | 6e 64 69 72 65 63 74 20 |ATM to i|ndirect |
|00000180| 43 61 6c 6c 55 6e 69 76 | 65 72 73 61 6c 50 72 6f |CallUniv|ersalPro|
|00000190| 63 0d 63 61 6c 6c 73 2c | 20 73 6f 20 74 68 65 20 |c.calls,| so the |
|000001a0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|000001b0| 65 72 20 63 61 6e 20 64 | 6f 20 69 74 73 20 6d 61 |er can d|o its ma|
|000001c0| 67 69 63 20 69 66 20 74 | 68 69 73 20 66 69 6c 65 |gic if t|his file|
|000001d0| 20 69 73 20 63 6f 6d 70 | 69 6c 65 64 20 74 6f 0d | is comp|iled to.|
|000001e0| 72 75 6e 20 6e 61 74 69 | 76 65 2e 20 54 68 69 73 |run nati|ve. This|
|000001f0| 20 77 6f 72 6b 73 20 77 | 69 74 68 20 74 68 65 20 | works w|ith the |
|00000200| 63 75 72 72 65 6e 74 20 | 36 38 6b 20 76 65 72 73 |current |68k vers|
|00000210| 69 6f 6e 20 6f 66 20 41 | 54 4d 20 28 33 2e 36 2e |ion of A|TM (3.6.|
|00000220| 31 29 2c 20 61 6e 64 20 | 77 69 6c 6c 0d 70 72 6f |1), and |will.pro|
|00000230| 62 61 62 6c 79 20 61 6c | 73 6f 20 77 6f 72 6b 20 |bably al|so work |
|00000240| 77 69 74 68 20 74 68 65 | 20 66 6f 72 74 68 63 6f |with the| forthco|
|00000250| 6d 69 6e 67 20 66 61 74 | 20 76 65 72 73 69 6f 6e |ming fat| version|
|00000260| 20 6f 66 20 41 54 4d 20 | 28 33 2e 38 3f 29 2c 20 | of ATM |(3.8?), |
|00000270| 61 73 73 75 6d 69 6e 67 | 0d 41 64 6f 62 65 20 6d |assuming|.Adobe m|
|00000280| 61 69 6e 74 61 69 6e 73 | 20 74 68 65 20 41 50 49 |aintains| the API|
|00000290| 20 28 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 50 72 | (Applic|ation Pr|
|000002a0| 6f 67 72 61 6d 6d 69 6e | 67 20 49 6e 74 65 72 66 |ogrammin|g Interf|
|000002b0| 61 63 65 29 2e 20 48 6f | 77 65 76 65 72 2c 20 77 |ace). Ho|wever, w|
|000002c0| 65 20 77 69 6c 6c 20 62 | 65 0d 63 61 6c 6c 69 6e |e will b|e.callin|
|000002d0| 67 20 74 68 65 20 36 38 | 6b 20 63 6f 64 65 20 69 |g the 68|k code i|
|000002e0| 6e 20 41 54 4d 2e 0d 0d | 54 68 69 73 20 70 72 6f |n ATM...|This pro|
|000002f0| 67 72 61 6d 20 66 72 6f | 6d 20 41 64 6f 62 65 20 |gram fro|m Adobe |
|00000300| 28 56 65 72 73 69 6f 6e | 20 31 2e 30 31 29 20 69 |(Version| 1.01) i|
|00000310| 73 20 71 75 69 74 65 20 | 6f 6c 64 2c 20 62 75 74 |s quite |old, but|
|00000320| 20 69 74 73 20 41 50 49 | 20 69 73 20 73 74 69 6c | its API| is stil|
|00000330| 6c 0d 73 75 70 70 6f 72 | 74 65 64 20 62 79 20 63 |l.suppor|ted by c|
|00000340| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 73 20 |urrent v|ersions |
|00000350| 6f 66 20 41 54 4d 20 28 | 33 2e 36 2e 31 29 2e 20 |of ATM (|3.6.1). |
|00000360| 54 68 65 20 6e 65 77 65 | 72 20 76 65 72 73 69 6f |The newe|r versio|
|00000370| 6e 73 20 61 64 64 20 61 | 20 77 61 79 20 74 6f 20 |ns add a| way to |
|00000380| 72 65 74 75 72 6e 0d 61 | 6e 20 65 72 72 6f 72 20 |return.a|n error |
|00000390| 63 6f 64 65 20 74 6f 20 | 73 6f 6d 65 20 6f 66 20 |code to |some of |
|000003a0| 74 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 2c |these fu|nctions,|
|000003b0| 20 61 6e 64 20 61 64 64 | 20 61 20 77 68 6f 6c 65 | and add| a whole|
|000003c0| 20 73 6c 65 77 20 6f 66 | 20 66 75 6e 63 74 69 6f | slew of| functio|
|000003d0| 6e 73 0d 66 6f 72 20 63 | 6f 6e 74 72 6f 6c 6c 69 |ns.for c|ontrolli|
|000003e0| 6e 67 20 53 75 70 65 72 | 41 54 4d 27 73 20 4d 75 |ng Super|ATM's Mu|
|000003f0| 6c 74 69 70 6c 65 20 66 | 6f 6e 74 20 4d 61 73 74 |ltiple f|ont Mast|
|00000400| 65 72 20 63 61 70 61 62 | 69 6c 69 74 69 65 73 2e |er capab|ilities.|
|00000410| 0d 54 68 65 20 63 75 72 | 72 65 6e 74 20 76 65 72 |.The cur|rent ver|
|00000420| 73 69 6f 6e 20 28 33 2e | 30 29 20 6f 66 20 41 54 |sion (3.|0) of AT|
|00000430| 4d 49 6e 74 65 72 66 61 | 63 65 2e 63 20 63 61 6e |MInterfa|ce.c can|
|00000440| 20 62 65 20 64 6f 77 6e | 6c 6f 61 64 65 64 20 66 | be down|loaded f|
|00000450| 72 6f 6d 3a 0d 66 74 70 | 3a 2f 2f 66 74 70 2e 6d |rom:.ftp|://ftp.m|
|00000460| 76 2e 75 73 2e 61 64 6f | 62 65 2e 63 6f 6d 2f 70 |v.us.ado|be.com/p|
|00000470| 75 62 2f 61 64 6f 62 65 | 2f 50 72 6f 67 72 61 6d |ub/adobe|/Program|
|00000480| 73 2f 4d 61 63 41 54 4d | 33 30 68 65 61 64 65 72 |s/MacATM|30header|
|00000490| 73 2e 73 65 61 2e 68 71 | 78 0d 46 6f 72 20 63 75 |s.sea.hq|x.For cu|
|000004a0| 72 72 65 6e 74 20 64 6f | 63 75 6d 65 6e 74 61 74 |rrent do|cumentat|
|000004b0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 41 54 4d 20 4d |ion of t|he ATM M|
|000004c0| 61 63 69 6e 74 6f 73 68 | 20 43 20 69 6e 74 65 72 |acintosh| C inter|
|000004d0| 66 61 63 65 20 64 6f 77 | 6e 6c 6f 61 64 3a 0d 66 |face dow|nload:.f|
|000004e0| 74 70 3a 2f 2f 66 74 70 | 2e 6d 76 2e 75 73 2e 61 |tp://ftp|.mv.us.a|
|000004f0| 64 6f 62 65 2e 63 6f 6d | 2f 70 75 62 2f 61 64 6f |dobe.com|/pub/ado|
|00000500| 62 65 2f 44 65 76 65 6c | 6f 70 65 72 53 75 70 70 |be/Devel|operSupp|
|00000510| 6f 72 74 2f 54 65 63 68 | 4e 6f 74 65 73 2f 35 30 |ort/Tech|Notes/50|
|00000520| 37 32 2e 41 54 4d 5f 41 | 64 76 5f 4d 61 63 2e 70 |72.ATM_A|dv_Mac.p|
|00000530| 64 66 0d 0d 48 49 53 54 | 4f 52 59 3a 0d 39 33 3f |df..HIST|ORY:.93?|
|00000540| 09 64 67 70 20 49 20 64 | 6f 6e 27 74 20 72 65 6d |.dgp I d|on't rem|
|00000550| 65 6d 62 65 72 20 68 6f | 77 20 6f 72 20 77 68 65 |ember ho|w or whe|
|00000560| 6e 20 49 20 67 6f 74 20 | 74 68 69 73 2e 20 50 65 |n I got |this. Pe|
|00000570| 72 68 61 70 73 20 66 72 | 6f 6d 20 74 68 65 20 41 |rhaps fr|om the A|
|00000580| 64 6f 62 65 20 73 65 63 | 74 69 6f 6e 20 0d 6f 66 |dobe sec|tion .of|
|00000590| 20 43 6f 6d 70 75 73 65 | 72 76 65 2e 0d 39 2f 37 | Compuse|rve..9/7|
|000005a0| 2f 39 34 20 64 67 70 20 | 49 6e 74 72 6f 64 75 63 |/94 dgp |Introduc|
|000005b0| 65 64 20 55 6e 69 76 65 | 72 73 61 6c 20 70 72 6f |ed Unive|rsal pro|
|000005c0| 63 20 70 6f 69 6e 74 65 | 72 73 20 74 6f 20 61 6c |c pointe|rs to al|
|000005d0| 6c 6f 77 20 50 6f 77 65 | 72 50 43 20 63 6f 64 65 |low Powe|rPC code|
|000005e0| 20 74 6f 20 63 61 6c 6c | 0d 74 68 65 20 63 75 72 | to call|.the cur|
|000005f0| 72 65 6e 74 20 28 36 38 | 6b 29 20 76 65 72 73 69 |rent (68|k) versi|
|00000600| 6f 6e 20 6f 66 20 41 54 | 4d 20 28 33 2e 36 2e 31 |on of AT|M (3.6.1|
|00000610| 29 2e 20 0d 31 31 2f 31 | 35 2f 39 34 20 64 67 70 |). .11/1|5/94 dgp|
|00000620| 20 6d 61 64 65 20 63 6f | 6d 70 61 74 69 62 6c 65 | made co|mpatible|
|00000630| 20 77 69 74 68 20 70 72 | 65 2d 55 6e 69 76 65 72 | with pr|e-Univer|
|00000640| 73 61 6c 20 68 65 61 64 | 65 72 73 2e 0d 31 2f 35 |sal head|ers..1/5|
|00000650| 2f 39 35 20 64 67 70 20 | 6d 61 64 65 20 63 6f 6d |/95 dgp |made com|
|00000660| 70 61 74 69 62 6c 65 20 | 77 69 74 68 20 55 6e 69 |patible |with Uni|
|00000670| 76 65 72 73 61 6c 20 48 | 65 61 64 65 72 73 20 32 |versal H|eaders 2|
|00000680| 2e 0d 2a 2f 0d 23 69 6e | 63 6c 75 64 65 20 22 41 |..*/.#in|clude "A|
|00000690| 54 4d 49 6e 74 65 72 66 | 61 63 65 2e 68 22 0d 23 |TMInterf|ace.h".#|
|000006a0| 69 66 20 5f 5f 70 6f 77 | 65 72 63 0d 09 23 69 6e |if __pow|erc..#in|
|000006b0| 63 6c 75 64 65 20 3c 4d | 69 78 65 64 4d 6f 64 65 |clude <M|ixedMode|
|000006c0| 2e 68 3e 0d 09 65 6e 75 | 6d 7b 0d 09 09 75 70 70 |.h>..enu|m{...upp|
|000006d0| 46 6f 6e 74 41 76 61 69 | 6c 61 62 6c 65 3d 6b 54 |FontAvai|lable=kT|
|000006e0| 68 69 6e 6b 43 53 74 61 | 63 6b 42 61 73 65 64 0d |hinkCSta|ckBased.|
|000006f0| 09 09 09 7c 20 52 45 53 | 55 4c 54 5f 53 49 5a 45 |...| RES|ULT_SIZE|
|00000700| 28 6b 54 77 6f 42 79 74 | 65 43 6f 64 65 29 0d 09 |(kTwoByt|eCode)..|
|00000710| 09 09 7c 20 53 54 41 43 | 4b 5f 52 4f 55 54 49 4e |..| STAC|K_ROUTIN|
|00000720| 45 5f 50 41 52 41 4d 45 | 54 45 52 28 31 2c 6b 54 |E_PARAME|TER(1,kT|
|00000730| 77 6f 42 79 74 65 43 6f | 64 65 29 0d 09 09 09 7c |woByteCo|de)....||
|00000740| 20 53 54 41 43 4b 5f 52 | 4f 55 54 49 4e 45 5f 50 | STACK_R|OUTINE_P|
|00000750| 41 52 41 4d 45 54 45 52 | 28 32 2c 6b 54 77 6f 42 |ARAMETER|(2,kTwoB|
|00000760| 79 74 65 43 6f 64 65 29 | 0d 09 09 2c 75 70 70 53 |yteCode)|...,uppS|
|00000770| 68 6f 77 54 65 78 74 3d | 6b 54 68 69 6e 6b 43 53 |howText=|kThinkCS|
|00000780| 74 61 63 6b 42 61 73 65 | 64 0d 09 09 09 7c 20 52 |tackBase|d....| R|
|00000790| 45 53 55 4c 54 5f 53 49 | 5a 45 28 6b 54 77 6f 42 |ESULT_SI|ZE(kTwoB|
|000007a0| 79 74 65 43 6f 64 65 29 | 0d 09 09 09 7c 20 53 54 |yteCode)|....| ST|
|000007b0| 41 43 4b 5f 52 4f 55 54 | 49 4e 45 5f 50 41 52 41 |ACK_ROUT|INE_PARA|
|000007c0| 4d 45 54 45 52 28 31 2c | 6b 46 6f 75 72 42 79 74 |METER(1,|kFourByt|
|000007d0| 65 43 6f 64 65 29 0d 09 | 09 09 7c 20 53 54 41 43 |eCode)..|..| STAC|
|000007e0| 4b 5f 52 4f 55 54 49 4e | 45 5f 50 41 52 41 4d 45 |K_ROUTIN|E_PARAME|
|000007f0| 54 45 52 28 32 2c 6b 54 | 77 6f 42 79 74 65 43 6f |TER(2,kT|woByteCo|
|00000800| 64 65 29 0d 09 09 09 7c | 20 53 54 41 43 4b 5f 52 |de)....|| STACK_R|
|00000810| 4f 55 54 49 4e 45 5f 50 | 41 52 41 4d 45 54 45 52 |OUTINE_P|ARAMETER|
|00000820| 28 33 2c 6b 46 6f 75 72 | 42 79 74 65 43 6f 64 65 |(3,kFour|ByteCode|
|00000830| 29 0d 09 09 2c 75 70 70 | 58 79 73 68 6f 77 54 65 |)...,upp|XyshowTe|
|00000840| 78 74 3d 6b 54 68 69 6e | 6b 43 53 74 61 63 6b 42 |xt=kThin|kCStackB|
|00000850| 61 73 65 64 0d 09 09 09 | 7c 20 52 45 53 55 4c 54 |ased....|| RESULT|
|00000860| 5f 53 49 5a 45 28 6b 54 | 77 6f 42 79 74 65 43 6f |_SIZE(kT|woByteCo|
|00000870| 64 65 29 0d 09 09 09 7c | 20 53 54 41 43 4b 5f 52 |de)....|| STACK_R|
|00000880| 4f 55 54 49 4e 45 5f 50 | 41 52 41 4d 45 54 45 52 |OUTINE_P|ARAMETER|
|00000890| 28 31 2c 6b 46 6f 75 72 | 42 79 74 65 43 6f 64 65 |(1,kFour|ByteCode|
|000008a0| 29 0d 09 09 09 7c 20 53 | 54 41 43 4b 5f 52 4f 55 |)....| S|TACK_ROU|
|000008b0| 54 49 4e 45 5f 50 41 52 | 41 4d 45 54 45 52 28 32 |TINE_PAR|AMETER(2|
|000008c0| 2c 6b 54 77 6f 42 79 74 | 65 43 6f 64 65 29 0d 09 |,kTwoByt|eCode)..|
|000008d0| 09 09 7c 20 53 54 41 43 | 4b 5f 52 4f 55 54 49 4e |..| STAC|K_ROUTIN|
|000008e0| 45 5f 50 41 52 41 4d 45 | 54 45 52 28 33 2c 6b 46 |E_PARAME|TER(3,kF|
|000008f0| 6f 75 72 42 79 74 65 43 | 6f 64 65 29 0d 09 09 09 |ourByteC|ode)....|
|00000900| 7c 20 53 54 41 43 4b 5f | 52 4f 55 54 49 4e 45 5f || STACK_|ROUTINE_|
|00000910| 50 41 52 41 4d 45 54 45 | 52 28 34 2c 6b 46 6f 75 |PARAMETE|R(4,kFou|
|00000920| 72 42 79 74 65 43 6f 64 | 65 29 0d 09 7d 3b 0d 23 |rByteCod|e)..};.#|
|00000930| 65 6c 69 66 20 21 64 65 | 66 69 6e 65 64 28 4e 65 |elif !de|fined(Ne|
|00000940| 77 52 6f 75 74 69 6e 65 | 44 65 73 63 72 69 70 74 |wRoutine|Descript|
|00000950| 6f 72 29 0d 09 23 64 65 | 66 69 6e 65 20 4e 65 77 |or)..#de|fine New|
|00000960| 52 6f 75 74 69 6e 65 44 | 65 73 63 72 69 70 74 6f |RoutineD|escripto|
|00000970| 72 28 74 68 65 50 72 6f | 63 2c 20 74 68 65 50 72 |r(thePro|c, thePr|
|00000980| 6f 63 49 6e 66 6f 2c 20 | 74 68 65 49 53 41 29 20 |ocInfo, |theISA) |
|00000990| 28 74 68 65 50 72 6f 63 | 29 0d 23 65 6e 64 69 66 |(theProc|).#endif|
|000009a0| 0d 0d 0d 73 74 61 74 69 | 63 20 73 68 6f 72 74 20 |...stati|c short |
|000009b0| 6f 70 65 6e 3d 30 3b 0d | 73 74 61 74 69 63 20 41 |open=0;.|static A|
|000009c0| 54 4d 50 72 6f 63 73 33 | 20 70 72 6f 63 73 3b 0d |TMProcs3| procs;.|
|000009d0| 0d 73 68 6f 72 74 20 69 | 6e 69 74 41 54 4d 28 76 |.short i|nitATM(v|
|000009e0| 6f 69 64 29 0d 7b 0d 09 | 43 6e 74 72 6c 50 61 72 |oid).{..|CntrlPar|
|000009f0| 61 6d 20 63 3b 0d 09 0d | 09 69 66 28 6f 70 65 6e |am c;...|.if(open|
|00000a00| 29 72 65 74 75 72 6e 20 | 31 3b 09 2f 2f 20 61 64 |)return |1;.// ad|
|00000a10| 64 65 64 20 62 79 20 44 | 65 6e 69 73 20 50 65 6c |ded by D|enis Pel|
|00000a20| 6c 69 20 74 6f 20 73 6b | 69 70 20 6f 70 65 6e 69 |li to sk|ip openi|
|00000a30| 6e 67 20 69 66 20 61 6c | 72 65 61 64 79 20 6f 70 |ng if al|ready op|
|00000a40| 65 6e 0d 09 69 66 28 4f | 70 65 6e 44 72 69 76 65 |en..if(O|penDrive|
|00000a50| 72 28 22 5c 70 2e 41 54 | 4d 22 2c 26 63 2e 69 6f |r("\p.AT|M",&c.io|
|00000a60| 43 52 65 66 4e 75 6d 29 | 29 72 65 74 75 72 6e 20 |CRefNum)|)return |
|00000a70| 30 3b 0d 09 63 2e 63 73 | 43 6f 64 65 20 3d 20 41 |0;..c.cs|Code = A|
|00000a80| 54 4d 50 72 6f 63 73 53 | 74 61 74 75 73 43 6f 64 |TMProcsS|tatusCod|
|00000a90| 65 3b 0d 09 2a 28 41 54 | 4d 50 72 6f 63 73 33 20 |e;..*(AT|MProcs3 |
|00000aa0| 2a 2a 29 20 63 2e 63 73 | 50 61 72 61 6d 20 3d 20 |**) c.cs|Param = |
|00000ab0| 26 70 72 6f 63 73 3b 0d | 09 70 72 6f 63 73 2e 76 |&procs;.|.procs.v|
|00000ac0| 65 72 73 69 6f 6e 20 3d | 20 41 54 4d 50 72 6f 63 |ersion =| ATMProc|
|00000ad0| 73 33 56 65 72 73 69 6f | 6e 3b 0d 09 69 66 28 50 |s3Versio|n;..if(P|
|00000ae0| 42 53 74 61 74 75 73 28 | 28 50 61 72 6d 42 6c 6b |BStatus(|(ParmBlk|
|00000af0| 50 74 72 29 26 63 2c 30 | 29 29 72 65 74 75 72 6e |Ptr)&c,0|))return|
|00000b00| 20 30 3b 0d 09 6f 70 65 | 6e 3d 31 3b 0d 09 2f 2a | 0;..ope|n=1;../*|
|00000b10| 20 72 65 70 6c 61 63 65 | 20 65 61 63 68 20 50 72 | replace| each Pr|
|00000b20| 6f 63 50 74 72 20 62 79 | 20 61 20 55 6e 69 76 65 |ocPtr by| a Unive|
|00000b30| 72 73 61 6c 50 72 6f 63 | 50 74 72 2e 20 2a 2f 0d |rsalProc|Ptr. */.|
|00000b40| 09 70 72 6f 63 73 2e 66 | 6f 6e 74 41 76 61 69 6c |.procs.f|ontAvail|
|00000b50| 61 62 6c 65 3d 28 76 6f | 69 64 20 2a 29 4e 65 77 |able=(vo|id *)New|
|00000b60| 52 6f 75 74 69 6e 65 44 | 65 73 63 72 69 70 74 6f |RoutineD|escripto|
|00000b70| 72 28 28 50 72 6f 63 50 | 74 72 29 70 72 6f 63 73 |r((ProcP|tr)procs|
|00000b80| 2e 66 6f 6e 74 41 76 61 | 69 6c 61 62 6c 65 2c 75 |.fontAva|ilable,u|
|00000b90| 70 70 46 6f 6e 74 41 76 | 61 69 6c 61 62 6c 65 2c |ppFontAv|ailable,|
|00000ba0| 6b 4d 36 38 6b 49 53 41 | 29 3b 0d 09 70 72 6f 63 |kM68kISA|);..proc|
|00000bb0| 73 2e 73 68 6f 77 54 65 | 78 74 3d 28 76 6f 69 64 |s.showTe|xt=(void|
|00000bc0| 20 2a 29 4e 65 77 52 6f | 75 74 69 6e 65 44 65 73 | *)NewRo|utineDes|
|00000bd0| 63 72 69 70 74 6f 72 28 | 28 50 72 6f 63 50 74 72 |criptor(|(ProcPtr|
|00000be0| 29 70 72 6f 63 73 2e 73 | 68 6f 77 54 65 78 74 2c |)procs.s|howText,|
|00000bf0| 75 70 70 53 68 6f 77 54 | 65 78 74 2c 6b 4d 36 38 |uppShowT|ext,kM68|
|00000c00| 6b 49 53 41 29 3b 0d 09 | 70 72 6f 63 73 2e 78 79 |kISA);..|procs.xy|
|00000c10| 73 68 6f 77 54 65 78 74 | 3d 28 76 6f 69 64 20 2a |showText|=(void *|
|00000c20| 29 4e 65 77 52 6f 75 74 | 69 6e 65 44 65 73 63 72 |)NewRout|ineDescr|
|00000c30| 69 70 74 6f 72 28 28 50 | 72 6f 63 50 74 72 29 70 |iptor((P|rocPtr)p|
|00000c40| 72 6f 63 73 2e 78 79 73 | 68 6f 77 54 65 78 74 2c |rocs.xys|howText,|
|00000c50| 75 70 70 58 79 73 68 6f | 77 54 65 78 74 2c 6b 4d |uppXysho|wText,kM|
|00000c60| 36 38 6b 49 53 41 29 3b | 0d 09 72 65 74 75 72 6e |68kISA);|..return|
|00000c70| 20 31 3b 0d 7d 0d 0d 73 | 68 6f 72 74 20 66 6f 6e | 1;.}..s|hort fon|
|00000c80| 74 41 76 61 69 6c 61 62 | 6c 65 41 54 4d 28 73 68 |tAvailab|leATM(sh|
|00000c90| 6f 72 74 20 66 61 6d 69 | 6c 79 2c 73 68 6f 72 74 |ort fami|ly,short|
|00000ca0| 20 73 74 79 6c 65 29 0d | 7b 0d 09 23 69 66 20 21 | style).|{..#if !|
|00000cb0| 64 65 66 69 6e 65 64 28 | 5f 5f 70 6f 77 65 72 63 |defined(|__powerc|
|00000cc0| 29 0d 09 09 72 65 74 75 | 72 6e 20 6f 70 65 6e 20 |)...retu|rn open |
|00000cd0| 3f 20 28 2a 70 72 6f 63 | 73 2e 66 6f 6e 74 41 76 |? (*proc|s.fontAv|
|00000ce0| 61 69 6c 61 62 6c 65 29 | 28 66 61 6d 69 6c 79 2c |ailable)|(family,|
|00000cf0| 73 74 79 6c 65 29 20 3a | 20 30 3b 0d 09 23 65 6c |style) :| 0;..#el|
|00000d00| 73 65 0d 09 09 72 65 74 | 75 72 6e 20 6f 70 65 6e |se...ret|urn open|
|00000d10| 20 3f 20 43 61 6c 6c 55 | 6e 69 76 65 72 73 61 6c | ? CallU|niversal|
|00000d20| 50 72 6f 63 28 70 72 6f | 63 73 2e 66 6f 6e 74 41 |Proc(pro|cs.fontA|
|00000d30| 76 61 69 6c 61 62 6c 65 | 2c 75 70 70 46 6f 6e 74 |vailable|,uppFont|
|00000d40| 41 76 61 69 6c 61 62 6c | 65 0d 09 09 09 2c 66 61 |Availabl|e....,fa|
|00000d50| 6d 69 6c 79 2c 73 74 79 | 6c 65 29 20 3a 20 30 3b |mily,sty|le) : 0;|
|00000d60| 0d 09 23 65 6e 64 69 66 | 0d 7d 0d 0d 73 68 6f 72 |..#endif|.}..shor|
|00000d70| 74 20 73 68 6f 77 54 65 | 78 74 41 54 4d 28 63 68 |t showTe|xtATM(ch|
|00000d80| 61 72 20 2a 74 65 78 74 | 2c 73 68 6f 72 74 20 6c |ar *text|,short l|
|00000d90| 65 6e 67 74 68 2c 46 69 | 78 65 64 4d 61 74 72 69 |ength,Fi|xedMatri|
|00000da0| 78 20 2a 6d 61 74 72 69 | 78 29 0d 7b 0d 09 23 69 |x *matri|x).{..#i|
|00000db0| 66 20 21 64 65 66 69 6e | 65 64 28 5f 5f 70 6f 77 |f !defin|ed(__pow|
|00000dc0| 65 72 63 29 0d 09 09 72 | 65 74 75 72 6e 20 6f 70 |erc)...r|eturn op|
|00000dd0| 65 6e 20 3f 20 28 2a 70 | 72 6f 63 73 2e 73 68 6f |en ? (*p|rocs.sho|
|00000de0| 77 54 65 78 74 29 28 74 | 65 78 74 2c 6c 65 6e 67 |wText)(t|ext,leng|
|00000df0| 74 68 2c 6d 61 74 72 69 | 78 29 20 3a 20 6c 65 6e |th,matri|x) : len|
|00000e00| 67 74 68 3b 0d 09 23 65 | 6c 73 65 0d 09 09 72 65 |gth;..#e|lse...re|
|00000e10| 74 75 72 6e 20 6f 70 65 | 6e 20 3f 20 43 61 6c 6c |turn ope|n ? Call|
|00000e20| 55 6e 69 76 65 72 73 61 | 6c 50 72 6f 63 28 70 72 |Universa|lProc(pr|
|00000e30| 6f 63 73 2e 73 68 6f 77 | 54 65 78 74 2c 75 70 70 |ocs.show|Text,upp|
|00000e40| 53 68 6f 77 54 65 78 74 | 0d 09 09 09 2c 74 65 78 |ShowText|....,tex|
|00000e50| 74 2c 6c 65 6e 67 74 68 | 2c 6d 61 74 72 69 78 29 |t,length|,matrix)|
|00000e60| 20 3a 20 6c 65 6e 67 74 | 68 3b 0d 09 23 65 6e 64 | : lengt|h;..#end|
|00000e70| 69 66 0d 7d 0d 0d 73 68 | 6f 72 74 20 78 79 73 68 |if.}..sh|ort xysh|
|00000e80| 6f 77 54 65 78 74 41 54 | 4d 28 63 68 61 72 20 2a |owTextAT|M(char *|
|00000e90| 74 65 78 74 2c 73 68 6f | 72 74 20 6c 65 6e 67 74 |text,sho|rt lengt|
|00000ea0| 68 2c 46 69 78 65 64 4d | 61 74 72 69 78 20 2a 6d |h,FixedM|atrix *m|
|00000eb0| 61 74 72 69 78 2c 46 69 | 78 65 64 20 2a 64 69 73 |atrix,Fi|xed *dis|
|00000ec0| 70 6c 61 63 65 6d 65 6e | 74 73 29 0d 7b 0d 09 23 |placemen|ts).{..#|
|00000ed0| 69 66 20 21 64 65 66 69 | 6e 65 64 28 5f 5f 70 6f |if !defi|ned(__po|
|00000ee0| 77 65 72 63 29 0d 09 09 | 72 65 74 75 72 6e 20 6f |werc)...|return o|
|00000ef0| 70 65 6e 20 3f 20 28 2a | 70 72 6f 63 73 2e 78 79 |pen ? (*|procs.xy|
|00000f00| 73 68 6f 77 54 65 78 74 | 29 28 74 65 78 74 2c 6c |showText|)(text,l|
|00000f10| 65 6e 67 74 68 2c 6d 61 | 74 72 69 78 2c 64 69 73 |ength,ma|trix,dis|
|00000f20| 70 6c 61 63 65 6d 65 6e | 74 73 29 20 3a 20 6c 65 |placemen|ts) : le|
|00000f30| 6e 67 74 68 3b 0d 09 23 | 65 6c 73 65 0d 09 09 72 |ngth;..#|else...r|
|00000f40| 65 74 75 72 6e 20 6f 70 | 65 6e 20 3f 20 43 61 6c |eturn op|en ? Cal|
|00000f50| 6c 55 6e 69 76 65 72 73 | 61 6c 50 72 6f 63 28 70 |lUnivers|alProc(p|
|00000f60| 72 6f 63 73 2e 78 79 73 | 68 6f 77 54 65 78 74 2c |rocs.xys|howText,|
|00000f70| 75 70 70 58 79 73 68 6f | 77 54 65 78 74 0d 09 09 |uppXysho|wText...|
|00000f80| 09 2c 74 65 78 74 2c 6c | 65 6e 67 74 68 2c 6d 61 |.,text,l|ength,ma|
|00000f90| 74 72 69 78 2c 64 69 73 | 70 6c 61 63 65 6d 65 6e |trix,dis|placemen|
|00000fa0| 74 73 29 20 3a 20 6c 65 | 6e 67 74 68 3b 0d 09 23 |ts) : le|ngth;..#|
|00000fb0| 65 6e 64 69 66 0d 7d 0d | 00 00 00 00 00 00 00 00 |endif.}.|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 01 00 00 00 01 ae | 00 00 00 ae 00 00 00 52 |........|.......R|
|00001010| 4c 48 56 41 0b 57 6f 72 | 64 20 54 65 6d 70 20 33 |LHVA.Wor|d Temp 3|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 0e 41 54 4d 49 6e 74 65 | 72 66 61 63 65 2e 63 41 |.ATMInte|rface.cA|
|00001040| 02 00 00 00 50 61 72 74 | 53 49 54 21 00 00 00 00 |....Part|SIT!....|
|00001050| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 ab bf ee 57 00 00 | 00 00 00 00 02 00 03 d2 |.....W..|........|
|00001080| 00 02 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 4c 48 56 41 12 43 |........|..LHVA.C|
|000010a0| 6f 70 79 20 6f 66 20 54 | 46 74 6f 50 4c 2e 74 65 |opy of T|FtoPL.te|
|000010b0| 78 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 00 |x.......|........|
|000010c0| 00 00 54 45 58 54 2a 54 | 45 58 01 00 00 9b 02 58 |..TEXT*T|EX.....X|
|000010d0| 00 00 00 00 0a 5d 00 00 | 00 01 20 f5 00 01 26 00 |.....]..|.. ...&.|
|000010e0| 00 00 00 01 d6 16 00 01 | da 00 a1 46 8c e9 a1 5f |........|...F..._|
|000010f0| 80 8e 00 00 00 00 1d 6a | 00 00 00 00 00 00 00 00 |.......j|........|
|00001100| 00 00 00 56 00 04 00 00 | 0e 56 00 00 0e 66 11 66 |...V....|.V...f.f|
|00001110| 6f 6e 74 41 76 61 69 6c | 61 62 6c 65 41 54 4d 00 |ontAvail|ableATM.|
|00001120| 00 00 0c b8 00 00 0c bf | 07 69 6e 69 74 41 54 4d |........|.initATM|
|00001130| 00 00 0e c5 00 00 0e d0 | 0b 73 68 6f 77 54 65 78 |........|.showTex|
|00001140| 74 41 54 4d 00 00 0f 48 | 00 00 0f 55 0d 78 79 73 |tATM...H|...U.xys|
|00001150| 68 6f 77 54 65 78 74 41 | 54 4d 00 00 00 48 00 09 |howTextA|TM...H..|
|00001160| 4d 6f 6e 61 63 6f 00 00 | 00 00 00 00 00 00 00 00 |Monaco..|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 03 00 04 00 3d 00 03 | 01 a0 02 7d 00 3d 00 03 |.....=..|...}.=..|
|00001190| 01 a0 02 7d ab 31 25 ce | 00 00 06 01 00 00 06 01 |...}.1%.|........|
|000011a0| 00 00 05 94 00 00 00 00 | 00 04 00 01 00 01 00 00 |........|........|
|000011b0| 01 00 00 00 01 ae 00 00 | 00 ae 00 00 00 52 00 b8 |........|.....R..|
|000011c0| 5c 88 3f 88 00 00 00 1c | 00 52 00 01 4d 50 53 52 |\.?.....|.R..MPSR|
|000011d0| 00 01 00 12 4d 57 42 42 | 00 00 00 2a 03 ef ff ff |....MWBB|...*....|
|000011e0| 00 00 00 00 00 00 00 00 | 03 ed ff ff 00 00 00 5a |........|.......Z|
|000011f0| 00 00 00 00 03 f0 ff ff | 00 00 00 a6 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+