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

Re: GS/OS Hires/Double-Hires File Recognition Problem



In article <DK2HqA.787@actrix.gen.nz>, dempson@atlantis.actrix.gen.nz
(David Empson) writes:

> ......
>In summary: if an application is not recognising a picture because the
>file size is "wrong", then it is the fault of the application, not the
>system software.
>-- 

    One might expect this to be the case. Nevertheless, I was able to get
Platinum Paint to accept $1FF8 size hires files by patching Tool 23 under
GS/OS 5.04. (Unfortunately, System 6.0.1's Tool 23 is quite a bit
different.)  It seems clear that Platinum Paint is accessing some standard
file I/O routine which has to do with Tool 23.

    Regarding file identification, there is no way to guarantee that any
file is a hires pic. Using Length = $2000 and filetype = BIN is a fair
try. Alas, since most hires pics are length $1FF8, it is an inadequate
try. The routine needs to be fixed to accept $1FF8 - $2000 length files.