[hatari-devel] Wotanoid problem : final fix before commit ?
George Nakos
ggn at hol.gr
Sun Jan 24 21:20:45 CET 2010
Hello Laurent,
Sunday, January 24, 2010, 10:10:38 PM, you wrote:
> Doesn't $FFFFFFFF is filtered in $7FFFFFFF somewhere in gemdos code
> (with a AND or something like that ) ?
I tried $ffffffff on my ste and it didn't read the file at all,
whereas $7fffffff worked just fine. Didn't test on my falcon though...
> Laurent
> Laurent Sallafranque a écrit :
>> 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.
>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> hatari-devel mailing list
>> hatari-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/hatari-devel
>>
>>
>>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
--
Best regards,
George mailto:ggn at hol.gr
More information about the hatari-devel
mailing list