[hatari-devel] Wotanoid problem : final fix before commit ?

George Nakos ggn at hol.gr
Sun Jan 24 13:04:03 CET 2010


Hello Eero,

Sunday, January 24, 2010, 1:42:02 PM, you wrote:

> Hi,

> On Sunday 24 January 2010, Laurent Sallafranque wrote:
>> > George Nakos a écrit :
>> >>> I've looked at the compendium.
>> >>> I haven't found anything about this -1 length call.
>> >>
>> >> My  memory  is  a bit hazy, but I think this just tells gemdos to read
>> >> $ffffffff  bytes  from the file. Of course gemdos will read as much as
>> >> the  file  size  and then return an error in d0.l. It's the lazy man's
>> >> approach  to  doing  things  the  Right Way(tm) (i.e. getting the file
>> >> length  -or knowing it beforehand- and calling fread() with the proper
>> >> amount of bytes)

> George, have you actually used this on actual HW so that it has worked?
> With which TOS version(s) it works like that?

Yup,  on  a STE with TOS 1.62UK and STFM with TOS 1.02UK. Also, that's
we use that in ULSv3 for a couple of years now and it works in all our
test equipment (MSTEs, Falcons, a TT, etc)



-- 
Best regards,
 George                            mailto:ggn at hol.gr




More information about the hatari-devel mailing list