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

Re: [MiNT] xbios 95




2013/3/3 Roger Burrows <rfburrows@ymail.com>
On 3 Mar 2013 at 14:12, Eero Tamminen wrote:
>
> What about:
>       95      0x5F    VcheckMode

This is present in Falcon TOS, but is not officially documented.  IMO it's like
branching to an address in Falcon ROMs, which you know will do what you want.
OK if you want to, but don't come complaining to me if it doesn't work on a
newer system ...

It's actually a useful, don't know why Atari decided not to document it. It filters modecodes based on the current monitor setup. The VDI uses it prior to calling VsetMode(). It is not present in MagiC however. I think I've seen some user app which calls VcheckMode() (also called Validmode()), so it's probably a good idea to implement it.

..or add a bogus implementation such as:

int16_t VcheckMode(int16_t mode)
{
   return mode;
}

VsetFlags() and VsetOverlay() are useless though, imo...

-- PeP