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

Re: [MiNT] Mintlib: Bindings for EsetShift() and VsetMask()



On Sun, Dec 13, 2009 at 9:58 AM, Roger Burrows <rfburrows@ymail.com> wrote:
> Hi Peter,
> On 12 Dec 2009 at 2:49, Peter Persson wrote:
>>
>> The current bindings for VsetMask() (falcon.h) and EgetShift() (osbind.h)
>> looks as follows:
>>
>> #define VsetMask(andmask,ormask)                                      \
>>       (short)trap_14_www((short)150,(short)(andmask),(short)(ormask))
>>
>> #define         EsetShift(mode)                                               \
>>       (void)trap_14_ww((short)(80),(short)mode)
>>
>>
>> According to the Atari Compendium and Tos.hyp, it should be as follows:
>>
>> #define VsetMask(andmask,ormask)                                      \
>>       (short)trap_14_www((short)150,(long)(andmask),(long)(ormask),(short)(overlay)
>> )
>>
>> #define         EsetShift(mode)                                               \
>>       (short)trap_14_ww((short)(80),(short)mode)
>>
>> I don't know which procedures are needed to get this into the CVS, but I guess
>> it could be a good idea to fix it..
>>
>
> Hmmm, according to my copy of the Compendium, the binding for VsetMask is:
>        void VsetMask(long ormask,long andmask,short overlay);
>
> The Compendium and the TT TOS release notes agree with your revision, i.e.:
>        short EsetShift(short mode);
>
> Regards,
> Roger
> P.S. Nice to see all this activity these days!
>
Thanks to Vincent documenting the CVS commit procedure..

Yes the activity is good, I am looking forward to the results of it..

Thanks you for your notes, these are essential for ironing out
potential and historical issues..

Cheers

Paul