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

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



Howdy,

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..

-- PeP