[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Conversion



In article
<labelas-3101990311590001@160.ojus-13-14rs.fl.dial-access.att.net>,
labelas@hotmail.com (Labelas Enoreth) wrote:

>In article <36B3501B.621B5EA9@SPAMbGONE.ix.netcom.com>,
>wraustin@SPAMbGONE.ix.netcom.com wrote:
>
>> Yet another helpful item of information would be to know what the Macintosh
>> filetypes are for the various ProDOS types.  For example, the PRODOS and
>> BASIC.SYSTEM files are type PSYS and creator pdos.
>> 
>> I know some binary files are BINA/pdos and text files are, of course,
>TEXT/pdos,
>> but what about EXE files or BAS files, etc.?  That could help.
>Strangely, a lot of files seem to have a type of 'p<three random hi-ascii
>characters>' I haven't been able to find a pattern, for some of it, and
>some of them don't seem to tie into PDOS types.

How that works is the <three ramdom hi-ascii characters> aren't necessarily
hi-ascii.

It's the bytes that represent the ProDOS filetypes.

For example, with a ShrinkIt archive...It's filetype is:
Main:     $E0
Auxtype:  $8002

So, on the HFS disk, the filetype would end up being
'p$E0$80$02'.

The HFS FST does this on the GS end and the Appleshare FST knows how
to translate what the Mac sends for filetypes.

I'm not sure how random-access text files are stored as a filetype or
binary files with an adress other than $0000.  Never have experimented
on that.

Greg B.
-- 
Note:  To e-mail me, replace nobody with gjb
I don't get junk e-mail and intend to keep it that way.
If you want to send me spam, go jump off a cliff and make
the world a nicer place.