[hatari-devel] Wotanoid problem : final fix before commit ?
Laurent Sallafranque
laurent.sallafranque at free.fr
Sun Jan 24 20:44:45 CET 2010
But in Wotanoid, the instruction is :
move.l #-1,D0
Regards
Laurent
George Nakos a écrit :
> Hello Eero,
>
> Sunday, January 24, 2010, 8:46:27 PM, you wrote:
>
>
>> Hi,
>>
>
>
>> On Sunday 24 January 2010, George Nakos wrote:
>>
>>>>>>> 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)
>>>
>
>
>> George, regarding Thomas' comments and you saying that your memory
>> on this is a bit hazy...
>>
>
>
>> Could you verify that the value you've used is really "$ffffffff" and not
>> just the largest possible _signed_ value?
>>
>
> Just wrote a small program to test this, it works with $7fffffff, aka
> biggest signed vaule.
>
>
>
>
More information about the hatari-devel
mailing list