home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / xxcmd.sit / README < prev    next >
MacBinary  |  1990-06-29  |  2.1 KB  |  [TEXT/MPS ]

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: README

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Jun 29 11:00:08 1990, modified Fri Jun 29 11:00:08 1990, creator 'MPS ', type ASCII, 1641 bytes "README" , at 0x6e9 382 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 52 45 41 44 4d 45 | 00 00 00 00 00 00 00 00 |..README|........|
|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 06 69 00 | 00 01 7e a2 b1 1d 78 a2 |......i.|..~...x.|
|00000060| b1 1d 78 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 81 81 ec e5 00 00 |........|........|
|00000080| 58 58 43 4d 44 20 28 65 | 58 74 65 72 6e 61 6c 20 |XXCMD (e|Xternal |
|00000090| 58 43 4d 44 29 20 69 73 | 20 61 6e 20 58 43 4d 44 |XCMD) is| an XCMD|
|000000a0| 20 77 68 69 63 68 20 68 | 65 6c 70 73 20 74 6f 20 | which h|elps to |
|000000b0| 6f 76 65 72 63 6f 6d 65 | 20 74 68 65 20 6c 69 6d |overcome| the lim|
|000000c0| 69 74 61 74 69 6f 6e 73 | 0d 6f 66 20 6e 6f 72 6d |itations|.of norm|
|000000d0| 61 6c 20 58 43 4d 44 73 | 2e 20 20 4e 6f 72 6d 61 |al XCMDs|. Norma|
|000000e0| 6c 20 58 43 4d 44 73 20 | 63 61 6e 6e 6f 74 20 68 |l XCMDs |cannot h|
|000000f0| 61 76 65 20 67 6c 6f 62 | 61 6c 20 64 61 74 61 20 |ave glob|al data |
|00000100| 61 6e 64 20 6d 75 73 74 | 20 62 65 20 6c 65 73 73 |and must| be less|
|00000110| 0d 74 68 61 6e 20 33 32 | 4b 20 62 79 74 65 73 20 |.than 32|K bytes |
|00000120| 6c 6f 6e 67 2e 20 20 58 | 58 43 4d 44 20 67 65 74 |long. X|XCMD get|
|00000130| 73 20 61 72 6f 75 6e 64 | 20 74 68 65 73 65 20 6c |s around| these l|
|00000140| 69 6d 69 74 61 74 69 6f | 6e 73 20 62 79 20 61 63 |imitatio|ns by ac|
|00000150| 74 69 6e 67 20 61 73 0d | 61 6e 20 69 6e 74 65 72 |ting as.|an inter|
|00000160| 66 61 63 65 20 62 65 74 | 77 65 65 6e 20 48 79 70 |face bet|ween Hyp|
|00000170| 65 72 43 61 72 64 20 61 | 6e 64 20 73 70 65 63 69 |erCard a|nd speci|
|00000180| 61 6c 6c 79 20 77 72 69 | 74 74 65 6e 20 61 70 70 |ally wri|tten app|
|00000190| 6c 69 63 61 74 69 6f 6e | 73 2e 20 0d 49 6e 73 74 |lication|s. .Inst|
|000001a0| 65 61 64 20 6f 66 20 62 | 65 69 6e 67 20 6c 61 75 |ead of b|eing lau|
|000001b0| 6e 63 68 65 64 20 62 79 | 20 74 68 65 20 4d 61 63 |nched by| the Mac|
|000001c0| 20 4f 53 2c 20 74 68 65 | 20 6e 65 77 20 58 58 43 | OS, the| new XXC|
|000001d0| 4d 44 73 20 61 72 65 20 | 6c 6f 61 64 65 64 20 69 |MDs are |loaded i|
|000001e0| 6e 74 6f 0d 48 79 70 65 | 72 43 61 72 64 73 20 65 |nto.Hype|rCards e|
|000001f0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 61 6e 64 20 67 |nvironme|nt and g|
|00000200| 69 76 65 6e 20 74 68 65 | 69 72 20 6f 77 6e 20 22 |iven the|ir own "|
|00000210| 61 35 20 77 6f 72 6c 64 | 22 2e 0d 0d 54 68 65 20 |a5 world|"...The |
|00000220| 66 69 6c 65 20 78 78 63 | 6d 64 5f 73 68 65 6c 6c |file xxc|md_shell|
|00000230| 2e 63 20 74 61 6b 65 73 | 20 63 61 72 65 20 6f 66 |.c takes| care of|
|00000240| 20 6d 6f 73 74 20 6f 66 | 20 74 68 65 20 64 69 66 | most of| the dif|
|00000250| 66 69 63 75 6c 74 69 65 | 73 20 6f 66 0d 69 6e 74 |ficultie|s of.int|
|00000260| 65 72 66 61 63 69 6e 67 | 20 77 69 74 68 20 48 79 |erfacing| with Hy|
|00000270| 70 65 72 43 61 72 64 2e | 20 20 4d 6f 73 74 20 61 |perCard.| Most a|
|00000280| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 77 69 6c 6c |pplicati|ons will|
|00000290| 20 6a 75 73 74 20 68 61 | 76 65 20 74 6f 20 77 72 | just ha|ve to wr|
|000002a0| 69 74 65 0d 74 68 65 20 | 74 77 6f 20 72 6f 75 74 |ite.the |two rout|
|000002b0| 69 6e 65 73 20 78 78 63 | 6d 64 5f 69 6e 69 74 28 |ines xxc|md_init(|
|000002c0| 29 20 61 6e 64 20 78 78 | 63 6d 64 5f 64 69 73 70 |) and xx|cmd_disp|
|000002d0| 61 74 63 68 28 29 20 61 | 6e 64 20 74 68 65 6e 20 |atch() a|nd then |
|000002e0| 6c 69 6e 6b 20 77 69 74 | 68 0d 78 78 63 6d 64 5f |link wit|h.xxcmd_|
|000002f0| 73 68 65 6c 6c 2e 63 2e | 6f 2e 20 20 78 78 63 6d |shell.c.|o. xxcm|
|00000300| 64 5f 69 6e 69 74 28 29 | 20 69 73 20 63 61 6c 6c |d_init()| is call|
|00000310| 65 64 20 6f 6e 6c 79 20 | 6f 6e 63 65 20 77 68 65 |ed only |once whe|
|00000320| 6e 20 74 68 65 20 58 58 | 43 4d 44 20 69 73 0d 66 |n the XX|CMD is.f|
|00000330| 69 72 73 74 20 6c 6f 61 | 64 65 64 2e 20 20 78 78 |irst loa|ded. xx|
|00000340| 63 6d 64 5f 64 69 73 70 | 61 74 63 68 28 29 20 69 |cmd_disp|atch() i|
|00000350| 73 20 74 68 65 20 72 6f | 75 74 69 6e 65 20 74 68 |s the ro|utine th|
|00000360| 61 74 20 73 68 6f 75 6c | 64 20 64 6f 20 74 68 65 |at shoul|d do the|
|00000370| 20 72 65 61 6c 0d 70 72 | 6f 63 65 73 73 69 6e 67 | real.pr|ocessing|
|00000380| 2e 0d 0d 54 68 65 72 65 | 20 69 73 20 6e 6f 20 64 |...There| is no d|
|00000390| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 61 74 20 |ocumenta|tion at |
|000003a0| 74 68 69 73 20 70 6f 69 | 6e 74 2e 20 20 54 68 65 |this poi|nt. The|
|000003b0| 20 62 65 73 74 20 73 6f | 75 72 63 65 20 6f 66 20 | best so|urce of |
|000003c0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0d 69 73 20 74 |informat|ion.is t|
|000003d0| 68 65 20 73 6f 75 72 63 | 65 20 63 6f 64 65 2e 20 |he sourc|e code. |
|000003e0| 20 50 6c 65 61 73 65 20 | 74 72 79 20 74 6f 20 72 | Please |try to r|
|000003f0| 65 61 64 20 69 74 2e 20 | 20 49 66 20 79 6f 75 20 |ead it. | If you |
|00000400| 68 61 76 65 20 71 75 65 | 73 74 69 6f 6e 73 20 79 |have que|stions y|
|00000410| 6f 75 0d 63 61 6e 20 73 | 65 6e 64 20 6d 65 20 65 |ou.can s|end me e|
|00000420| 2d 6d 61 69 6c 2e 20 20 | 41 73 20 49 20 72 65 73 |-mail. |As I res|
|00000430| 70 6f 6e 64 20 74 6f 20 | 6d 6f 72 65 20 61 6e 64 |pond to |more and|
|00000440| 20 6d 6f 72 65 20 71 75 | 65 73 74 69 6f 6e 73 20 | more qu|estions |
|00000450| 49 20 77 69 6c 6c 20 74 | 72 79 0d 74 6f 20 63 6f |I will t|ry.to co|
|00000460| 6c 6c 65 63 74 20 74 68 | 65 20 61 6e 73 77 65 72 |llect th|e answer|
|00000470| 73 20 69 6e 74 6f 20 61 | 20 6d 6f 72 65 20 73 74 |s into a| more st|
|00000480| 72 75 63 74 75 72 65 64 | 20 64 6f 63 75 6d 65 6e |ructured| documen|
|00000490| 74 2e 20 20 54 68 69 73 | 20 63 6f 64 65 20 69 73 |t. This| code is|
|000004a0| 0d 6e 6f 74 20 79 65 74 | 20 6d 65 61 6e 74 20 74 |.not yet| meant t|
|000004b0| 6f 20 62 65 20 75 73 65 | 64 20 62 79 20 74 68 65 |o be use|d by the|
|000004c0| 20 6d 61 73 73 65 73 2c | 20 6f 6e 6c 79 20 74 68 | masses,| only th|
|000004d0| 65 20 66 65 77 20 77 68 | 6f 20 61 62 73 6f 6c 75 |e few wh|o absolu|
|000004e0| 74 65 6c 79 20 6e 65 65 | 64 0d 74 6f 20 67 65 74 |tely nee|d.to get|
|000004f0| 20 61 72 6f 75 6e 64 20 | 6f 6e 65 20 6f 66 20 48 | around |one of H|
|00000500| 79 70 65 72 43 61 72 64 | 27 73 20 6c 69 6d 69 74 |yperCard|'s limit|
|00000510| 61 74 69 6f 6e 73 2e 0d | 0d 54 68 65 20 66 69 72 |ations..|.The fir|
|00000520| 73 74 20 74 68 69 6e 67 | 20 74 6f 20 72 65 6d 65 |st thing| to reme|
|00000530| 6d 62 65 72 20 69 73 20 | 74 68 61 74 20 61 35 20 |mber is |that a5 |
|00000540| 21 3d 20 43 75 72 72 65 | 6e 74 41 35 2c 20 73 6f |!= Curre|ntA5, so|
|00000550| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 0d 64 | routine|s that.d|
|00000560| 65 70 65 6e 64 20 6f 6e | 20 61 35 20 28 6d 6f 73 |epend on| a5 (mos|
|00000570| 74 6c 79 20 51 75 69 63 | 6b 44 72 61 77 20 61 6e |tly Quic|kDraw an|
|00000580| 64 20 48 79 70 65 72 43 | 61 72 64 20 43 61 6c 6c |d HyperC|ard Call|
|00000590| 62 61 63 6b 73 29 20 77 | 69 6c 6c 20 6e 6f 74 20 |backs) w|ill not |
|000005a0| 77 6f 72 6b 0d 28 75 6e | 6c 65 73 73 20 79 6f 75 |work.(un|less you|
|000005b0| 20 73 65 74 75 70 20 61 | 35 20 63 6f 72 72 65 63 | setup a|5 correc|
|000005c0| 74 6c 79 29 2e 20 20 78 | 78 63 6d 64 5f 73 68 65 |tly). x|xcmd_she|
|000005d0| 6c 6c 2e 63 20 74 61 6b | 65 73 20 63 61 72 65 20 |ll.c tak|es care |
|000005e0| 6f 66 20 73 65 74 74 69 | 6e 67 0d 74 68 65 20 63 |of setti|ng.the c|
|000005f0| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|00000600| 20 74 6f 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | to the |director|
|00000610| 79 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |y of the| current|
|00000620| 20 73 74 61 63 6b 2c 20 | 73 6f 20 73 74 64 69 6f | stack, |so stdio|
|00000630| 0d 77 69 6c 6c 20 72 65 | 61 64 20 61 6e 64 20 77 |.will re|ad and w|
|00000640| 72 69 74 65 20 66 69 6c | 65 73 20 66 72 6f 6d 2f |rite fil|es from/|
|00000650| 74 6f 20 74 68 69 73 20 | 64 69 72 65 63 74 6f 72 |to this |director|
|00000660| 79 2e 0d 0d 0d 42 72 61 | 64 20 50 69 63 6b 65 72 |y....Bra|d Picker|
|00000670| 69 6e 67 0d 62 72 61 64 | 40 67 6f 62 69 2e 6a 70 |ing.brad|@gobi.jp|
|00000680| 6c 2e 6e 61 73 61 2e 67 | 6f 76 0d 0d 72 65 71 75 |l.nasa.g|ov..requ|
|00000690| 69 72 65 73 3a 0d 3e 20 | 48 79 70 65 72 43 61 72 |ires:.> |HyperCar|
|000006a0| 64 20 31 2e 31 0d 3e 3d | 20 65 6e 6f 75 67 68 20 |d 1.1.>=| enough |
|000006b0| 6d 65 6d 6f 72 79 20 74 | 6f 20 68 6f 6c 64 20 48 |memory t|o hold H|
|000006c0| 79 70 65 72 43 61 72 64 | 20 2b 20 61 6e 79 20 58 |yperCard| + any X|
|000006d0| 58 43 4d 44 20 79 6f 75 | 20 63 61 6c 6c 2e 0d 3e |XCMD you| call..>|
|000006e0| 3d 20 4d 50 57 20 33 2e | 30 00 00 00 00 00 00 00 |= MPW 3.|0.......|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000710| 48 e7 ff f0 42 47 41 fa | 01 0e 22 18 6f 00 00 c0 |H...BGA.|..".o...|
|00000720| 2a 18 66 04 2a 0d 9a 81 | 26 45 48 e7 e0 c0 2f 0b |*.f.*...|&EH.../.|
|00000730| 06 52 45 41 44 4d 45 2d | 02 00 00 00 54 45 58 54 |.README-|....TEXT|
|00000740| 4d 50 53 20 01 00 00 00 | 00 80 00 00 00 00 15 b3 |MPS ....|........|
|00000750| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 00 00 80 |..TEXTMP|S ......|
|00000760| 00 00 5d 02 00 00 00 00 | 00 00 00 00 00 00 00 00 |..].....|........|
|00000770| 00 00 a2 8b db 80 00 00 | 06 69 00 00 01 7e 7c 02 |........|.i...~|.|
|00000780| 4e ba 00 62 08 85 00 0f | 67 04 e1 85 1a 18 43 f3 |N..b....|g.....C.|
|00000790| 58 00 24 49 08 04 00 05 | 67 1a 2c 01 4e ba 00 46 |X.$I....|g.,.N..F|
|000007a0| 0c 41 00 02 67 06 6d 08 | db 92 60 24 db 52 60 20 |.A..g.m.|..`$.R` |
|000007b0| db 12 60 1c 0c 81 00 00 | 00 32 65 10 2f 00 20 01 |..`.....|.2e./. .|
|000007c0| a0 2e 20 1f d1 c1 d3 c1 | 60 06 12 d8 51 c9 ff fc |.. .....|`...Q...|
|000007d0| 08 04 00 06 67 04 26 0d | d7 92 51 c8 ff 66 4c df |....g.&.|..Q..fL.|
|000007e0| 0f ff 4e 75 7a 00 60 04 | e1 8d 1a 18 51 ce ff fa |..Nuz.`.|....Q...|
|000007f0| 4e 75 74 00 20 5f 20 1f | 22 5f 67 28 32 09 02 41 |Nut. _ .|"_g(2..A|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 6c |........|.......l|
|00000820| 00 00 00 00 00 00 00 06 | 00 04 00 41 00 16 01 c4 |........|...A....|
|00000830| 01 e6 00 41 00 16 01 c4 | 01 e6 a2 b0 e5 38 00 00 |...A....|.....8..|
|00000840| 06 69 00 00 06 69 00 00 | 00 91 01 00 00 00 01 00 |.i...i..|........|
|00000850| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 35 61 d4 |...L...L|...2.5a.|
|00000860| 04 c8 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000870| 00 0a 03 ed ff ff 00 00 | 00 00 00 36 9c 38 00 00 |........|...6.8..|
+--------+-------------------------+-------------------------+--------+--------+