home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_2.iso
/
files
/
785b.lha
/
M2A_v1.0
/
m2a.english-doc
< prev
next >
Wrap
Text File
|
1992-06-10
|
3KB
|
80 lines
m2a version 1.0
m2a is not a demo but a useful tool. m2a means :
Mac to Amiga
m2a translates extended ascii files from Mac to Amiga and vice-versa.
syntax
¯¯¯¯¯¯
m2a [-i] [-b#] <source> <target>
<source> is the file to translate.
<destination> would be the translated file.
The i option allows the translation from Amiga to Macintosh. The
default is the opposite (hence the name "m2a").
The b option let you precise the buffer size in a multiple of 488 bytes
(because that the useful size of an OFS floppy disk block). Default buffer
is 2^4 = 16 block tall (that would be -b4). Minimum is 488 bytes (-b0) and
maximum is 249856 bytes = 244 Kb (that would be -b9).
ease of use
¯¯¯¯¯¯¯¯¯¯¯
- the options are not case sensitive and might be set anywhere on the
command line. But they cannot be tied (eg -ib7 or -b8i are not allowed).
- But tou can repeat them if you please. The last entry is the winner.
en arrière effectuer une correction.
- Filenames might be set between double quotes (not quotes). Double
quotes are _then_ considered separators just as spaces however. You could very
well type :
m2a "Mac Floppy Disk:my Thesis"-b9"df1:hot stuff"
But if qdouble quotes are not at the beginning of an argument, they are not
at all separator. Hence if you type :
m2a well"that""""was"""a good""thing"""indeed"
you mean that you want to translate file well"that""""was""a to the file
good""thing"""indeed"
- every error is reported.
technical matter
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
The translation is about the 128 extended chars. In the sense Mac to
Amiga, the reference is the Macinstosh Times 18 font. The codes which have
no equivalents in the Amiga are translated by characters from $80 to $9f so
that you get them back when you translate the text backwards. Yet, the Mac
extended chars coding for standard chars are translated to the common chars.
In the sense Amiga to Mac, the extended Amiga chars without equivalent
on Macintosh have been translated to char $ca (extended space on Mac. Since
every byte has a drawing on Mac, I didn't see another way of proceeding. But
if you do, just feel free to alter the source code !
distribution
¯¯¯¯¯¯¯¯¯¯¯¯
That's all ! Well, nearly : m2a is a public domain software, totally
freeware. Use it as you wish, but AT YOUR OWN RISK ! Just don't make money
with it (how would you ?). I woould not be held responsible for any loss,
consequence, disease, death, war and any other thing which would be the
consequence of the use (or misuse or even no-use) of m2a. And this is for
the executable, the souce code and the doc files together (or separatly).
Only the whole package thereof described can be distributed. Any lawyer for
saying I miss a point ? The hell with him :-) !!!
He who reads me so far deserves all my gratitude !
the author : Jean-Pierre Rivière
13, rue maison Dieu
75014 PARIS
FRANCE
email: jpr@lri.lri.fr (sure up to 31/08/92)
P.S. : m2a was compiled with a68k.