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

[MiNT] Correct XBios function ID for VsetMask?



Hi,

What's the correct XBios function numbers for VsetMask?

Compedium says:
----
146 (0x92)	VsetMask()
----

AHCC header says:
----
$ grep -i vsetmask tos.h
void    XBIOS( 92)       VsetMask( int ormask, int andmask, int overlay );
----

VBCC header says:
----
$ grep -A7 -i vsetmask tos.h
__regsused("d0/d1/a0/a1") VOID 
VsetMask(__reg("d0")LONG,__reg("d1")LONG,__reg("d2")WORD) =
...
  "\tmove.w\t#92,-(sp)\n"
  "\ttrap\t#14\n"
----

MiNTlib header says:
----
$ grep -i vsetmask falcon.h
#define VsetMask(andmask,ormask)                                     \
     (short)trap_14_www((short)150,(short)(andmask),(short)(ormask))
----

TOSHYP:
	http://toshyp.atari.org/en/004014.html
says:
----
92	0x5C	VsetVars	Falcon-TOS
150	0x96	VsetMask	TOS
----

WTF?


	- Eero